wrong warning (The Keystone URL (either in Horizon settings or in service catalog) points to a v2.0 Keystone endpoint)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
jichenjc |
Bug Description
wrong warning printed in current code
I added some log and seems we need use ["/v2.0"] instead "/v2.0"
[Wed Sep 07 15:09:40.951167 2016] [:error] [pid 29875] path is /v3, subs is /v2.0, t is True
[Wed Sep 07 15:09:40.951254 2016] [:error] [pid 29875] The Keystone URL (either in Horizon settings or in service catalog) points to a v2.0 Keystone endpoint, but v3 is specified as the API version to use by Horizon. Using v3 endpoint for authentication.https:/
def has_in_
"""Test if any of `subs` strings is present in the `url` path."""
scheme, netloc, path, query, fragment = urlparse.
t = any([sub in path for sub in subs])
LOG.warn('path is %s, subs is %s, t is %s' % (path, subs, t))
return t
if get_keystone_
auth_url = url_path_
Changed in horizon: | |
assignee: | nobody → jichenjc (jichenjc) |
Changed in horizon: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: newton-backport-potential |
Changed in horizon: | |
status: | Confirmed → Fix Released |
tags: | removed: newton-backport-potential |
This issue was fixed in the openstack/ django_ openstack_ auth 2.4.1 release.