<div class="GJEA35ODOC"><p>Hi!</p><p></p><p></p><p>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.<br></p><p>Could you share your experience in reproducing and fixing this bug, please?</p><p>The same problem will be with sleeping for 4 seconds - the filesystem remains not synchronized.</p>
<p>Why are you against sync? It's innocent and it constantly fixes the bug.</p></div><br><div class="gmail_quote">On Wed, Jun 20, 2012 at 11:53 AM, p-draigbrady (Code Review) <span dir="ltr"><<a href="mailto:review@openstack.org" target="_blank">review@openstack.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">p-draigbrady has posted comments on this change.<br>
<div class="im"><br>
Change subject: repeat fusermount to avoid business<br>
......................................................................<br>
<br>
<br>
</div>Patch Set 2: (1 inline comment)<br>
<br>
comments line.<br>
cheers<br>
<div class="im"><br>
....................................................<br>
File nova/virt/disk/guestfs.py<br>
Line 91:         utils.execute('sync')<br>
</div>yes the attempts=4 is probably better.<br>
I would probably bump up a bit to 6,7 ?<br>
Have we tested how successful these numbers are, and on what platform?<br>
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.<br>
<div class="im"><br>
--<br>
To view, visit <a href="https://review.openstack.org/8608" target="_blank">https://review.openstack.org/8608</a><br>
To unsubscribe, visit <a href="https://review.openstack.org/settings" target="_blank">https://review.openstack.org/settings</a><br>
<br>
</div>Gerrit-MessageType: comment<br>
<div class="HOEnZb"><div class="h5">Gerrit-Change-Id: I8ae786e105c08e1b5011a1b2a1dac048a710a1cb<br>
Gerrit-PatchSet: 2<br>
Gerrit-Project: openstack/nova<br>
Gerrit-Branch: master<br>
Gerrit-Owner: aababilov <<a href="mailto:aababilov@griddynamics.com">aababilov@griddynamics.com</a>><br>
Gerrit-Reviewer: Alan Pevec <<a href="mailto:apevec@gmail.com">apevec@gmail.com</a>><br>
Gerrit-Reviewer: Jenkins<br>
Gerrit-Reviewer: Michael Still <<a href="mailto:mikal@stillhq.com">mikal@stillhq.com</a>><br>
Gerrit-Reviewer: aababilov <<a href="mailto:aababilov@griddynamics.com">aababilov@griddynamics.com</a>><br>
Gerrit-Reviewer: p-draigbrady <P@draigBrady.com><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alessio Ababilov<br>Software Engineer<br>
                        
                                
                                
                                        Grid Dynamics<br><br>