placement trait and inventory handler use nonstandard HTTP error message details
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Balazs Gibizer | ||
Pike |
Fix Released
|
Medium
|
Elod Illes | ||
Queens |
Fix Released
|
Medium
|
Balazs Gibizer |
Bug Description
DELETE /traits/<standard trait name>
Actual
------
{"errors": [{"status": 400, "request_id": "req-b30e30ba-
Expected
--------
{"errors": [{"status": 400, "request_id": "req-3caa15be-
Most of the placement wsgi code passes one positional argument to the constructor of the webob.exc.HTTPXXX exception classes but the trait [1] and inventory handlers uses the 'explanation' kwargs. As the above example shows this leads to different behavior. This inconsistency leads to incorrect behavior in osc placement client [2].
[1] https:/
[2] https:/
tags: | added: placement |
Changed in nova: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/568567
Review: https:/