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.

--Morgan

On Thu, Feb 18, 2016 at 1:04 PM, Mārtiņš Jakubovičs <
[email protected]> wrote:

> With experimenting I got at least something more clear...
>
> [keystone_authtoken]
> auth_uri = http://controller:5000
> auth_url = http://controller:35357
> auth_plugin = password
> project_domain_id = default
> user_domain_id = default
> project_name = service
> username = glance
> password = XXX
>
> But now I got really confusing warning message:
>
> WARNING oslo_config.cfg [-] Option "username" from group
> "keystone_authtoken" is deprecated. Use option "user-name" from group
> "keystone_authtoken".
>
> If I change username to user-name glance auth is not working, and changing
> back to username works. Looks like bug...
>
> Best regards,
> Martins
>
> On 2016.02.18. 22:01, Steve Martinelli wrote:
>
> Looks like you need to update a few options...
>
> This patch is here: https://review.openstack.org/#/c/280887/ is trying to
> update the sample in glance's documentation.
>
> In short, you should be able to remove all those and use:
>
> auth_url = http://controller:35357 <http://localhost:35357/>
> project_domain_id = default
> project_name = service
> user_domain_id = default
> username = glance
> password = XXX
>
> stevemar
>
> [image: 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]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?
>
> From: Mārtiņš Jakubovičs <[email protected]>
> <[email protected]>
> To: [email protected]
> Date: 2016/02/18 02:37 PM
> Subject: [Openstack] Annoying warning
> ------------------------------
>
>
>
> Hello,
>
> Can someone point how to get away from this annoying warning in glance-api?
>
> 2016-02-18 21:17:09.140 22878 WARNING keystonemiddleware.auth_token [-]
> Use of the auth_admin_prefix, auth_host, auth_port, auth_protocol,
> identity_uri, admin_token, admin_user, admin_password, and
> admin_tenant_name configuration options is deprecated in favor of
> auth_plugin and related options and may be removed in a future release.
>
> OpenStack Liberty, glance host - Ubuntu 14.04.
>
> Keystone auth section in glance-api.conf:
>
> [keystone_authtoken]
> auth_uri = http://controller:5000
> identity_uri = http://controller:35357/
> admin_user = glance
> admin_password = XXX
> admin_tenant_name = service
>
> Best regards,
> Martins
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : [email protected]
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : [email protected]
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to