[Bugs] [Bug 1297862] Ganesha hook script executes showmount and causes a hang

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 14 11:34:50 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1297862



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13230 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com) 
------
commit 8dcc5596c5370fcbee6ac8fc89cc90ff1d5fd29a
Author: Niels de Vos <ndevos at redhat.com>
Date:   Tue Jan 12 17:35:34 2016 +0100

    scripts: prevent running 'showmount' from the start/post hook script

    The 31ganesha-start.sh hook script tries to run 'showmount' to see if
    the volume that is getting started should get exported by NFS-Ganesha.
    It was reported that this caused the 'gluster volume start ...' command
    to hang in case rpcbind is not running.

    Instead of running 'showmount', we can use DBus to contact NFS-Ganesha
    directly, and request the available exports. This will immediately fail
    in case NFS-Ganesha is not running.

    Cherry picked from commit 2b2294d2a4ef221fccb6eb9f74e9b7dc233b9f1d:
    > BUG: 1294446
    > Change-Id: I3aba1f86fead67116ca5adb1864a8be626c334fa
    > Reported-by: Jeff Darcy <jdarcy at redhat.com>
    > Signed-off-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-on: http://review.gluster.org/13098
    > Tested-by: Raghavendra Talur <rtalur at redhat.com>
    > Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>

    BUG: 1297862
    Change-Id: I3aba1f86fead67116ca5adb1864a8be626c334fa
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/13230
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=hmxrjdSa16&a=cc_unsubscribe


More information about the Bugs mailing list