summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-25 15:01:27 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-25 15:01:27 +0100
commit8901655587941e853739760bd41f7a00cf71d61d (patch)
treeb0cfd7aa9d3910edba96fce5ee2c242f5b754a40
parentd0ffb7dd996ddd43a1e0fe78fb28ee88cb167fd6 (diff)
Fix default identity version in conf_utils
Change-Id: I2e78958b3c96b36a5fac636a1817424fb102afea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py3
1 files changed, 1 insertions, 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)