Unhelpful error message when neutron server is unavailable
Bug #1675394 reported by
Dr. Jens Harbott
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Confirmed
|
Undecided
|
Unassigned | ||
python-openstackclient (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When the neutron API is unavailable, I'm getting this error message which is not really helpful:
$ openstack extension list --network
'unicode' object has no attribute 'get'
The neutron CLI is showing the real error:
$ neutron ext-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
The server is currently unavailable. Please try again at a later time.<br /><br />
$
Running with --debug verifies that OSC is getting the same response, just doesn't handle it well, see attached output.
To post a comment you must log in.
The issue appears for OSC version 3.8.1 in Ubuntu Ocata UCA, after pip-installing OSC 3.9.0 I get the correct error message:
$ osc/bin/openstack extension list --network 6185-47de- 8512-8405dc5e57 cd)
HttpException: Service Unavailable (HTTP 503) (Request-ID: req-f790c8ee-