nova/nova/virt/disk
Pádraig Brady a5184d5dbf fix unmounting of LXC containers
There were two issues here.

1. There was a global object stored for all instances,
thus the last mounted instance was always unmounted.

2. Even if there was only a single LXC instance in use,
the global object would be lost on restart of Nova.

Therefore we reset the internal state for the mount object,
by passing in the mount point to destroy_container(),
and querying the device in use for that mount point.

Fixes bug: 971621
Change-Id: I5442442f00d93f5e8b82f492d62918419db5cd3b
2012-08-02 21:54:35 +01:00
..
__init__.py Bug#898257 abstract out disk image access methods 2011-12-22 11:50:52 +00:00
api.py fix unmounting of LXC containers 2012-08-02 21:54:35 +01:00
guestfs.py fix unmounting of LXC containers 2012-08-02 21:54:35 +01:00
loop.py fix unmounting of LXC containers 2012-08-02 21:54:35 +01:00
mount.py fix unmounting of LXC containers 2012-08-02 21:54:35 +01:00
nbd.py fix unmounting of LXC containers 2012-08-02 21:54:35 +01:00