Bug 1015184

Summary: showmount timesout on fetching export information
Product: [Community] GlusterFS Reporter: rjoseph
Component: nfsAssignee: rjoseph
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: dblack, fharshav, gluster-bugs, joe.lin, rhs-bugs, saujain, shaines, vagarwal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 981035 Environment:
Last Closed: 2014-04-17 11:49:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 981035    
Bug Blocks:    

Comment 1 Anand Avati 2013-10-03 15:28:00 UTC
REVIEW: http://review.gluster.org/6030 (NFS: showmount timesout on fetching export list) posted (#3) for review on master by Rajesh Joseph (rjoseph)

Comment 2 Anand Avati 2013-10-04 05:37:20 UTC
REVIEW: http://review.gluster.org/6030 (NFS: showmount timesout on fetching export list) posted (#4) for review on master by Rajesh Joseph (rjoseph)

Comment 3 Anand Avati 2013-10-04 06:14:38 UTC
REVIEW: http://review.gluster.org/6030 (NFS: showmount timesout on fetching export list) posted (#5) for review on master by Rajesh Joseph (rjoseph)

Comment 4 Anand Avati 2013-10-05 03:15:47 UTC
COMMIT: http://review.gluster.org/6030 committed in master by Anand Avati (avati) 
------
commit 1f6b0f5cfc5abebe3a8facfb8b72e5554c1314d2
Author: Rajesh Joseph <rjoseph>
Date:   Thu Oct 3 15:08:34 2013 +0530

    NFS: showmount timesout on fetching export list
    
    Bug: 1015184
    
    Issue:  showmount timesout on fetching export list. Socket writev
            function is failing.
    Cause:  XDR encoding of export list is failing. The calling function
            without checking the error returned by xdr_serialize_exports
            function is going ahead and writting into the socket causing
            the NFS process to hang. xdr_serialize_exports function returns
            -1 on error and message length on success.
    Fix:    Caller should check if the function is returning -1 (error) or
            not before proceeding.
    
    Change-Id: Ic3a5a9356e47b2ac938dd3e429cf2b71c0a0c715
    Signed-off-by: Rajesh Joseph <rjoseph>
    Reviewed-on: http://review.gluster.org/6030
    Reviewed-by: Santosh Pradhan <spradhan>
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Anand Avati <avati>

Comment 5 Niels de Vos 2014-04-17 11:49:08 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.0, please reopen this bug report.

glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user