Ask Your Question

keystone config and verification

asked 2016-07-07 10:27:47 -0500

keinlezard gravatar image

Hello I 'm folowing this doc (

when I arrive to the verify section ... I correctly set my env

but :(

openstack --os-auth-url http://controler:5000/v3 --os-project-domain-name default --os-user-domain-name default --os-project-name demo --os-username demo token issue after demanding password always returns Not Found ( HTTP 404 )

I have same issue with openstack --os-auth-url http://controler:35357/v3 --os-project-domain-name default --os-user-domain-name default --os-project-name admin --os-username admin token issue

Some hints ?

Thanks :)

edit retag flag offensive close merge delete


Make sure that controller is resolved to your controller node via DNS or /etc/hosts. Also using the openstack CLI client with --debug flag could point things out.

cheers, hauke

haukebruno gravatar imagehaukebruno ( 2016-07-08 00:52:37 -0500 )edit

1 answer

Sort by ┬╗ oldest newest most voted

answered 2016-07-08 02:21:32 -0500

keinlezard gravatar image

updated 2016-07-08 02:22:22 -0500

Hello controller ( which is named controler in my /etc/hosts is known :) )       localhost
#      controller compute1.ostack.local compute1 network.ostack.local network controler.ostack.local controler

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

I start openstack CLI with --debut option I had following answer ... and always 404 error

`REQ: curl -g -i -X GET http://controler:35357/v3 -H "Accept: application/json" -H "User-Agent: python-openstackclient keystoneauth1/2.8.0 python-requests/2.10.0 CPython/2.7.9"
Starting new HTTP connection (1): controler
"GET /v3 HTTP/1.1" 200 252
RESP: [200] Date: Fri, 08 Jul 2016 07:13:08 GMT Server: Apache/2.4.10 (Debian) Vary: X-Auth-Token x-openstack-request-id: req-432d32e2-6e8e-4163-915a-a92c0f4675fa Content-Length: 252 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json 
RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "", "rel": "self"}]}}

Making authentication request to
Starting new HTTP connection (1):
"POST /identity/v3/auth/tokens HTTP/1.1" 404 296
Request returned failure status: 404
Not Found (HTTP 404)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/cliff/", line 339, in run_subcommand
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/", line 445, in prepare_to_run_command
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/", line 238, in auth_ref
    self._auth_ref = self.auth.get_auth_ref(self.session)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/", line 186, in get_auth_ref
    return self._plugin.get_auth_ref(session, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3/", line 191, in get_auth_ref
    authenticated=False, log=False, **rkwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/", line 592, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/", line 40, in request
    resp = super(TimingSession, self).request(url, method, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/positional/", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/", line 487, in request
    raise exceptions.from_response(resp, method, url)
NotFound: Not Found (HTTP 404)
clean_up ListHost: Not Found (HTTP 404)
Not Found (HTTP 404)`

As far as I understand ( I'm newbie ) it's a resolver problem but all my d├ęclaration seems good


edit flag offensive delete link more


Hello, Finally I found my mistake ... keystone.conf made reference to another IP ... then I comment the lines ... And it works ! :) Thank you :)

keinlezard gravatar imagekeinlezard ( 2016-07-11 08:50:16 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-07-07 10:27:47 -0500

Seen: 385 times

Last updated: Jul 08 '16