Browse code

Merge "Disable resize tests in Tempest if using cells with custom flavors"

Jenkins authored on 2015/11/16 15:03:03
Showing 1 changed files
... ...
@@ -377,6 +377,15 @@ function configure_tempest {
377 377
         iniset $TEMPEST_CONFIG compute-feature-enabled shelve False
378 378
         # Cells doesn't support hot-plugging virtual interfaces.
379 379
         iniset $TEMPEST_CONFIG compute-feature-enabled interface_attach False
380
+
381
+        if  [[ -z "$DEFAULT_INSTANCE_TYPE" ]]; then
382
+            # Cells supports resize but does not currently work with devstack
383
+            # because of the custom flavors created for Tempest runs which are
384
+            # not in the cells database.
385
+            # TODO(mriedem): work on adding a nova-manage command to sync
386
+            # flavors into the cells database.
387
+            iniset $TEMPEST_CONFIG compute-feature-enabled resize False
388
+        fi
380 389
     fi
381 390
 
382 391
     # Network