diff options
-rw-r--r-- | functest/opnfv_tests/openstack/shaker/shaker.py | 2 |
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( |