Skip to content

Commit 59e6ff1

Browse files
committed
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
1 parent 200f8dd commit 59e6ff1

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

lib/nova_plugins/hypervisor-ironic

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@ function configure_nova_hypervisor {
4242
iniset $NOVA_CONF DEFAULT compute_driver ironic.IronicDriver
4343
iniset $NOVA_CONF DEFAULT firewall_driver $LIBVIRT_FIREWALL_DRIVER
4444

45-
if [[ "$IRONIC_USE_RESOURCE_CLASSES" == "False" ]]; then
46-
iniset $NOVA_CONF DEFAULT scheduler_host_manager ironic_host_manager
47-
iniset $NOVA_CONF filter_scheduler use_baremetal_filters True
48-
iniset $NOVA_CONF filter_scheduler host_subset_size 999
49-
iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0
50-
iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0
51-
fi
52-
5345
# ironic section
5446
iniset $NOVA_CONF ironic auth_type password
5547
iniset $NOVA_CONF ironic username admin

0 commit comments

Comments
 (0)