Merge "Add multi region support in nova_wait_for_compute_service.py"

This commit is contained in:
Zuul 2019-10-04 03:43:01 +00:00 committed by Gerrit Code Review
commit 291f6472c2
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ if __name__ == '__main__':
user_domain_name=config.get('neutron',
'user_domain_name'))
sess = session.Session(auth=auth, verify=options.insecure)
nova = client.Client('2.11', session=sess, endpoint_type='internal')
nova = client.Client('2.11', session=sess, endpoint_type='internal',
region_name=config.get('neutron', 'region_name'))
# Wait until this host is listed in the service list
for i in range(iterations):