|
From: | Deepak Shetty |
Subject: | Re: [Gluster-devel] Incorrect exit code from mount.glusterfs |
Date: | Tue, 8 Apr 2014 16:50:58 +0530 |
On Tue, Apr 08, 2014 at 03:50:42PM +0530, Deepak Shetty wrote:This should definitely get fixed in the mount.glusterfs shell script.
> Hi All,
> I am wondering if this I am the only one seeing this or there are enuf
> reasons why mount.glusterfs returns 0 (which means success) as the exit
> code for error cases ?
> Bcos of this cinder (openstack service) code is misled as it thinks
> mounting glusterfs volume on already mounted volume is successfull and
> never gets into the warning/error flow!
> (Not to mention that i spent 1+ days debugging and reaching that
> conclusion!!!)
The correct return values are listed in 'man 8 mount'. Please file a bug
for this:
- https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&component=scripts
[Prev in Thread] | Current Thread | [Next in Thread] |