diff options
author | Pádraig Brady <pbrady@redhat.com> | 2012-08-01 14:26:54 +0100 |
---|---|---|
committer | Pádraig Brady <pbrady@redhat.com> | 2012-08-02 21:54:35 +0100 |
commit | a5184d5dbf67630dac3abb69b1678b60807cfce7 (patch) | |
tree | 9c8ee5d194309784b577f960d6ea7cb7e4ee9e6f /nova/notifications.py | |
parent | 751270fd4618fe054d767159eb2373583a63742c (diff) | |
download | nova-a5184d5dbf67630dac3abb69b1678b60807cfce7.tar.gz nova-a5184d5dbf67630dac3abb69b1678b60807cfce7.tar.xz nova-a5184d5dbf67630dac3abb69b1678b60807cfce7.zip |
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
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions