Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-21 Thread Mikhail Fedosin
Thanks for your help folks! I proposed a patch for mistral and it seems it works now https://review.openstack.org/#/c/473796 I'm not a great expert on this issue, so it will be great if someone from keystone team could review the patch. Best, Mike On Wed, Jun 21, 2017 at 4:15 AM, Jamie Lennox w

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-20 Thread Jamie Lennox
On 16 June 2017 at 00:44, Mikhail Fedosin wrote: > Thanks György! > > On Thu, Jun 15, 2017 at 1:55 PM, Gyorgy Szombathelyi doclerholding.com> wrote: > >> Hi Mikhail, >> >> (I'm not from the Keystone team, but did some patches for using >> keystonauth1). >> >> > >> > 2. Even if auth_url is set, i

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-16 Thread Brant Knudson
On Thu, Jun 15, 2017 at 1:12 PM, Harry Rybacki wrote: > On Thu, Jun 15, 2017 at 1:57 PM, Brant Knudson wrote: > > > > > > On Thu, Jun 15, 2017 at 5:14 AM, Mikhail Fedosin > wrote: > >> > >> Recently I decided to remove deprecated parameters from > keystone_authtoken > >> mistral config and repl

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-15 Thread Harry Rybacki
On Thu, Jun 15, 2017 at 1:57 PM, Brant Knudson wrote: > > > On Thu, Jun 15, 2017 at 5:14 AM, Mikhail Fedosin wrote: >> >> Recently I decided to remove deprecated parameters from keystone_authtoken >> mistral config and replace them with recommended function of devstack [1]. >> In doing so, I disc

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-15 Thread Brant Knudson
On Thu, Jun 15, 2017 at 5:14 AM, Mikhail Fedosin wrote: > Recently I decided to remove deprecated parameters from keystone_authtoken > mistral config and replace them with recommended function of devstack [1]. > In doing so, I discovered a strange behavior of configuration mechanism, > and specif

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-15 Thread Gyorgy Szombathelyi
> > > > > auth_url is actually a dynamic parameter and depends on the > keystone > > auth plugin used > > (auth_type=xxx). The plugin which needs this parameter, registers it. > > > > > > > > Based on this http://paste.openstack.org/show/612664/ I would say that > > the plugin doesn't regi

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-15 Thread Gyorgy Szombathelyi
> > auth_url is actually a dynamic parameter and depends on the > keystone auth plugin used > (auth_type=xxx). The plugin which needs this parameter, registers it. > > > > Based on this http://paste.openstack.org/show/612664/ I would say that the > plugin doesn't register it :( It e

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-15 Thread Mikhail Fedosin
Thanks György! On Thu, Jun 15, 2017 at 1:55 PM, Gyorgy Szombathelyi < gyorgy.szombathe...@doclerholding.com> wrote: > Hi Mikhail, > > (I'm not from the Keystone team, but did some patches for using > keystonauth1). > > > > > 2. Even if auth_url is set, it can't be used later, because it is not >

Re: [openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-15 Thread Gyorgy Szombathelyi
Hi Mikhail, (I'm not from the Keystone team, but did some patches for using keystonauth1). > > 2. Even if auth_url is set, it can't be used later, because it is not > registered in > oslo_config [5] auth_url is actually a dynamic parameter and depends on the keystone auth plugin used (auth_ty

[openstack-dev] [Keystone][Mistral][Devstack] Confusion between auth_url and auth_uri in keystone middleware

2017-06-15 Thread Mikhail Fedosin
Recently I decided to remove deprecated parameters from keystone_authtoken mistral config and replace them with recommended function of devstack [1]. In doing so, I discovered a strange behavior of configuration mechanism, and specifically parameters auth_uri and auth_url. 1. The parameter auth_ur