Force kvm and host-passthrough for Amphora jobs

We face general instability of the Amphora jobs that we have. A while
ago we've made sure that these jobs are scheduled on the clouds that
support nested virtualization in order to boost performance of the
Amphora LB VMs. Now it turns out we haven't configured DevStack to
actually use kvm instead of qemu, so it's possible that we were still
running these jobs with software virtualization.

This commit attempts to reconfigure DevStack to actually use kvm and
nested virtualization.

Change-Id: I57f70c1cb140d4fa54d13b6c759a0179d8adb7b4
This commit is contained in:
Michał Dulko 2022-06-14 10:21:24 +02:00
parent 846f158724
commit d65720cf74
2 changed files with 8 additions and 0 deletions

View File

@ -241,6 +241,8 @@
OCTAVIA_AMP_IMAGE_FILE: /tmp/test-only-amphora-x64-haproxy-ubuntu-focal.qcow2
OCTAVIA_AMP_IMAGE_NAME: test-only-amphora-x64-haproxy-ubuntu-focal
OCTAVIA_AMP_IMAGE_SIZE: 3
LIBVIRT_TYPE: kvm
LIBVIRT_CPU_MODE: host-passthrough
devstack_local_conf:
post-config:
$OCTAVIA_CONF:

View File

@ -65,6 +65,8 @@
KURYR_LB_ALGORITHM: ROUND_ROBIN
KURYR_SG_DRIVER: default
KURYR_SUBNET_DRIVER: default
LIBVIRT_TYPE: kvm
LIBVIRT_CPU_MODE: host-passthrough
devstack_local_conf:
post-config:
$OCTAVIA_CONF:
@ -104,6 +106,8 @@
KURYR_LB_ALGORITHM: ROUND_ROBIN
KURYR_SG_DRIVER: default
KURYR_SUBNET_DRIVER: default
LIBVIRT_TYPE: kvm
LIBVIRT_CPU_MODE: host-passthrough
devstack_local_conf:
post-config:
$OCTAVIA_CONF:
@ -214,6 +218,8 @@
OCTAVIA_AMP_IMAGE_FILE: /tmp/test-only-amphora-x64-haproxy-ubuntu-focal.qcow2
OCTAVIA_AMP_IMAGE_NAME: test-only-amphora-x64-haproxy-ubuntu-focal
OCTAVIA_AMP_IMAGE_SIZE: 3
LIBVIRT_TYPE: kvm
LIBVIRT_CPU_MODE: host-passthrough
devstack_local_conf:
post-config:
$OCTAVIA_CONF: