Decrease resources for VMs
Create VMs with 384 of RAM and 1 CPU.
Fix passing microversion when creating nodes, will make
sure that nodes are created in available state.
Change-Id: I6d07968955a58ab43c9c8d93ab7efd8b40873fbd
Related-Prod: PROD-24660
diff --git a/metadata/service/nodes_flat.yml b/metadata/service/nodes_flat.yml
index 0e1b96a..d36fdbd 100644
--- a/metadata/service/nodes_flat.yml
+++ b/metadata/service/nodes_flat.yml
@@ -8,10 +8,11 @@
admin_identity:
- name: ${linux:network:hostname}-n0
driver: pxe_ipmitool
+ microversion: '1.9'
properties:
local_gb: 10
- cpus: 2
- memory_mb: 1024
+ cpus: 1
+ memory_mb: 384
cpu_arch: x86_64
driver_info:
ipmi_username: admin
@@ -25,10 +26,11 @@
- address: aa:bb:cc:dd:00:01
- name: ${linux:network:hostname}-n1
driver: pxe_ipmitool
+ microversion: '1.9'
properties:
local_gb: 10
- cpus: 2
- memory_mb: 1024
+ cpus: 1
+ memory_mb: 384
cpu_arch: x86_64
driver_info:
ipmi_username: admin
@@ -46,10 +48,11 @@
subnet_name: baremetal-subnet
- name: ${linux:network:hostname}-n2
driver: pxe_ipmitool
+ microversion: '1.9'
properties:
local_gb: 10
- cpus: 2
- memory_mb: 1024
+ cpus: 1
+ memory_mb: 384
cpu_arch: x86_64
driver_info:
ipmi_username: admin
diff --git a/metadata/service/nodes_neutron.yml b/metadata/service/nodes_neutron.yml
index 221bb21..495813f 100644
--- a/metadata/service/nodes_neutron.yml
+++ b/metadata/service/nodes_neutron.yml
@@ -21,20 +21,20 @@
deploy_ramdisk: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_ramdisk_file}
deploy_kernel: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_kernel_file}
network_interface: 'neutron'
- ironic_api_version: '1.20'
+ microversion: '1.20'
ports:
- address: aa:bb:cc:dd:00:00
local_link_connection:
switch_id: 00:00:00:00:00:00
switch_info: br-simulator
port_id: tap-bmt-n0i1
- ironic_api_version: '1.19'
+ microversion: '1.19'
- address: aa:bb:cc:dd:00:01
local_link_connection:
switch_id: 00:00:00:00:00:00
switch_info: br-simulator
port_id: tap-bmt-n0i2
- ironic_api_version: '1.19'
+ microversion: '1.19'
- name: ${linux:network:hostname}-n1
driver: pxe_ipmitool
properties:
@@ -50,14 +50,14 @@
deploy_ramdisk: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_ramdisk_file}
deploy_kernel: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_kernel_file}
network_interface: 'neutron'
- ironic_api_version: '1.20'
+ microversion: '1.20'
ports:
- address: aa:bb:cc:dd:01:00
local_link_connection:
switch_id: 00:00:00:00:00:00
switch_info: br-simulator
port_id: tap-bmt-n1i1
- ironic_api_version: '1.19'
+ microversion: '1.19'
deployment_profile:
network:
fixed_ips:
@@ -78,11 +78,11 @@
deploy_ramdisk: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_ramdisk_file}
deploy_kernel: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_kernel_file}
network_interface: 'neutron'
- ironic_api_version: '1.20'
+ microversion: '1.20'
ports:
- address: aa:bb:cc:dd:02:00
local_link_connection:
switch_id: 00:00:00:00:00:00
switch_info: br-simulator
port_id: tap-bmt-n2i1
- ironic_api_version: '1.19'
+ microversion: '1.19'