Remove setting some of the scheduler settings
It makes sense to set them only if resource classes are not used. Change-Id: I76d8501a1d1a20357acadad4cd8f2d6cef3896c1
This commit is contained in:
parent
02ebbfd64e
commit
b79be36cdb
@ -45,12 +45,11 @@ function configure_nova_hypervisor {
|
|||||||
|
|
||||||
if [[ "$IRONIC_USE_RESOURCE_CLASSES" == "False" ]]; then
|
if [[ "$IRONIC_USE_RESOURCE_CLASSES" == "False" ]]; then
|
||||||
iniset $NOVA_CONF filter_scheduler use_baremetal_filters True
|
iniset $NOVA_CONF filter_scheduler use_baremetal_filters True
|
||||||
fi
|
|
||||||
|
|
||||||
iniset $NOVA_CONF filter_scheduler host_subset_size 999
|
iniset $NOVA_CONF filter_scheduler host_subset_size 999
|
||||||
|
|
||||||
iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0
|
iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0
|
||||||
iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0
|
iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0
|
||||||
|
fi
|
||||||
|
|
||||||
# ironic section
|
# ironic section
|
||||||
iniset $NOVA_CONF ironic auth_type password
|
iniset $NOVA_CONF ironic auth_type password
|
||||||
iniset $NOVA_CONF ironic username admin
|
iniset $NOVA_CONF ironic username admin
|
||||||
|
Loading…
Reference in New Issue
Block a user