diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-10-23 22:17:51 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-10-23 22:26:05 +0200 |
commit | 026567b08e5bc88fd7570235d2a8ddd6bd4a4a03 (patch) | |
tree | 823909a6be74aaf6eea4b7c3630bfe2e11217b9a | |
parent | c07d2a7d9542784815e21bb5bbaa085f13d45835 (diff) |
Disable Glance API v1
It has been deprecated since Newton [1].
Even if the related tests are skipped in latest tempest [2], API v1
has to be disabled in Gambia's tempest.conf [3].
[1] https://docs.openstack.org/glance/latest/user/glanceapi.html
[2] https://artifacts.opnfv.org/logs/functest/lf-pod1/2018-10-22_02-34-24/tempest_full/tempest-report.html
[3] https://artifacts.opnfv.org/logs/functest/lf-pod1/gambia/2018-10-23_10-34-07/tempest_full/tempest-report.html
Change-Id: I3b6bb632412c0fecaa659da262760af64d79fa71
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit dddd8073c97ca09937504cb10c1a7be2a0986380)
-rw-r--r-- | functest/opnfv_tests/openstack/tempest/conf_utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py index 60d7f3218..b4d7ad79f 100644 --- a/functest/opnfv_tests/openstack/tempest/conf_utils.py +++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py @@ -221,6 +221,10 @@ def configure_tempest_update_params( rconfig.set('identity', 'default_domain_id', domain_id) rconfig.set('identity-feature-enabled', 'api_v2', False) rconfig.set('identity-feature-enabled', 'api_v2_admin', False) + if not rconfig.has_section('image-feature-enabled'): + 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('network'): rconfig.add_section('network') rconfig.set('network', 'default_network', cidr) |