Remove IRONIC_USE_RESOURCE_CLASSES check
Nova has dropped support for non-resource class baremetal scheduling, so the IRONIC_USE_RESOURCE_CLASSES flag is no longer useful and has been removed. Depends-On: https://review.openstack.org/565805/ Change-Id: Ib2e6c96409c98877f6a43b76f176c1420d2d415e
This commit is contained in:
parent
200f8dd0fe
commit
59e6ff10ce
@ -42,14 +42,6 @@ function configure_nova_hypervisor {
|
||||
iniset $NOVA_CONF DEFAULT compute_driver ironic.IronicDriver
|
||||
iniset $NOVA_CONF DEFAULT firewall_driver $LIBVIRT_FIREWALL_DRIVER
|
||||
|
||||
if [[ "$IRONIC_USE_RESOURCE_CLASSES" == "False" ]]; then
|
||||
iniset $NOVA_CONF DEFAULT scheduler_host_manager ironic_host_manager
|
||||
iniset $NOVA_CONF filter_scheduler use_baremetal_filters True
|
||||
iniset $NOVA_CONF filter_scheduler host_subset_size 999
|
||||
iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0
|
||||
iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0
|
||||
fi
|
||||
|
||||
# ironic section
|
||||
iniset $NOVA_CONF ironic auth_type password
|
||||
iniset $NOVA_CONF ironic username admin
|
||||
|
Loading…
Reference in New Issue
Block a user