<div dir="ltr">Thanks <span style="font-size:12.8px">György!</span><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 1:55 PM, Gyorgy Szombathelyi <span dir="ltr"><<a href="mailto:gyorgy.szombathelyi@doclerholding.com" target="_blank">gyorgy.szombathelyi@doclerholding.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Mikhail,<br>
<br>
(I'm not from the Keystone team, but did some patches for using keystonauth1).<br>
<span class="gmail-"><br>
><br>
> 2. Even if auth_url is set, it can't be used later, because it is not registered in<br>
> oslo_config [5]<br>
<br>
</span>auth_url is actually a dynamic parameter and depends on the keystone auth plugin used<br>
(auth_type=xxx). The plugin which needs this parameter, registers it.<br></blockquote><div><br></div><div>Based on this <a href="http://paste.openstack.org/show/612664/">http://paste.openstack.org/show/612664/</a> I would say that the plugin doesn't register it :(</div><div>It either can be a bug, or it was done intentionally, I don't know.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-"><br>
><br>
> So I would like to get an advise from keystone team and understand what I<br>
> should do in such cases. Official documentation doesn't add clarity on the<br>
> matter because it recommends to use auth_uri in some cases and auth_url in<br>
> others.<br>
> My suggestion is to add auth_url in the list of keystone authtoken<br>
> middleware config options, so that the parameter can be used by the others.<br>
<br>
</span>Yepp, this makes some confusion, but adding auth_url will make a clash with<br>
most (all?) authentication plugins. auth_url can be considered as an 'internal'<br>
option for the keystoneauth1 modules, and not used by anything else (like<br>
the keystonemiddleware itself). However if there would be a more elagant<br>
solution, I would also hear about it.<br>
<br>
><br>
> Best,<br>
> Mike<br>
><br>
Br,<br>
György<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a></blockquote><div><br></div><div>My final thought that we have to use both (auth_url and auth_uri) options in mistral config, which looks ugly, but necessary.</div><div><br></div><div>Best,</div><div>Mike</div></div><br></div></div>