[openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware
blk at acm.org
Fri Jun 16 15:38:14 UTC 2017
On Thu, Jun 15, 2017 at 1:12 PM, Harry Rybacki <hrybacki at redhat.com> wrote:
> On Thu, Jun 15, 2017 at 1:57 PM, Brant Knudson <blk at acm.org> wrote:
> > On Thu, Jun 15, 2017 at 5:14 AM, Mikhail Fedosin <mfedosin at gmail.com>
> >> Recently I decided to remove deprecated parameters from
> >> mistral config and replace them with recommended function of devstack
> >> In doing so, I discovered a strange behavior of configuration
> mechanism, and
> >> specifically parameters auth_uri and auth_url.
> >> 1. The parameter auth_url is not included in the list of the middleware
> >> parameters, there is auth_uri only . Nevertheless, it must be
> >> because it's required by identity plugin . Attempts to remove or
> >> it with the recommended auth_uri result with these stacktraces 
> >> 2. Even if auth_url is set, it can't be used later, because it is not
> >> registered in oslo_config 
> >> So I would like to get an advise from keystone team and understand what
> >> should do in such cases. Official documentation doesn't add clarity on
> >> matter because it recommends to use auth_uri in some cases and auth_url
> >> others.
> > While to a human auth_uri and auth_url might look very similar they're
> > treated completely differently by auth_token / keystoneauth. One doesn't
> > replace the other in any way. So it shouldn't be surprising that
> > documentation would say to use auth_uri for one thing and auth_url for
> > something else.
> In this case it's probably worth filing a docs bug against Keystone.
> If one person is confused by this, others likely are or will be.
> - Harry
I created a bug against keystonemiddleware:
https://bugs.launchpad.net/keystonemiddleware/+bug/1698401 . HTH.
> > - Brant
> >> My suggestion is to add auth_url in the list of keystone authtoken
> >> middleware config options, so that the parameter can be used by the
> >> Best,
> >> Mike
> >>  https://review.openstack.org/#/c/473796/
> >> 
> >> https://github.com/openstack/keystonemiddleware/blob/
> >> 
> >> https://github.com/openstack/keystoneauth/blob/master/
> >>  http://paste.openstack.org/show/612662/
> >>  http://paste.openstack.org/show/612664/
> >> ____________________________________________________________
> >> OpenStack Development Mailing List (not for usage questions)
> >> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > ____________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev