Ask Your Question
0

horizon login failed with "resource not available"

asked 2016-05-09 00:34:26 -0500

Shimon Zadok gravatar image

Horizon sends:

POST /v3.0/auth/tokens HTTP/1.1
Host: ctl.m.org:35357
Content-Length: 168
Accept-Encoding: gzip, deflate
Accept: application/json
User-Agent: keystoneauth1/2.4.0 python-requests/2.9.1 CPython/2.7.6
Connection: keep-alive
Content-Type: application/json

{"auth": {"scope": {"unscoped": {}}, "identity": {"password": {"user": {"domain": {"name": "default"}, "password": "root", "name": "admin"}}, "methods": ["password"]}}

Horizon receives:

HTTP/1.1 404 Not Found
Date: Mon, 09 May 2016 05:07:57 GMT
Server: Apache/2.4.7 (Ubuntu)
Vary: X-Auth-Token
X-Distribution: Ubuntu
Content-Length: 93
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/json

{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}

I couldn't find any other interesting logs from keystone to find the error.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-09 00:37:46 -0500

Shimon Zadok gravatar image

thanks to sticker on #openstack freenode

the error comes from a wrong URI, which is an "unknown resource" for keystone. using v3 and not v3.0 in the URI fixed it.

/v3/auth/tokens and not /v3.0/auth/tokens

OPENSTACK_KEYSTONE_URL= .../v3 %...

edit flag offensive delete link more

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-05-09 00:10:44 -0500

Seen: 168 times

Last updated: May 09 '16