Traceback in xenapi/vmops.py masks real exception
Bug #785843 reported by
Matt Dietz
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Ed Leafe |
Bug Description
Specifically this:
if vm_ref is None:
raise exception.
instance_obj isn't always defined, so a referenced before assignment exception is raised instead of the actual intended exception
Related branches
lp:~ed-leafe/nova/lp785843
- Mark Washenberger (community): Approve
- Josh Kearney (community): Approve
- Rick Harris (community): Approve
-
Diff: 13 lines (+2/-1)1 file modifiednova/virt/xenapi/vmops.py (+2/-1)
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Ed Leafe (ed-leafe) |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | diablo-1 → 2011.3 |
To post a comment you must log in.