server response to 500 error is unhelpful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
dan wendlandt |
Bug Description
Currently, a 500 error on the server results in the server returning a message body that includes str(e), where e is the exception object. This can lead to leaking internal server details (bad), and very confusing messages. For example, when the server had an exception that was a "KeyError: 'id'", the server returned;
EBUG: quantumclient.
This results in very confusing output, for example, an attempt to create a floating IP which failed with the above message body appears to the user as:
nicira@
'id'
That is, it just prints "id" and that's it.
Changed in quantum: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → dan wendlandt (danwent) |
milestone: | none → folsom-rc1 |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | folsom-rc1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/12667
Review: https:/