yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76538
[Bug 1547061] Re: openrc v2.sh contains /v3 url
keystone endpoint is recommended not to include a version string like v3
now (as of stein).
This bug was reported when keystone v3 is becoming popular and some
operators configured keystone with "v3" version string in endpoint
catalog.
The situation now changed and we believe we can assume keystone endpoint
is configured without a version string.
** Changed in: horizon
Assignee: Adrian Turjak (adriant-y) => (unassigned)
** Changed in: horizon
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1547061
Title:
openrc v2.sh contains /v3 url
Status in OpenStack Dashboard (Horizon):
Won't Fix
Bug description:
bug 1460150 introduced separate openrc downloads for v2 and v3
but when backporting this to Liberty, we found that the v2 openrc download still contained a /v3 URL
which would then cause client failures
The v3 codepath does
context['auth_url'] = utils.fix_auth_url_version(context['auth_url'])
and IMHO for the v2 codepath we would need the inverse replacement.
e.g.
def download_rc_file_v2(request):
template = 'project/access_and_security/api_access/openrc_v2.sh.template'
context = _get_openrc_credentials(request)
+ context['auth_url'] = context['auth_url'].replace('/v3', '/v2.0')
return _download_rc_file_for_template(request, context, template)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1547061/+subscriptions
References