Ask Your Question
1

The X-Auth-token created using REST api call doesn't work? Whereas the token generated using commandline works. [closed]

asked 2015-07-30 01:26:15 -0500

soumitrakarmakar gravatar image

I am generating X-Auth-Token using REST API from a REST client but the token seems invalid, it doesn't authenticate. Can someone tell me why? Where as the token created using command line works

openstack --os-auth-url http://controller:35357 --os-project-name admin --os-username admin --os-auth-type password token issue

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by soumitrakarmakar
close date 2015-08-06 03:26:13.283864

Comments

I believe port 35357 corresponds to the admin token in the first few lines of "/etc/keystone/keystone.conf" To use the token you generated, use keystone at port 5000.

~RP

rpga95 gravatar imagerpga95 ( 2015-07-30 13:35:46 -0500 )edit

I guess the difference is between v2 and v3 api.

soumitrakarmakar gravatar imagesoumitrakarmakar ( 2015-07-31 00:14:19 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-08-06 03:26:00 -0500

soumitrakarmakar gravatar image

Openstack Kilo doesn't ssupport V3 api authentication as of now.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-30 01:26:15 -0500

Seen: 555 times

Last updated: Aug 06 '15