Client should be able to process the pecan constructed exceptions in the response body
Bug #1619471 reported by
Vladyslav Drok
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Fix Released
|
Medium
|
Vladyslav Drok |
Bug Description
Right now, the following problem exists:
ironic node-validate 123~123
Bad Request (HTTP 400)
The error text is ignored, as this is an exception raised by pecan from node controller _lookup method. Unlike wsme exceptions, the response body with this exception looks like this:
{"error_message": "{\"code\": 400, \"description\": \"Expected a logical name or UUID but received 123~123.\", \"title\": \"Bad Request\"}"}
Right now, the description field is ignored and client is looking for faultstring field in the response.
Changed in python-ironicclient: | |
assignee: | nobody → Vladyslav Drok (vdrok) |
Changed in python-ironicclient: | |
importance: | Undecided → Medium |
Changed in python-ironicclient: | |
assignee: | Vladyslav Drok (vdrok) → Julia Kreger (juliaashleykreger) |
Changed in python-ironicclient: | |
assignee: | Julia Kreger (juliaashleykreger) → Vladyslav Drok (vdrok) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/364566
Review: https:/