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

View File

@ -5,7 +5,7 @@
cmd: | cmd: |
set -e set -e
set -x 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 export DEVSTACK_GATE_LIBVIRT_TYPE=kvm
fi fi