This option was deprecated in Ussuri [1] as nova no longer provided any
schedulers aside from the filter scheduler and the existence of
third-party schedulers was very unlikely. Stop configuring this and
simply use the default.
[1] https://review.opendev.org/#/c/707225/
Change-Id: Iabdd1d00e00ee269334f0fe0db265a97207e2dc6
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
| ... | ... |
@@ -96,10 +96,6 @@ NOVA_ENABLE_CACHE=${NOVA_ENABLE_CACHE:-True}
|
| 96 | 96 |
# NOTE: Set ``FORCE_CONFIG_DRIVE="False"`` to turn OFF config drive |
| 97 | 97 |
FORCE_CONFIG_DRIVE=${FORCE_CONFIG_DRIVE:-"False"}
|
| 98 | 98 |
|
| 99 |
-# Nova supports pluggable schedulers. The default ``FilterScheduler`` |
|
| 100 |
-# should work in most cases. |
|
| 101 |
-SCHEDULER=${SCHEDULER:-filter_scheduler}
|
|
| 102 |
- |
|
| 103 | 99 |
# The following NOVA_FILTERS contains SameHostFilter and DifferentHostFilter with |
| 104 | 100 |
# the default filters. |
| 105 | 101 |
NOVA_FILTERS="AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter,DifferentHostFilter" |
| ... | ... |
@@ -398,11 +394,8 @@ function create_nova_conf {
|
| 398 | 398 |
fi |
| 399 | 399 |
iniset $NOVA_CONF wsgi api_paste_config "$NOVA_API_PASTE_INI" |
| 400 | 400 |
iniset $NOVA_CONF DEFAULT rootwrap_config "$NOVA_CONF_DIR/rootwrap.conf" |
| 401 |
- iniset $NOVA_CONF scheduler driver "$SCHEDULER" |
|
| 402 | 401 |
iniset $NOVA_CONF filter_scheduler enabled_filters "$NOVA_FILTERS" |
| 403 |
- if [[ $SCHEDULER == "filter_scheduler" ]]; then |
|
| 404 |
- iniset $NOVA_CONF scheduler workers "$API_WORKERS" |
|
| 405 |
- fi |
|
| 402 |
+ iniset $NOVA_CONF scheduler workers "$API_WORKERS" |
|
| 406 | 403 |
iniset $NOVA_CONF neutron default_floating_pool "$PUBLIC_NETWORK_NAME" |
| 407 | 404 |
if [[ $SERVICE_IP_VERSION == 6 ]]; then |
| 408 | 405 |
iniset $NOVA_CONF DEFAULT my_ip "$HOST_IPV6" |