aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <ollivier.cedric@gmail.com>2018-07-09 18:54:23 +0200
committerCédric Ollivier <ollivier.cedric@gmail.com>2018-07-09 18:56:41 +0200
commit7666aadc3d8b2075e001df55e5d2fd7389d765df (patch)
tree905700bafeadda21ea6d631e698e4ec89fc1940d
parentdb459d327a9429ae9340cc95fc5287e218859813 (diff)
Force public identity endpoint in Shaker
It conforms with our VNFs by calling public endpoints (from VM). It fixes by design the issues when testing Compass [1] due to export OS_INTERFACE=publicURL [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/180/consoleFull Change-Id: Iea15506ba5910879d05e61cfd20da2c0878e569b Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
-rw-r--r--functest/opnfv_tests/openstack/shaker/shaker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/shaker/shaker.py b/functest/opnfv_tests/openstack/shaker/shaker.py
index 9899bb3db..cc8f9ec26 100644
--- a/functest/opnfv_tests/openstack/shaker/shaker.py
+++ b/functest/opnfv_tests/openstack/shaker/shaker.py
@@ -54,7 +54,7 @@ class Shaker(singlevm.SingleVm2):
keystone_id = self.orig_cloud.search_services('keystone')[0].id
self.__logger.debug("keystone id: %s", keystone_id)
endpoint = self.orig_cloud.search_endpoints(
- filters={'interface': os.environ.get('OS_INTERFACE', 'public'),
+ filters={'interface': 'public',
'service_id': keystone_id})[0].url
self.__logger.debug("keystone endpoint: %s", endpoint)
self.orig_cloud.grant_role(