Merge "Use publicURL as default of OPENSTACK_ENDPOINT_TYPE consistently"
This commit is contained in:
commit
bfaa4e64ec
@ -172,7 +172,7 @@ def keystoneclient(request, admin=False):
|
|||||||
else:
|
else:
|
||||||
endpoint_type = getattr(settings,
|
endpoint_type = getattr(settings,
|
||||||
'OPENSTACK_ENDPOINT_TYPE',
|
'OPENSTACK_ENDPOINT_TYPE',
|
||||||
'internalURL')
|
'publicURL')
|
||||||
|
|
||||||
# Take care of client connection caching/fetching a new client.
|
# Take care of client connection caching/fetching a new client.
|
||||||
# Admin vs. non-admin clients are cached separately for token matching.
|
# Admin vs. non-admin clients are cached separately for token matching.
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
``OPENSTACK_ENDPOINT_TYPE`` setting now has a consistent default value
|
||||||
|
and it defaults to ``publicURL``. If you use the default value,
|
||||||
|
previously (at least Ocata release) Horizon used ``internalURL`` for
|
||||||
|
keystone and ``publicURL`` for other services. The default value is
|
||||||
|
now ``publicURL``, so if you want horizon to use ``internalURL`` to
|
||||||
|
talk with back-end services, ensure to set ``OPENSTACK_ENDPOINT_TYPE``
|
||||||
|
to ``internalURL``.
|
Loading…
x
Reference in New Issue
Block a user