[Openstack] [bug] cannot umount guestfs (Bug #1013689)

Alexey Ababilov aababilov at griddynamics.com
Thu Jun 21 07:40:31 UTC 2012


Hi!

On our machines ins Grid Dynamics (HP ProBooks and miscellaneous servers),
repeating unmount if it reported "device or resource is busy" while
spawning a VM is not acceptable. Very often, unmount is reported as
_successful_ during the _first_ attempt, but the filesystem remains
_unsynchronized_ and authorized_keys are not updated, so, the VM is not
accessible by ssh. That looks strange, but it really happens.

Could you share your experience in reproducing and fixing this bug, please?

The same problem will be with sleeping for 4 seconds - the filesystem
remains not synchronized.

Why are you against sync? It's innocent and it constantly fixes the bug.

On Wed, Jun 20, 2012 at 11:53 AM, p-draigbrady (Code Review) <
review at openstack.org> wrote:

> p-draigbrady has posted comments on this change.
>
> Change subject: repeat fusermount to avoid business
> ......................................................................
>
>
> Patch Set 2: (1 inline comment)
>
> comments line.
> cheers
>
> ....................................................
> File nova/virt/disk/guestfs.py
> Line 91:         utils.execute('sync')
> yes the attempts=4 is probably better.
> I would probably bump up a bit to 6,7 ?
> Have we tested how successful these numbers are, and on what platform?
> Also if we have a failure even after X attempts, we should still call
> another fusermount with the -z param added so that stale mounts are cleaned
> up at some stage.
>
> --
> To view, visit https://review.openstack.org/8608
> To unsubscribe, visit https://review.openstack.org/settings
>
> Gerrit-MessageType: comment
> Gerrit-Change-Id: I8ae786e105c08e1b5011a1b2a1dac048a710a1cb
> Gerrit-PatchSet: 2
> Gerrit-Project: openstack/nova
> Gerrit-Branch: master
> Gerrit-Owner: aababilov <aababilov at griddynamics.com>
> Gerrit-Reviewer: Alan Pevec <apevec at gmail.com>
> Gerrit-Reviewer: Jenkins
> Gerrit-Reviewer: Michael Still <mikal at stillhq.com>
> Gerrit-Reviewer: aababilov <aababilov at griddynamics.com>
> Gerrit-Reviewer: p-draigbrady <P at draigBrady.com>
>



-- 
Alessio Ababilov
Software Engineer
Grid Dynamics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120621/d2755020/attachment.html>


More information about the Openstack mailing list