|
283 | 283 | cifmw_whitebox_install_crudini: true |
284 | 284 | # avoid using default test_operator exclude list |
285 | 285 | cifmw_test_operator_tempest_tests_exclude_override_scenario: false |
286 | | - # This replaces the parent job's extra config, so repeat its Nehalem |
287 | | - # model. A nova-operator pull request runs the parent and does not |
288 | | - # get this block. |
289 | | - # TODO: one NodeSet gives every compute the same nova.conf. Different |
290 | | - # CPU sets need two OpenStackDataPlaneNodeSets, two nova dataplane |
291 | | - # services, and two ConfigMaps. Until then whitebox does not prove |
292 | | - # that live migration updates CPU pinning. |
293 | | - cifmw_edpm_deploy_nova_compute_extra_config: | |
294 | | - [compute] |
295 | | - # /var/lib/nova is already mounted into the compute container, so |
296 | | - # a provider.yaml written there after deploy is visible on restart. |
297 | | - provider_config_location = /var/lib/nova/provider_config |
298 | | - # Eight CPUs on each compute. The dedicated set is 0,1,4,5, |
299 | | - # same as the RHOSO 18 job, so a guest that pins two CPUs |
300 | | - # leaves two free. The shared set is 2,3,6,7 so a live |
301 | | - # migration still has a free vCPU while Tempest runs four |
302 | | - # tests at once. |
303 | | - cpu_dedicated_set = 0,1,4,5 |
304 | | - cpu_shared_set = 2,3,6,7 |
305 | | - max_disk_devices_to_attach = 8 |
306 | | - [libvirt] |
307 | | - cpu_mode = custom |
308 | | - cpu_models = Nehalem |
309 | | - cpu_model_extra_flags = vme,+ssse3,-mmx |
310 | | - rx_queue_size = 1024 |
311 | | - [key_manager] |
312 | | - backend = barbican |
| 286 | + # This replaces the parent job's extra config, so every entry repeats |
| 287 | + # its Nehalem model. A nova-operator pull request runs the parent and |
| 288 | + # does not get this block. |
| 289 | + # Each compute gets its own OpenStackDataPlaneNodeSet, nova |
| 290 | + # OpenStackDataPlaneService, and nova-extra-config ConfigMap. The CPU |
| 291 | + # sets are swapped between the computes: each has eight CPUs, four |
| 292 | + # dedicated and four shared, so a guest that pins two CPUs still |
| 293 | + # leaves two free, but a dedicated pin on one compute lands in the |
| 294 | + # shared set of the other. Live migration must therefore regenerate |
| 295 | + # the vCPUPin XML, and a stale pin from the source host fails the |
| 296 | + # destination assertions. |
| 297 | + cifmw_edpm_deploy_nova_compute_extra_configs: |
| 298 | + openstack-edpm-0: |
| 299 | + hosts: |
| 300 | + - compute-0 |
| 301 | + nova_compute_extra_config: | |
| 302 | + [compute] |
| 303 | + # /var/lib/nova is already mounted into the compute container, |
| 304 | + # so a provider.yaml written there after deploy is visible on |
| 305 | + # restart. |
| 306 | + provider_config_location = /var/lib/nova/provider_config |
| 307 | + cpu_dedicated_set = 0,1,4,5 |
| 308 | + cpu_shared_set = 2,3,6,7 |
| 309 | + max_disk_devices_to_attach = 8 |
| 310 | + [libvirt] |
| 311 | + cpu_mode = custom |
| 312 | + cpu_models = Nehalem |
| 313 | + cpu_model_extra_flags = vme,+ssse3,-mmx |
| 314 | + rx_queue_size = 1024 |
| 315 | + [key_manager] |
| 316 | + backend = barbican |
| 317 | + openstack-edpm-1: |
| 318 | + hosts: |
| 319 | + - compute-1 |
| 320 | + nova_compute_extra_config: | |
| 321 | + [compute] |
| 322 | + provider_config_location = /var/lib/nova/provider_config |
| 323 | + cpu_dedicated_set = 2,3,6,7 |
| 324 | + cpu_shared_set = 0,1,4,5 |
| 325 | + max_disk_devices_to_attach = 8 |
| 326 | + [libvirt] |
| 327 | + cpu_mode = custom |
| 328 | + cpu_models = Nehalem |
| 329 | + cpu_model_extra_flags = vme,+ssse3,-mmx |
| 330 | + rx_queue_size = 1024 |
| 331 | + [key_manager] |
| 332 | + backend = barbican |
313 | 333 | # identity.v3_endpoint_type public: tempest otherwise uses the |
314 | 334 | # admin URL and the run becomes unstable. |
315 | 335 | # ide_bus false: the default machine type has no IDE bus. |
|
347 | 367 | whitebox.ctlplane_addresses compute-0.ctlplane.example.com:192.168.122.100,compute-1.ctlplane.example.com:192.168.122.101 |
348 | 368 | whitebox.ctlplane_ssh_username cloud-admin |
349 | 369 | whitebox.ctlplane_ssh_private_key_path '/var/lib/tempest/.ssh/id_ecdsa' |
| 370 | + compute.min_compute_nodes 2 |
350 | 371 | whitebox.max_compute_nodes 2 |
351 | 372 | whitebox-hardware.dedicated_cpus_per_numa 2 |
352 | 373 | whitebox-hardware.shared_cpus_per_numa 1 |
|
377 | 398 | start_command: 'systemctl start edpm_nova_compute' |
378 | 399 | stop_command: 'systemctl stop edpm_nova_compute' |
379 | 400 | compute-1.ctlplane.example.com: |
380 | | - cpu_dedicated_set: '0,1,4,5' |
381 | | - cpu_shared_set: '2,3,6,7' |
| 401 | + cpu_dedicated_set: '2,3,6,7' |
| 402 | + cpu_shared_set: '0,1,4,5' |
382 | 403 | services: |
383 | 404 | libvirt: |
384 | 405 | start_command: 'systemctl start virtqemud' |
|
0 commit comments