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:24:36 +0200 |
commit | dddd8073c97ca09937504cb10c1a7be2a0986380 (patch) | |
tree | 50b7a1b4b0e7a4e74c999ed4eb6a3385f656023a | |
parent | 41a82f98b3afa096a3a3399c780e975a79e2324a (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>
-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) |