horizon login failed with "resource not available"

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

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

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

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


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-05-09 00:10:44 -0600

Seen: 237 times

Last updated: May 09 '16