From 59e6ff10ce65509beefb3fdee7aa0c8ca966a8a9 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 2 May 2018 11:45:09 -0400 Subject: [PATCH] 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 --- lib/nova_plugins/hypervisor-ironic | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/nova_plugins/hypervisor-ironic b/lib/nova_plugins/hypervisor-ironic index c91f70b9bb..49110a8643 100644 --- a/lib/nova_plugins/hypervisor-ironic +++ b/lib/nova_plugins/hypervisor-ironic @@ -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