OSAPI: some http bad requests fail to set explanation
Bug #797743 reported by
Alex Meade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Titan |
Bug Description
There are numerous cases where the explanation is not getting set for HTTP 400 Bad Requests. In many cases these are also not wrapped in faults.Fault.
Ex:
return webob.exc.
should be:
msg = _("Unsupported Content-Type")
return faults.
Related branches
lp:~rackspace-titan/nova/osapi-400-msgs
- Josh Kearney (community): Approve
- Brian Waldon (community): Approve
- Alex Meade (community): Approve
- William Wolf (community): Approve
-
Diff: 108 lines (+14/-14)3 files modifiednova/api/openstack/create_instance_helper.py (+6/-6)
nova/api/openstack/servers.py (+4/-4)
nova/api/openstack/wsgi.py (+4/-4)
Changed in nova: | |
assignee: | nobody → Titan (rackspace-titan) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-2 |
Changed in nova: | |
milestone: | diablo-2 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.