<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 8, 2014 at 4:20 PM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On Tue, Apr 08, 2014 at 03:50:42PM +0530, Deepak Shetty wrote:<br>
&gt; Hi All,<br>
&gt;    I am wondering if this I am the only one seeing this or there are enuf<br>
&gt; reasons why mount.glusterfs returns 0 (which means success) as the exit<br>
&gt; code for error cases ?<br>
&gt; Bcos of this cinder (openstack service) code is misled as it thinks<br>
&gt; mounting glusterfs volume on already mounted volume is successfull and<br>
&gt; never gets into the warning/error flow!<br>
&gt; (Not to mention that i spent 1+ days debugging and reaching that<br>
&gt; conclusion!!!)<br>
<br>
</div>This should definitely get fixed in the mount.glusterfs shell script.<br>
The correct return values are listed in &#39;man 8 mount&#39;. Please file a bug<br>
for this:<br>
- <a href="https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&amp;component=scripts" target="_blank">https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&amp;component=scripts</a><br></blockquote><div><br>
</div><div>There was already a similar bug opened and in NEW state since Nov 2013<br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1031973">https://bugzilla.redhat.com/show_bug.cgi?id=1031973</a><br><br></div><div>
I added my comments and increased the prio and imp of that bug<br>in the hope that it will be assigned and fixed :)<br><br></div><div>thanx,<br>deepak<br></div></div><br></div></div>