Ask Your Question
0

Openstack keystone setup - "The resource could not be found (HTTP 404)"

asked 2015-07-31 16:33:14 -0500

ntpttr gravatar image

I'm going through the OpenStack minimal setup installation through the docs here http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-verify.html (http://docs.openstack.org/kilo/instal...), and everything has been working - until I try to verify the setup using the CLI. I'm able to get a token using "openstack token issue", but when I then try and do "openstack project list" (after setting 'source admin-openrc.sh and getting the token) I get an error saying that the resource could not be found. Does anyone know any fixes for this? Here is the debug output in pastebin. Thank you.

http://pastebin.com/myPLipJF

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-08-27 01:58:34 -0500

jianzj gravatar image

Hi,

Actually, from the link you gave, I found 404 error is because your command run an error API that does not exist.

"DEBUG: urllib3.connectionpool "GET /v3/tenants HTTP/1.1" 404 93"

You know keystone service have two versions api, v2 and v3, and v2 will be deprecated in M release. And another thing is that in V3 api, tenant will be named project. So this API "/v3/tenants" does not exist, so you will get a 404

As I know , it may be some problem of openstackclient useage problem. I suggest you run command with this parameter to have a try :

"openstack --os-identity-api-version 3 project list" , it will use the right v3 api , and if your user credential info is correct , it will show project list.

edit flag offensive delete link more

Comments

worked for me thanks

pan_kremilek gravatar imagepan_kremilek ( 2015-09-07 23:33:36 -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: 2015-07-31 16:33:14 -0500

Seen: 5,053 times

Last updated: Aug 27 '15