diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-04-10 15:23:05 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-04-10 16:50:22 +0000 |
| commit | bfd661a6003d785ff0aef6c072bcefb1ab5a3b54 (patch) | |
| tree | 2d0011017b76b994463071f1be82bd22a77a29b2 /tests | |
| parent | 20f39e4a361e3d7cdbfc969a0b6d33e8440392db (diff) | |
| download | kolla-ansible-bfd661a6003d785ff0aef6c072bcefb1ab5a3b54.tar.gz kolla-ansible-bfd661a6003d785ff0aef6c072bcefb1ab5a3b54.zip | |
CI: tell Nova which CPU to emulate on AArch64
AArch64 does not have a way to get cpu features from libvirt.
Change-Id: Ieed404e17e8a9829f38c03f7ee7fdb3caa3919e8
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/nova-compute-overrides.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/templates/nova-compute-overrides.j2 b/tests/templates/nova-compute-overrides.j2 index 4987afca9..1c7c432e8 100644 --- a/tests/templates/nova-compute-overrides.j2 +++ b/tests/templates/nova-compute-overrides.j2 @@ -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 %} |
