summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorChuck Short <chuck.short@canonical.com>2013-02-05 08:54:01 -0600
committerChuck Short <chuck.short@canonical.com>2013-02-05 10:12:35 -0600
commit00f66513690153125713fa4c48907387d8321b4a (patch)
treeb1f6c7a4987312d735827413029487ab5ea775e3 /nova/utils.py
parent139d15a40557066a39a1c2ba48c81711a9dd3730 (diff)
downloadnova-00f66513690153125713fa4c48907387d8321b4a.tar.gz
nova-00f66513690153125713fa4c48907387d8321b4a.tar.xz
nova-00f66513690153125713fa4c48907387d8321b4a.zip
lxc: Clean up namespace mounts
5f697f64e5c445ba1b62c82d9167fd6b9c7256d2 introduced a regression when using lxc containers with qcow2 and qemu-nbd. When removing the rootfs from the host namespace, it would terminate the qemu-nbd process as well. This would cause the kernel too oops under Ubuntu 13.04. Since the underlying device thtat the libvirt_lxc process disapears. To get around this we just clean up the host namespace if the instance is powered-on. When the instance terminates it will teardown the whole container. This fixes LP: #1115786 Change-Id: I98bec2338cb455dbd277295ab36767149e05634c Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions