Use internalURL endpoint_type for all clients used by Magnum

Magnum, Cinder and Octavia clients in Magnum now use endpoint_type of
internalURL by default consistent with other clients also used by the
conductor. Additionally, they also use the globally defined
`openstack_region_name` for region_name.

Closes-Bug: #1885096

Change-Id: Ibec511013760cc4f681a2ec1b769b532be3daf2d
(cherry picked from commit eb24945d75)
This commit is contained in:
Bharat Kunwar 2020-06-24 16:24:30 +01:00
parent 7c968422c4
commit a0a184e954
2 changed files with 16 additions and 0 deletions

View File

@ -23,12 +23,21 @@ max_retries = -1
default_docker_volume_type = {{ default_docker_volume_type }}
{% endif %}
[magnum_client]
region_name = {{ openstack_region_name }}
endpoint_type = internalURL
[heat_client]
region_name = {{ openstack_region_name }}
endpoint_type = internalURL
[octavia_client]
region_name = {{ openstack_region_name }}
endpoint_type = internalURL
[cinder_client]
region_name = {{ openstack_region_name }}
endpoint_type = internalURL
[barbican_client]
region_name = {{ openstack_region_name }}

View File

@ -0,0 +1,7 @@
---
fixes:
- |
In line with clients for other services used by Magnum, it now uses
endpoint_type = internalURL also for Magnum itself, Cinder and Octavia
clients. In the same tune, these services also use the globally defined
`openstack_region_name`.