Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1440278

Summary: [GSS] NFS Sub-directory mount not working on solaris10 client
Product: [Community] GlusterFS Reporter: Bipin Kunal <bkunal>
Component: nfsAssignee: Bipin Kunal <bkunal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.10CC: bugs, ndevos, rtalur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Solaris   
Whiteboard:
Fixed In Version: glusterfs-3.10.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1440228 Environment:
Last Closed: 2017-05-31 20:45:58 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:
Embargoed:
Bug Depends On: 1426667    
Bug Blocks: 1442603    

Comment 1 Worker Ant 2017-04-10 06:49:12 UTC
REVIEW: https://review.gluster.org/17018 (nfs: make subdir mounting work for Solaris 10 clients) posted (#1) for review on release-3.10 by bipin kunal (bkunal)

Comment 2 Worker Ant 2017-04-27 10:44:47 UTC
COMMIT: https://review.gluster.org/17018 committed in release-3.10 by Raghavendra Talur (rtalur) 
------
commit 04730eda1794d89e1cc186c16a504e4586196988
Author: Bipin Kunal <bkunal>
Date:   Mon Feb 27 15:23:04 2017 +0530

    nfs: make subdir mounting work for Solaris 10 clients
    
    This fixes the segfault caused by solaris client in Gluster/NFS.
    Volname was not being parsed properly, Instead of volume
    name complete path was being used in nfs_mntpath_to_xlator().
    Fixed it by striping volume name from complete path  in nfs_mntpath_to_xlator().
    
    Modified function name nfs3_funge_solaris_zerolen_fh() to
    nfs3_funge_webnfs_zerolen_fh() as zero-filled filehandle is specific to WebNFS.
    RFC : https://tools.ietf.org/html/rfc2055
    Solaris uses WebNFS, the zero-filled FH is defined in the WebNFS spec.
    
    Logic was even added in fuction nfs3_funge_webnfs_zerolen_fh() to send
    subdir path in function glfs_resolve_at() instead of complete path for
    subdir mount.
    
    > Change-Id: I19aae3547b8910e7ed4974ee5385424cab3e834a
    > BUG: 1426667
    > Signed-off-by: Bipin Kunal <bkunal>
    > Reviewed-on: https://review.gluster.org/16770
    > Reviewed-by: Niels de Vos <ndevos>
    > Smoke: Gluster Build System <jenkins.org>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.org>
    > (cherry picked from commit 40e571339b3c19ab2a5b6a93bc46eadf2252d006)
    
    Change-Id: I0adfb1555be0c5bb43941530c5d87a820929a3cf
    BUG: 1440278
    Signed-off-by: Bipin Kunal <bkunal>
    Reviewed-on: https://review.gluster.org/17018
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>

Comment 3 Raghavendra Talur 2017-05-31 20:45:58 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.10.2, please open a new bug report.