Browse code

Merge "Disable resize tests in Tempest if using cells with custom flavors" into stable/liberty

Jenkins authored on 2016/05/11 00:52:11
Showing 1 changed files
... ...
@@ -407,6 +407,15 @@ function configure_tempest {
407 407
         iniset $TEMPEST_CONFIG compute-feature-enabled shelve False
408 408
         # Cells doesn't support hot-plugging virtual interfaces.
409 409
         iniset $TEMPEST_CONFIG compute-feature-enabled interface_attach False
410
+
411
+        if  [[ -z "$DEFAULT_INSTANCE_TYPE" ]]; then
412
+            # Cells supports resize but does not currently work with devstack
413
+            # because of the custom flavors created for Tempest runs which are
414
+            # not in the cells database.
415
+            # TODO(mriedem): work on adding a nova-manage command to sync
416
+            # flavors into the cells database.
417
+            iniset $TEMPEST_CONFIG compute-feature-enabled resize False
418
+        fi
410 419
     fi
411 420
 
412 421
     # Network