python-ironicclient does not show error messages
Bug #1387101 reported by
Yuriy Zveryanskyy
This bug report is a duplicate of:
Bug #1386470: Using the CLI with insufficient privileges results in incorrect error.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
New
|
Undecided
|
Unassigned |
Bug Description
Example:
yura@dev-0:~$ ironic node-create
'unicode' object has no attribute 'get'
Our API service works correct:
yura@dev-0:~$ curl -i -X POST http://
HTTP/1.0 400 Bad Request
Date: Wed, 29 Oct 2014 10:19:57 GMT
Server: WSGIServer/0.1 Python/2.7.6
Content-Type: application/json
Content-Length: 173
{"error_message": "{\"debuginfo\": null, \"faultcode\": \"Client\", \"faultstring\": \"Invalid input for field/attribute driver. Value: 'None'. Mandatory field missing.\"}"}
To post a comment you must log in.