Fix scheduler_default_filters usage
The scheduler_default_filters config option moved out of the DEFAULT option group into a more specific group, and the old option is deprecated as a result so we need to update our usage. Change-Id: I5d6574d19c3f16abadddb19f34cb645dcdcc07f4
This commit is contained in:
parent
dc9ef55fc6
commit
1ade00da55
2
lib/nova
2
lib/nova
@ -454,7 +454,7 @@ function create_nova_conf {
|
||||
iniset $NOVA_CONF wsgi api_paste_config "$NOVA_API_PASTE_INI"
|
||||
iniset $NOVA_CONF DEFAULT rootwrap_config "$NOVA_CONF_DIR/rootwrap.conf"
|
||||
iniset $NOVA_CONF DEFAULT scheduler_driver "$SCHEDULER"
|
||||
iniset $NOVA_CONF DEFAULT scheduler_default_filters "$FILTERS"
|
||||
iniset $NOVA_CONF filter_scheduler enabled_filters "$FILTERS"
|
||||
iniset $NOVA_CONF DEFAULT default_floating_pool "$PUBLIC_NETWORK_NAME"
|
||||
if [[ $SERVICE_IP_VERSION == 6 ]]; then
|
||||
iniset $NOVA_CONF DEFAULT my_ip "$HOST_IPV6"
|
||||
|
@ -49,7 +49,7 @@ function configure_nova_hypervisor {
|
||||
iniset $NOVA_CONF DEFAULT quota_security_groups -1
|
||||
iniset $NOVA_CONF DEFAULT quota_security_group_rules -1
|
||||
iniset $NOVA_CONF DEFAULT quota_key_pairs -1
|
||||
iniset $NOVA_CONF DEFAULT scheduler_default_filters "RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,CoreFilter,RamFilter,DiskFilter"
|
||||
iniset $NOVA_CONF filter_scheduler enabled_filters "RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,CoreFilter,RamFilter,DiskFilter"
|
||||
}
|
||||
|
||||
# install_nova_hypervisor() - Install external components
|
||||
|
Loading…
Reference in New Issue
Block a user