Merge "Use publicURL as default of OPENSTACK_ENDPOINT_TYPE consistently"

This commit is contained in:
Jenkins 2017-06-13 13:14:12 +00:00 committed by Gerrit Code Review
commit bfaa4e64ec
2 changed files with 11 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def keystoneclient(request, admin=False):
else:
endpoint_type = getattr(settings,
'OPENSTACK_ENDPOINT_TYPE',
'internalURL')
'publicURL')
# Take care of client connection caching/fetching a new client.
# Admin vs. non-admin clients are cached separately for token matching.

View File

@ -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``.