OS cli doesn't handle cinder 503 response
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
New
|
Undecided
|
Unassigned |
Bug Description
$ openstack --version
openstack 3.2.0
vagrant@node1:~$ pip list | fgrep client
ndg-httpsclient (0.4.0)
os-client-config (1.21.1)
python-cinderclient (1.9.0)
python-glanceclient (2.5.0)
python-
python-
python-novaclient (6.0.0)
python-
websocket-client (0.37.0)
I have a cinder-api missonfigured and it returns:
RESP BODY: {"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}
But OS cli doesn't handle this properly and returns:
AttributeError: 'unicode' object has no attribute 'get'
Full log:
http://
What does `cinder list` output? What is the desired/expected behaviour? Given a misconfigured service, there isn't much a client can do to solve the problem. Are you asking for a better error message with no stacktrace?