diff options
| author | Pádraig Brady <pbrady@redhat.com> | 2012-07-11 23:45:28 +0100 |
|---|---|---|
| committer | Pádraig Brady <pbrady@redhat.com> | 2012-07-12 00:01:12 +0100 |
| commit | 5eea8879b6f3268dcaba326193bef0ed75470bb7 (patch) | |
| tree | 9ea315530e069c223eb9eb6b36e64c1ab9e28f88 /nova/openstack | |
| parent | 647684adf2514fe9f0a1f142871f489bcd4a1c1a (diff) | |
| download | nova-5eea8879b6f3268dcaba326193bef0ed75470bb7.tar.gz nova-5eea8879b6f3268dcaba326193bef0ed75470bb7.tar.xz nova-5eea8879b6f3268dcaba326193bef0ed75470bb7.zip | |
ensure libguestfs mounts are cleaned up
Make a few attempts to umount the libguestfs
mounts, in case other processes are accessing
the mounts (like udev etc.)
If we still can't umount after 5 attempts
(with average delay of about 1s between each),
then initiate a lazy umount so that the mounts
might be automatically cleaned up at some stage.
We wait a further 10s after initiating the lazy
umount, before raising an exception.
Addresses the original issue in bug 1013689
Change-Id: Ib5ede9f705c833825a19308c140f99c5bf3a776f
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
