[Bugs] [Bug 1343287] Enabling glusternfs with nfs.rpc-auth-allow to many hosts failed

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 13 10:11:04 UTC 2016


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



--- Comment #5 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14700 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit dca103a2830746e08bea6b576465956f6568b521
Author: Bipin Kunal <bkunal at redhat.com>
Date:   Fri Jun 10 17:47:51 2016 +0530

    nfs: build exportlist with multiple groupnodes

    The EXPORT procedure of the MOUNT protocol does not correctly create
    structures for the 'groupnodes' in the reply. Each 'groupnode' should be
    a single entry in the 'nfs.rpc-auth-allow' volume option. Because the
    value is handled as a single string, the encoding of the
    groupnode->gr_name fails when the value of the volume option is longer
    than 255 characters.

    In the error case, encoding the EXPORTS reply fails, and the waiting
    'showmount' command will not receive a reply and times out.

    Splitting the allowed entries and creating a groupnode for each one
    prevents the too long ->gr_name. This is following the structures for
    the EXPORTS reply in the MOUNT protocol more correctly as well. Note
    that the contents of ->gr_name is expected to be server dependent.

    This is backport of below mainline fix -
        http://review.gluster.org/#/c/14667/

    Change-Id: Ibbabad581cc9aa00feb80fbbc851a1b10b28383d
    BUG: 1343287
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Signed-off-by: Bipin Kunal <bkunal at redhat.com>
    Reviewed-on: http://review.gluster.org/14700
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: bipin kunal <kunalbipin at gmail.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.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=0IIRlw9s4T&a=cc_unsubscribe


More information about the Bugs mailing list