Temporarily disable Cinder volumes backup tests 55/64055/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 26 Oct 2018 08:52:12 +0000 (10:52 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 26 Oct 2018 09:00:29 +0000 (11:00 +0200)
From the time being, all OPNFV installers [1][2][3] don't support
Cinder volumes backup.

We will find a better way to handle the lack of OPNFV requiremements
(these tests pass succesfully in Orange Openlab).

At least, it will allow verifying tempest_full in OPNFV gates.

[1] Apex: https://artifacts.opnfv.org/logs/functest/lf-pod1/2018-10-25_02-17-25/tempest_full/tempest-report.html
[2] Compass: https://artifacts.opnfv.org/logs/functest/huawei-virtual9/2018-10-24_04-54-25/tempest_full/tempest-report.html
[3] Fuel: https://artifacts.opnfv.org/logs/functest/lf-pod2/gambia/2018-10-25_05-57-54/tempest_full/tempest-report.html

Change-Id: I319536070aa77a5dbab6a692a1d76049f75e758b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7cf46992c7f3e854b038f6f17a279d65108aa764)

functest/opnfv_tests/openstack/tempest/conf_utils.py

index 9ffbae4..e9443d6 100644 (file)
@@ -228,6 +228,9 @@ def configure_tempest_update_params(
         rconfig.add_section('image-feature-enabled')
     rconfig.set('image-feature-enabled', 'api_v2', True)
     rconfig.set('image-feature-enabled', 'api_v1', False)
+    if not rconfig.has_section('volume-feature-enabled'):
+        rconfig.add_section('volume-feature-enabled')
+    rconfig.set('volume-feature-enabled', 'backup', False)
     if not rconfig.has_section('network'):
         rconfig.add_section('network')
     rconfig.set('network', 'default_network', cidr)