Ask Your Question
0

how to set Keystone API version to 3.0 when installing using devstack?

asked 2014-09-25 10:03:09 -0500

sumer_link gravatar image

updated 2014-09-25 11:35:58 -0500

I have performed a succesful install of Openstack using devstack. The list of API Endpoints is the one below. I need Keystone to be 3.0 so that I can use the new features it brings ( roles, groups ).

Anyone knows how? Please help. And thanks in advance :)

Compute http://16.77.62.235:8774/v2/ca8a1a3c191a47fe9eb7d85f2b043c97
Volumev2    http://16.77.62.235:8776/v2/ca8a1a3c191a47fe9eb7d85f2b043c97
Computev3   http://16.77.62.235:8774/v3
S3  http://16.77.62.235:3333
Image   http://16.77.62.235:9292
Cloudformation  http://16.77.62.235:8000/v1
Volume  http://16.77.62.235:8776/v1/ca8a1a3c191a47fe9eb7d85f2b043c97
EC2 http://16.77.62.235:8773/services/Cloud
Orchestration   http://16.77.62.235:8004/v1/ca8a1a3c191a47fe9eb7d85f2b043c97
**Identity  http://16.77.62.235:5000/v2.0**
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-25 11:52:25 -0500

Assuming you are using command line, as for as Identity is concerned, you can still hit v3 api and it doesn't have to be listed in in catalog.

As for as the token validation goes, it is by default v3. Keystoneclient uses discovery process interanlly to determine the version of api to to use. It doesn't use catalog. It will use catalog in case of federation which is still work in progress.

If you are using devstack, and if keystone is running under Apache, check the access log. All the token calls will be v3 by default.

edit flag offensive delete link more

Comments

the issue is that when running "curl [...]" http://[..]:5000/v2.0/tokens" I get back a token, and when running with v3/tokens I get Resource could not be found error. I changed the entries in the mysql keystone table and did other configs but nothing works.

I want to specify keystone to run v3.

sumer_link gravatar imagesumer_link ( 2014-09-29 04:32:50 -0500 )edit

V3 token request should be in v3 token format. Also the url for the v3 token is v3/auth/token and not v3/token.

Please refer here : http://docs.openstack.org/developer/k... .

You can just copy paste the requests from and change the credentials for your environment

Haneef Ali gravatar imageHaneef Ali ( 2014-09-29 10:20:38 -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: 2014-09-25 10:03:09 -0500

Seen: 1,431 times

Last updated: Sep 25 '14