Fix basic_deployment.py to work with the newer keystone client

The keystone client url_for() method changed its signature such that
the endpoint_type parameter was renamed as 'interface'.

Change-Id: Icb72248d08721607586090c1cd2e409558ba860f
This commit is contained in:
Alex Kavanagh 2017-07-20 17:30:22 +01:00
parent c3609b8382
commit 5cf126e88a
1 changed files with 2 additions and 2 deletions

View File

@ -112,11 +112,11 @@ class AodhBasicDeployment(OpenStackAmuletDeployment):
# Authenticate admin with aodh endpoint
aodh_ep = self.keystone.service_catalog.url_for(
service_type='alarming',
endpoint_type='publicURL')
interface='publicURL')
keystone_ep = self.keystone.service_catalog.url_for(
service_type='identity',
endpoint_type='publicURL')
interface='publicURL')
auth = keystone_identity.V2Token(auth_url=keystone_ep,
token=self.keystone.auth_token)