From 8901655587941e853739760bd41f7a00cf71d61d Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Sun, 25 Feb 2018 15:01:27 +0100 Subject: [PATCH] Fix default identity version in conf_utils MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I2e78958b3c96b36a5fac636a1817424fb102afea Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/openstack/tempest/conf_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py index 6fc44d892..786a7c5b6 100644 --- a/functest/opnfv_tests/openstack/tempest/conf_utils.py +++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py @@ -254,8 +254,7 @@ def configure_tempest_update_params(tempest_conf_file, network_name=None, rconfig.set('compute-feature-enabled', 'live_migration', True) rconfig.set('identity', 'region', os.environ.get('OS_REGION_NAME')) - identity_api_version = os.environ.get( - "OS_IDENTITY_API_VERSION", os.environ.get("IDENTITY_API_VERSION")) + identity_api_version = os.environ.get("OS_IDENTITY_API_VERSION", '3') if identity_api_version == '3': auth_version = 'v3' rconfig.set('identity-feature-enabled', 'api_v2', False) -- 2.16.6