<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"><<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>></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>
> Hi All,<br>
> I am wondering if this I am the only one seeing this or there are enuf<br>
> reasons why mount.glusterfs returns 0 (which means success) as the exit<br>
> code for error cases ?<br>
> Bcos of this cinder (openstack service) code is misled as it thinks<br>
> mounting glusterfs volume on already mounted volume is successfull and<br>
> never gets into the warning/error flow!<br>
> (Not to mention that i spent 1+ days debugging and reaching that<br>
> conclusion!!!)<br>
<br>
</div>This should definitely get fixed in the mount.glusterfs shell script.<br>
The correct return values are listed in 'man 8 mount'. Please file a bug<br>
for this:<br>
- <a href="https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&component=scripts" target="_blank">https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&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>