From 7b47c47308a601839008413d20acacf2c52e3f45 Mon Sep 17 00:00:00 2001 From: Nels Nelson Date: Mon, 5 Jan 2015 16:36:42 -0600 Subject: [PATCH] Customizing tempest configuration for libvirt-lxc In order to support the continued testing of the libvirt driver with lxc virtualization, certain compute features must be disabled including rescue, resize, and suspend. Change-Id: I52150fef11ba6e3ab2fd0acacaa3c64413c0c0d1 --- lib/tempest | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/tempest b/lib/tempest index 7cac6dd642..d31119bdf6 100644 --- a/lib/tempest +++ b/lib/tempest @@ -464,6 +464,13 @@ function configure_tempest { iniset $TEMPEST_CONFIG compute-feature-enabled suspend False fi + # Libvirt-LXC + if [ "$VIRT_DRIVER" = "libvirt" ] && [ "$LIBVIRT_TYPE" = "lxc" ]; then + iniset $TEMPEST_CONFIG compute-feature-enabled rescue False + iniset $TEMPEST_CONFIG compute-feature-enabled resize False + iniset $TEMPEST_CONFIG compute-feature-enabled suspend False + fi + # service_available for service in ${TEMPEST_SERVICES//,/ }; do if is_service_enabled $service ; then