Swap not being cleaned up on exception
Bug #945198 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Rick Harris |
Bug Description
If an exception is raised during spawn instance (in XenServer), we can end up leaving the swap as an orphaned VDI.
There are two approaches to fixing this:
1. A long, involved approach of refactoring much of _create_vm into separate, atomic steps that can support fine-grained undoability.
2. Making _create_vm's undo func call _destroy instead of _destroy_vm.
1) is probably too risky for this late in the release, so I'm opting for 2) with an eye to tackling a more complete rework down the road.
Changed in nova: | |
assignee: | nobody → Rick Harris (rconradharris) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/4836
Review: https:/