Libvirt-LXC can leave image mounted to host
Bug #1333827 reported by
Rick Harris
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If an error occurs creating a Libvirt+LXC domain, the code can leave the guest FS mounted to host preventing the `lvremove` of a delete from working.
The core problem here is that any code between `setup_container` and `teardown_
While we're at it, we can also cleanup the exception handling by reducing the 3 independent exception handlers into a single one, which is then followed by the `finally` clause.
tags: | added: libvirt |
tags: | added: lxc |
Changed in nova: | |
assignee: | nobody → Vladik Romanovsky (vladik-romanovsky) |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Just FYI, proposed this patch a while back: https:/ /review. openstack. org/#/c/ 102324/