Fix placement operations in multi-region deployments
Change-Id: Ifc25d8a902d8183266277586e45697052c46b550 Closes-Bug: #1836917
This commit is contained in:
parent
125f53bf48
commit
b366634af8
@ -56,6 +56,7 @@ class BlazarPlacementClient(object):
|
||||
project_domain_name = kwargs.pop('project_domain_name',
|
||||
CONF.os_admin_project_domain_name)
|
||||
auth_url = kwargs.pop('auth_url', None)
|
||||
region_name = kwargs.pop('region_name', CONF.os_region_name)
|
||||
|
||||
if auth_url is None:
|
||||
auth_url = "%s://%s:%s/%s/%s" % (CONF.os_auth_protocol,
|
||||
@ -77,6 +78,7 @@ class BlazarPlacementClient(object):
|
||||
client = adapter.Adapter(session=sess,
|
||||
service_type='placement',
|
||||
interface='public',
|
||||
region_name=region_name,
|
||||
additional_headers=headers)
|
||||
return client
|
||||
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes placement operations in multi-region deployments.
|
Loading…
Reference in New Issue
Block a user