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) < [email protected]> 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 <[email protected]> > Gerrit-Reviewer: Alan Pevec <[email protected]> > Gerrit-Reviewer: Jenkins > Gerrit-Reviewer: Michael Still <[email protected]> > Gerrit-Reviewer: aababilov <[email protected]> > Gerrit-Reviewer: p-draigbrady <[email protected]> > -- Alessio Ababilov Software Engineer Grid Dynamics
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

