Browse code

Disable the shelve tests for nova-cells using tempest config

Change from using a blacklist to disable the shelve tests for
nova-cells to using the tempest config option to disable the shelve
feature tests. This is the intended method of disabling feature tests.
This first commit is to add code to lib/tempest to disable the shelve
feature test if the nova-cells service is enabled. The next
st will remove the shelve blacklist from
http://git.openstack.org/cgit/openstack/nova/tree/devstack/tempest-dsvm-cells-rc

Change-Id: Ibf1f9aaa63e5f17b7d8774b511940ba8421e0887
Partial-bug: 1491152

Chuck Carmack authored on 2015/09/02 23:27:58
Showing 1 changed files
... ...
@@ -390,6 +390,10 @@ function configure_tempest {
390 390
     # neutron.allow_duplicate_networks option was removed from nova in Liberty
391 391
     # and is now the default behavior.
392 392
     iniset $TEMPEST_CONFIG compute-feature-enabled allow_duplicate_networks ${NOVA_ALLOW_DUPLICATE_NETWORKS:-True}
393
+    if is_service_enabled n-cell; then
394
+        # Cells doesn't support shelving/unshelving
395
+        iniset $TEMPEST_CONFIG compute-feature-enabled shelve False
396
+    fi
393 397
 
394 398
     # Network
395 399
     iniset $TEMPEST_CONFIG network api_version 2.0