kolla-ansible/tests/templates/nova-compute-overrides.j2
Michal Arbet 11685a8f4a [CI] Force config drive for ipv6 jobs
As our CI is ipv6 only and using cirros for tests.
Therefore we need to set force_config_drive = true.

Change-Id: I07058a4b30d0de1aaf8e82656024c5f6a99b290b
2024-07-10 14:43:19 +02:00

18 lines
626 B
Django/Jinja

[DEFAULT]
force_config_drive = {{ force_config_drive }}
[libvirt]
{% if ansible_architecture == 'aarch64' %}
cpu_mode = custom
# cpu_model=max fails to boot multiple images with QEMU 7.0 and -M virt (works with "-M virt-6.2")
cpu_models = cortex-a72
{% elif ansible_architecture == 'x86_64' %}
# RHEL 9 are being compiled for the x86_64-v2 architecture which is
# newer than the qemu default of qemu64. Nehalem is apparently the
# oldest model that works for x86_64-v2 and is expected to work on
# Intel and AMD cpus with kvm or qemu.
{% if virt_type == 'kvm' %}
cpu_mode = custom
cpu_models = Nehalem
{% endif %}
{% endif %}