wrap_exception munges exceptions which aren't Error or NovaException
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Prince |
Bug Description
exception.
2011-09-15 12:37:02,599 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: rval = node_func(
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: raise Error(str(e))
(nova.rpc): TRACE: Error: list index out of range
(nova.rpc): TRACE:
Good luck finding that one!
We have code in place to capture the exception stack trace before utils.to_primative munges everything for notification. Looks like we only use this code if the original exception inherits from Error or NovaException. We should robustly log all exceptions!
Related branches
- Matt Dietz (community): Approve
- Todd Willey (community): Needs Information
- Brian Lamar (community): Approve
-
Diff: 47 lines (+3/-11)2 files modifiednova/exception.py (+0/-7)
nova/tests/test_exception.py (+3/-4)
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Dan Prince (dan-prince) |
importance: | Undecided → High |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |