Browse code

Merge "Disable shelve/snapshot/cinder when running Tempest with libvirt+lxc"

Jenkins authored on 2015/10/29 14:09:35
Showing 1 changed files
... ...
@@ -518,6 +518,8 @@ function configure_tempest {
518 518
     if [ "$VIRT_DRIVER" = "libvirt" ] && [ "$LIBVIRT_TYPE" = "lxc" ]; then
519 519
         iniset $TEMPEST_CONFIG compute-feature-enabled rescue False
520 520
         iniset $TEMPEST_CONFIG compute-feature-enabled resize False
521
+        iniset $TEMPEST_CONFIG compute-feature-enabled shelve False
522
+        iniset $TEMPEST_CONFIG compute-feature-enabled snapshot False
521 523
         iniset $TEMPEST_CONFIG compute-feature-enabled suspend False
522 524
     fi
523 525
 
... ...
@@ -535,6 +537,12 @@ function configure_tempest {
535 535
         fi
536 536
     done
537 537
 
538
+    if [ "$VIRT_DRIVER" = "libvirt" ] && [ "$LIBVIRT_TYPE" = "lxc" ]; then
539
+        # libvirt-lxc does not support boot from volume or attaching volumes
540
+        # so basically anything with cinder is out of the question.
541
+        iniset $TEMPEST_CONFIG service_available cinder "False"
542
+    fi
543
+
538 544
     if is_ssl_enabled_service "key" || is_service_enabled tls-proxy; then
539 545
         # Use the ``BOTO_CONFIG`` environment variable to point to this file
540 546
         iniset -sudo $BOTO_CONF Boto ca_certificates_file $SSL_BUNDLE_FILE