Use internal interface for keystone in "wait for placement" script
Instead of trying to go to the "admin" endpoint, which is keystoneclient's default. We instead try to use the internal endpoint. This reduces our usage of the keystone admin endpoint. Change-Id: Ib2fe159d6e2503db834ae68d9a60c627a15b7b5e
This commit is contained in:
parent
0af3101f0f
commit
55188215d9
@ -56,7 +56,7 @@ if __name__ == '__main__':
|
||||
project_domain_name=config.get('placement', 'user_domain_name'),
|
||||
auth_url=config.get('placement', 'auth_url')+'/v3')
|
||||
sess = session.Session(auth=auth, verify=False)
|
||||
keystone = client.Client(session=sess)
|
||||
keystone = client.Client(session=sess, interface='internal')
|
||||
|
||||
iterations_endpoint = iterations
|
||||
placement_endpoint_url = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user