Fix invalid Cinder endpoint option in nova.conf
From the change [1], a new option ``interface`` was added to [cinder] category to override Cinder endpoint to internalURL for both service_types. ``block-storage`` and ``volumev3`` (deprecated). However, this is not a valid option and it fails to override cinder endpoint, resulting Nova to use public Cinder endpoint instead. This change set proper overriding by replacing ``interface = internal`` to ``catalog_info = block-storage::internalURL``. [1] https://review.opendev.org/c/openstack/kolla-ansible/+/937038 Closes-bug: #2115064 Change-Id: I276b499f5c560a55e7acf42069066385ad76e94c
This commit is contained in:
@ -109,7 +109,7 @@ num_retries = 3
|
||||
|
||||
{% if enable_cinder | bool %}
|
||||
[cinder]
|
||||
interface = internal
|
||||
catalog_info = block-storage::internalURL
|
||||
os_region_name = {{ openstack_region_name }}
|
||||
auth_url = {{ keystone_internal_url }}
|
||||
auth_type = password
|
||||
|
@ -64,7 +64,7 @@ debug = {{ nova_logging_debug }}
|
||||
|
||||
{% if enable_cinder | bool %}
|
||||
[cinder]
|
||||
interface = internal
|
||||
catalog_info = block-storage::internalURL
|
||||
os_region_name = {{ openstack_region_name }}
|
||||
auth_url = {{ keystone_internal_url }}
|
||||
auth_type = password
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes a bug where Cinder endpoint that Nova uses does not get
|
||||
overridden because of the use of invalid option.
|
||||
`LP#2115064 <https://bugs.launchpad.net/kolla-ansible/+bug/2115064>`__
|
Reference in New Issue
Block a user