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
(cherry picked from commit 55188215d9
)
This commit is contained in:
parent
bf25bb68a2
commit
9fada49e64
|
@ -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…
Reference in New Issue