Disable kvm on OVH infra instances

OVH infra hosts are causing "KVM: entry failed, hardware error 0x0"
failures where instances fail to start (cirros, etc.).
This patch excludes OVH instances from kvm enablement until the issue is
resolved.

Change-Id: I50006cb60deef6943d95c2c04c444dccca94c8b0
This commit is contained in:
Michael Johnson 2018-08-19 13:44:42 -07:00
parent 904a4481c9
commit 28f29e281c
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
cmd: |
set -e
set -x
if egrep --quiet '(vmx|svm)' /proc/cpuinfo; then
if $(egrep --quiet '(vmx|svm)' /proc/cpuinfo) && [[ ! $(hostname) =~ "ovh" ]]; then
export DEVSTACK_GATE_LIBVIRT_TYPE=kvm
fi