When you enter an endpoint that isn't running keystone, just sits there
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Expired
|
Low
|
Unassigned |
Bug Description
Did a fairly simple "woops" while walking through install docs, where I put in the wrong IP address for the endpoint. It just sat there for a while until I cancelled the request. I think a more graceful error message "No Keystone server running at <IP address>" would help.
nova@ubuntu:~$ keystone --token 012345SECRET99T
^X
^CTraceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
OpenStackId
File "/usr/lib/
args.
File "/usr/lib/
enabled=
File "/usr/lib/
return self._create(
File "/usr/lib/
resp, body = self.api.post(url, body=body)
File "/usr/lib/
return self._cs_
File "/usr/lib/
**kwargs)
File "/usr/lib/
**request_
File "/usr/lib/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/
(response, content) = self._conn_
File "/usr/lib/
conn.connect()
File "/usr/lib/
self.
File "/usr/lib/
return getattr(
This is my running result with a fake host "test". It seems in the end it will exit as you wish. test:35357/ v2.0 tenant-create --name testtenat .client"
[root@robinlinux keystone3]# keystone --token ADMIN --endpoint http://
No handlers could be found for logger "keystoneclient
Unable to communicate with identity service: [Errno 110] Connection timed out. (HTTP 400)