yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50479
[Bug 1547061] Re: openrc v2.sh contains /v3 url
// Feel free to comment //
This *bug* is more like a backport of the feature in Mitaka, see below:
in Liberty Horizon:
'Download OpenStack RC File'
'Download EC2 Credentials'
'View Credentials'
in Mitaka Horizon:
'Download OpenStack RC File v2.0'
'Download OpenStack RC File v3'
'View Credentials'
This means the introducing new strings to Liberty which is not what we
want.
Per the http://docs.openstack.org/project-team-guide/stable-
branches.html#active-maintenance We do not allow backports of new
features
Thank you for understanding,
Robin Cernin
** Changed in: horizon
Status: New => Opinion
--
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):
Opinion
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