Test the correct placement endpoint with multiple regions
In a multi-region setup (not yet supported but there are plans to support it) the nova_wait_for_placement_service.py script might check the wrong placement endpoint. This change makes the script explicitly look for the endpoint in the correct region. Change-Id: I83e44e0d0cb104dbb10b3699469e00e15b320409 Closes-Bug: #1819174
This commit is contained in:
parent
5ff45134ac
commit
8948eced73
@ -70,6 +70,7 @@ if __name__ == '__main__':
|
||||
# get placement endpoint (valid_interfaces)
|
||||
placement_endpoint_url = keystone.endpoints.list(
|
||||
service=placement_service_id,
|
||||
region=config.get('placement', 'region_name'),
|
||||
interface=config.get('placement', 'valid_interfaces'))[0].url
|
||||
if not placement_endpoint_url:
|
||||
LOG.error('Failed to get placement service endpoint!')
|
||||
|
Loading…
x
Reference in New Issue
Block a user