Set endpoint type variables to publicURL in public-openrc.sh
Change-Id: I9d7f0bf7daa6d1abe31de0e76a508820ed123c28 Story: 2007950 Task: 40426
This commit is contained in:
parent
97373c0519
commit
271bc72dae
@ -5,6 +5,12 @@
|
||||
export OS_AUTH_URL={{ public_openrc_auth_url }}
|
||||
{% elif "export OS_INTERFACE" in line %}
|
||||
export OS_INTERFACE=public
|
||||
{% elif "export OS_ENDPOINT_TYPE" in line %}
|
||||
export OS_ENDPOINT_TYPE=publicURL
|
||||
{% elif "export OS_MANILA_ENDPOINT_TYPE" in line %}
|
||||
export OS_MANILA_ENDPOINT_TYPE=publicURL
|
||||
{% elif "export OS_MISTRAL_ENDPOINT_TYPE" in line %}
|
||||
export OS_MISTRAL_ENDPOINT_TYPE=publicURL
|
||||
{% elif "export OS_CACERT" in line and kolla_external_fqdn_cacert is not none %}
|
||||
export OS_CACERT={{ kolla_external_fqdn_cacert }}
|
||||
{% else %}
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Changes the value of ``OS_ENDPOINT_TYPE``, ``OS_MANILA_ENDPOINT_TYPE``, and
|
||||
``OS_MISTRAL_ENDPOINT_TYPE`` in ``public-openrc.sh`` to use ``publicURL``,
|
||||
which should fix issues with legacy CLI tools on hosts without access to
|
||||
the internal API. See `story 2007950
|
||||
<https://storyboard.openstack.org/#!/story/2007950>`__ for details.
|
Loading…
Reference in New Issue
Block a user