Disable KVM at OVH

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.

Depends-On: https://review.openstack.org/#/c/593452
Change-Id: Idedacb0d029e8166b87ede6a7b972e2f6ce74919
This commit is contained in:
Michael Johnson 2018-08-19 13:42:45 -07:00
parent 6b49fc1fab
commit 798ce95760

View File

@ -25,11 +25,11 @@ export DEVSTACK_LOCAL_CONFIG+=$'\n'"LIBS_FROM_GIT+=,diskimage-builder"$'\n'
# Sort out our gate args
. $(dirname "$0")/decode_args.sh
# Note: The check for OVH and limestone instances is temporary until they
# Note: The check for OVH instances is temporary until they
# resolve the KVM failures as logged here:
# https://bugzilla.kernel.org/show_bug.cgi?id=192521
# However, this may be resolved at OVH before the kernel bug is resolved.
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