| ... | ... |
@@ -258,9 +258,10 @@ function create_baremetal_flavor() {
|
| 258 | 258 |
nova flavor-create $BM_FLAVOR_NAME $BM_FLAVOR_ID \ |
| 259 | 259 |
$BM_FLAVOR_RAM $BM_FLAVOR_ROOT_DISK $BM_FLAVOR_CPU |
| 260 | 260 |
nova flavor-key $BM_FLAVOR_NAME set \ |
| 261 |
- cpu_arch=$BM_FLAVOR_ARCH \ |
|
| 262 |
- deploy_kernel_id=$aki \ |
|
| 263 |
- deploy_ramdisk_id=$ari |
|
| 261 |
+ "cpu_arch"="$BM_FLAVOR_ARCH" \ |
|
| 262 |
+ "baremetal:deploy_kernel_id"="$aki" \ |
|
| 263 |
+ "baremetal:deploy_ramdisk_id"="$ari" |
|
| 264 |
+ |
|
| 264 | 265 |
} |
| 265 | 266 |
|
| 266 | 267 |
# pull run-time kernel/ramdisk out of disk image and load into glance |
| ... | ... |
@@ -1076,9 +1076,8 @@ if is_service_enabled nova; then |
| 1076 | 1076 |
iniset $NOVA_CONF DEFAULT compute_driver nova.virt.baremetal.driver.BareMetalDriver |
| 1077 | 1077 |
iniset $NOVA_CONF DEFAULT firewall_driver $LIBVIRT_FIREWALL_DRIVER |
| 1078 | 1078 |
iniset $NOVA_CONF DEFAULT scheduler_host_manager nova.scheduler.baremetal_host_manager.BaremetalHostManager |
| 1079 |
- # NOTE(deva): ComputeCapabilitiesFilter does not currently work with Baremetal. See bug # 1129485 |
|
| 1080 |
- # As a work around, we disable CCFilter by explicitly enabling all the other default filters. |
|
| 1081 |
- iniset $NOVA_CONF DEFAULT scheduler_default_filters ComputeFilter,RetryFilter,AvailabilityZoneFilter,ImagePropertiesFilter |
|
| 1079 |
+ iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0 |
|
| 1080 |
+ iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0 |
|
| 1082 | 1081 |
iniset $NOVA_CONF baremetal instance_type_extra_specs cpu_arch:$BM_CPU_ARCH |
| 1083 | 1082 |
iniset $NOVA_CONF baremetal driver $BM_DRIVER |
| 1084 | 1083 |
iniset $NOVA_CONF baremetal power_manager $BM_POWER_MANAGER |