Bug 1426667 - [GSS] NFS Sub-directory mount not working on solaris10 client
Summary: [GSS] NFS Sub-directory mount not working on solaris10 client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: mainline
Hardware: x86_64
OS: Solaris
high
high
Target Milestone: ---
Assignee: Bipin Kunal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1372283 1440228 1440278 1445594
TreeView+ depends on / blocked
 
Reported: 2017-02-24 14:54 UTC by Bipin Kunal
Modified: 2017-05-30 18:45 UTC (History)
12 users (show)

Fixed In Version: glusterfs-3.11.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1372283
: 1440228 (view as bug list)
Environment:
Last Closed: 2017-05-30 18:45:26 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 2 Atin Mukherjee 2017-02-24 15:12:01 UTC
Ah, I see its an upstream bug. Please ensure that all the downstream tracker bugs are removed from upstream bugs.

Comment 3 Worker Ant 2017-02-27 09:54:03 UTC
REVIEW: https://review.gluster.org/16770 (fixes : NFS subdir mount for Solaris client) posted (#1) for review on master by bipin kunal (bkunal)

Comment 4 Worker Ant 2017-03-10 10:18:26 UTC
REVIEW: https://review.gluster.org/16770 (nfs: make subdir mounting work for Solaris 10 clients) posted (#2) for review on master by bipin kunal (bkunal)

Comment 5 Worker Ant 2017-03-31 12:53:30 UTC
REVIEW: https://review.gluster.org/16770 (nfs: make subdir mounting work for Solaris 10 clients) posted (#3) for review on master by Niels de Vos (ndevos)

Comment 7 Worker Ant 2017-04-07 10:37:31 UTC
COMMIT: https://review.gluster.org/16770 committed in master by Niels de Vos (ndevos) 
------
commit 40e571339b3c19ab2a5b6a93bc46eadf2252d006
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>

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

Comment 9 Shyamsundar 2017-05-30 18:45:26 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.11.0, please open a new bug report.

glusterfs-3.11.0 has been announced on the Gluster mailinglists [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://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.