It makes sense to set them only if resource classes are not used.
Change-Id: I76d8501a1d1a20357acadad4cd8f2d6cef3896c1
| ... | ... |
@@ -45,12 +45,11 @@ function configure_nova_hypervisor {
|
| 45 | 45 |
|
| 46 | 46 |
if [[ "$IRONIC_USE_RESOURCE_CLASSES" == "False" ]]; then |
| 47 | 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 |
|
| 48 | 51 |
fi |
| 49 | 52 |
|
| 50 |
- iniset $NOVA_CONF filter_scheduler host_subset_size 999 |
|
| 51 |
- |
|
| 52 |
- iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0 |
|
| 53 |
- iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0 |
|
| 54 | 53 |
# ironic section |
| 55 | 54 |
iniset $NOVA_CONF ironic auth_type password |
| 56 | 55 |
iniset $NOVA_CONF ironic username admin |