From 0525e77d9f297bff5b3a37276b1c28440a384229 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Tue, 15 Aug 2017 22:02:30 +0300 Subject: [PATCH] Increase host_subset_size for ironic This patch increase host_subset_size when ironic is used to 999 to minimize race conditions. Change-Id: I0874fe3b3628cb3e662ee01f24c4599247fdc82d --- lib/nova_plugins/hypervisor-ironic | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nova_plugins/hypervisor-ironic b/lib/nova_plugins/hypervisor-ironic index d59473ca1c..062afb7f7c 100644 --- a/lib/nova_plugins/hypervisor-ironic +++ b/lib/nova_plugins/hypervisor-ironic @@ -47,6 +47,8 @@ function configure_nova_hypervisor { iniset $NOVA_CONF filter_scheduler use_baremetal_filters True fi + 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 # ironic section