Ask Your Question

Endpoint location for keystone issue.

asked 2012-07-16 16:56:09 -0500

I had to change the IP of the host that has keystone installed. I didn't want to complete redo keystone so I changed the IP in the keystone db under endpoints. BUT the following is giving me problems. Keystone is still querying the old IP which causes anything that uses Keystone to fail.


root@cloud001:/var/lib# keystone --debug user-list connect: (, 35357) connect fail: ('', 35357) connect: (, 35357) connect fail: ('', 35357) No handlers could be found for logger "keystoneclient.client" Traceback (most recent call last): File "/usr/bin/keystone", line 9, in <module> load_entry_point('python-keystoneclient==2012.1', 'console_scripts', 'keystone')() File "/usr/lib/python2.7/dist-packages/keystoneclient/", line 306, in main OpenStackIdentityShell().main(sys.argv[1:]) File "/usr/lib/python2.7/dist-packages/keystoneclient/", line 266, in main args.func(self.cs, args) File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/", line 28, in do_user_list users = kc.users.list(tenant_id=args.tenant) File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/", line 120, in list return self._list("/users%s" % query, "users") File "/usr/lib/python2.7/dist-packages/keystoneclient/", line 65, in _list resp, body = self.api.get(url) File "/usr/lib/python2.7/dist-packages/keystoneclient/", line 166, in get return self._cs_request(url, 'GET', *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/", line 150, in _cs_request *kwargs) File "/usr/lib/python2.7/dist-packages/keystoneclient/", line 130, in request raise exceptions.from_response(resp, body) keystoneclient.exceptions.BadRequest: Unable to communicate with identity service: [Errno 113] No route to host. (HTTP 400)

But if I query it directly .. all the endpoints are correct in the output.

Example: keystone --token xxxxxxxSECRETTOKENxxxxxxx --endpoint endpoint-list

I've hunted through the DB and did GTMF but I can't seem to find where the holdover is. The bare metal box is suppose to be .120 and is in the keystone endpoints table of the mysql db ... I just can't find where keystone is pulling the OLD ip from.

Any help would be awesome

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-07-16 20:29:49 -0500

.bash_aliases has the following inserted into it.

alias keystone='keystone --token SECRETTOKEN --endpoint'

The proverbial needle in a haystack ... an alias that's inserted and NOT BOLDED with " we did this .. don't forget! "


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-07-16 16:56:09 -0500

Seen: 82 times

Last updated: Jul 16 '12