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

Inactive hide details for Mārtiņš Jakubovičs ---2016/02/18 02:37:33 PM---Hello, Can someone point how to get away from thisMā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]>
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

Reply via email to