Ask Your Question
0

glance configuration options in docs

asked 2016-02-01 21:41:57 -0500

solarsail gravatar image

I am installing and configuring glance in a CentOS 7 VM, following the official guide http://docs.openstack.org/liberty/install-guide-rdo/glance-install.html. It suggests the following configuration in /etc/glance/glance-api.conf:

[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 = GLANCE_PASS

The auth_uri/auth_url pattern looks rather bizarre to me. Thus I referred to the http://docs.openstack.org/liberty/config-reference/content/ch_configuring-openstack-image-service.html (configuration reference), and it has identity_uri instead. Do they function in the same way? auth_url is described as a registry configuration option, in the DEFAULT section, which should be in /etc/glance/glance-registry.conf I suppose? Furthermore, there are admin_user, admin_password, admin_tenant_name etc., but username, password, project_domain_id and others are not found in the reference. Which document is correct, or both are? Why?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-04 02:13:29 -0500

Hi,

here you got a link where to find information about auth_plugin usage, it explains why auth_url and auth_uri are used instead of the older ones(admin_user,admin_password, ...)

http://www.jamielennox.net/blog/2015/02/23/v3-authentication-with-auth-token-middleware/

Regards

edit flag offensive delete link more

Comments

That's informative. Thanks!

solarsail gravatar imagesolarsail ( 2016-02-05 22:04:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-02-01 21:41:57 -0500

Seen: 113 times

Last updated: Feb 04 '16