kolla-ansible/tests/templates/nova-compute-overrides.j2
Marcin Juszkiewicz bfd661a600 CI: tell Nova which CPU to emulate on AArch64
AArch64 does not have a way to get cpu features from libvirt.

Change-Id: Ieed404e17e8a9829f38c03f7ee7fdb3caa3919e8
2020-04-10 16:50:22 +00:00

19 lines
417 B
Django/Jinja

[libvirt]
virt_type=qemu
# NOTE(Jeffrey4l): fix the gate in iax-ord nodes for libvirt 2.0.
{% if ansible_architecture == 'aarch64' %}
cpu_mode=custom
cpu_model=max
{% else %}
cpu_mode=none
{% endif %}
{# TODO(mnasiadka): Remove in Victoria #}
{% if scenario == 'ceph-ansible' and is_previous_release %}
[libvirt]
images_rbd_pool=vms
images_type=rbd
images_rbd_ceph_conf=/etc/ceph/ceph.conf
rbd_user=nova
{% endif %}