CI: tell Nova which CPU to emulate on AArch64

AArch64 does not have a way to get cpu features from libvirt.

Change-Id: Ieed404e17e8a9829f38c03f7ee7fdb3caa3919e8
This commit is contained in:
Marcin Juszkiewicz 2020-04-10 15:23:05 +02:00
parent 20f39e4a36
commit bfd661a600

View File

@ -1,7 +1,12 @@
[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 %}