<div dir="ltr"><div>I think you may have hit an issue with a specific version of auth token middleware, where one of the options was incorrectly "deprecated" and warns. I'm sure either Steve or I can dig up the specific info on that, it might be a minor version bump of keystonemiddleware package needed or similar. I am fairly certain that is just an erroneous message but would like to confirm before saying it's 100% certain you can ignore it and it will stop warning/wont break you in the future. At least until your next upgrade (and we'll work to check for beyond that), that message can be treated as advisory and will not impact your running cloud.<br><br></div><div>--Morgan<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 1:04 PM, Mārtiņš Jakubovičs <span dir="ltr"><<a href="mailto:martins-lists@hostnet.lv" target="_blank">martins-lists@hostnet.lv</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
With experimenting I got at least something more clear...<span class=""><br>
<br>
[keystone_authtoken]<br>
auth_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a><br></span><span class="">
auth_url = <a href="http://controller:35357" target="_blank">http://controller:35357</a><br></span>
auth_plugin = password<br>
project_domain_id = default<br>
user_domain_id = default<br>
project_name = service<span class=""><br>
username = glance<br>
password = XXX<br>
<br></span>
But now I got really confusing warning message:<br>
<br>
WARNING oslo_config.cfg [-] Option "username" from group
"keystone_authtoken" is deprecated. Use option "user-name" from
group "keystone_authtoken".<br>
<br>
If I change username to user-name glance auth is not working, and
changing back to username works. Looks like bug...<br>
<br>
Best regards,<br>
Martins<span class=""><br>
<br>
<div>On 2016.02.18. 22:01, Steve Martinelli
wrote:<br>
</div>
</span><blockquote type="cite"><span class="">
<p>Looks like you need to update a few options...<br>
<br>
This patch is here: <a href="https://review.openstack.org/#/c/280887/" target="_blank">https://review.openstack.org/#/c/280887/</a>
is trying to update the sample in glance's documentation.<br>
<br>
In short, you should be able to remove all those and use:<br>
<br>
auth_url = <a href="http://localhost:35357/" target="_blank">http://controller:35357</a><br>
project_domain_id = default<br>
project_name = service<br>
user_domain_id = default<br>
username = glance<br>
password = XXX<br>
<br>
stevemar<br>
<br>
<img src="cid:part3.05070009.04040308@hostnet.lv" alt="Inactive
hide details for Mārtiņš Jakubovičs ---2016/02/18 02:37:33
PM---Hello, Can someone point how to get away from this" border="0" height="16" width="16"><font color="#424282">Mārtiņš
Jakubovičs ---2016/02/18 02:37:33 PM---Hello, Can someone
point how to get away from this annoying warning in
glance-api?</font><br>
<br>
<font color="#5F5F5F" size="2">From: </font><font size="2">Mārtiņš
Jakubovičs <a href="mailto:martins-lists@hostnet.lv" target="_blank"><martins-lists@hostnet.lv></a></font><br>
<font color="#5F5F5F" size="2">To: </font><font size="2"><a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a></font><br>
<font color="#5F5F5F" size="2">Date: </font><font size="2">2016/02/18
02:37 PM</font><br>
<font color="#5F5F5F" size="2">Subject: </font><font size="2">[Openstack]
Annoying warning</font><br>
</p>
<hr style="color:#8091a5" size="2" noshade width="100%" align="left"><br>
<br>
<br>
</span><div><div class="h5"><tt>Hello,<br>
<br>
Can someone point how to get away from this annoying warning in
glance-api?<br>
<br>
2016-02-18 21:17:09.140 22878 WARNING
keystonemiddleware.auth_token [-] <br>
Use of the auth_admin_prefix, auth_host, auth_port,
auth_protocol, <br>
identity_uri, admin_token, admin_user, admin_password, and <br>
admin_tenant_name configuration options is deprecated in favor
of <br>
auth_plugin and related options and may be removed in a future
release.<br>
<br>
OpenStack Liberty, glance host - Ubuntu 14.04.<br>
<br>
Keystone auth section in glance-api.conf:<br>
<br>
[keystone_authtoken]<br>
auth_uri = </tt><tt><a href="http://controller:5000" target="_blank">http://controller:5000</a></tt><tt><br>
identity_uri = </tt><tt><a href="http://controller:35357/" target="_blank">http://controller:35357/</a></tt><tt><br>
admin_user = glance<br>
admin_password = XXX<br>
admin_tenant_name = service<br>
<br>
Best regards,<br>
Martins<br>
<br>
_______________________________________________<br>
Mailing list: </tt><tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></tt><tt><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : </tt><tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></tt><tt><br>
<br>
</tt><br>
<br>
<br>
</div></div></blockquote>
<br>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>