Ask Your Question
0

liberty endpoint and keystone_authtoken

asked 2016-01-15 02:24:09 -0500

lufaxo gravatar image

updated 2016-01-15 02:29:01 -0500

I'm currently setting up glance to work with keystone:

Keystone Endpoints:

| x | r1 | keystone     | identity     | True    | internal  | http://controller:5000/v3
| x | r1 | keystone     | identity     | True    | public    | http://controller:5000/v3
| x | r1 | keystone     | identity     | True    | admin     | http://controller:35357/v3

and the glance endpoints:

| x | r1| glance       | image        | True    | public    | http://controller:9292
| x | r1| glance       | image        | True    | admin     | http://controller:9292
| x | r1| glance       | image        | True    | internal  | http://controller:9292

and the following glance-api and glance registry configuration:

auth_strategy = keystone

[keystone_authtoken]
auth_uri = http://controller:5000/v3     #versioned
auth_url = http://controller:35357
admin_tenant_name = service
admin_user = glance
admin_password = x
auth_version = 3

But I always get 401 Unauthenticated.

Where do I put the versioned endpoint, and which url/uris are correct?

Could someone post a valid authentication section from liberty and identity api 3?

Whats the difference between auth_url, auth_uri and identity_uri? which has to be versioned?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2016-01-17 22:15:28 -0500

sanjay gravatar image

both registery and api this information required. [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 = xxxxx

edit flag offensive delete link more

Comments

Thank you!

lufaxo gravatar imagelufaxo ( 2016-02-25 09:48:01 -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-01-15 02:24:09 -0500

Seen: 489 times

Last updated: Jan 17 '16