[Bugs] [Bug 1338969] common-ha: ganesha.nfsd not put into NFS-GRACE after fail-back

bugzilla at redhat.com bugzilla at redhat.com
Tue May 24 09:36:48 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14508 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com) 
------
commit 2de43f41b0d9a4e6b08447e86cc83ac3f4bc7684
Author: Kaleb S KEITHLEY <kkeithle at redhat.com>
Date:   Mon May 23 15:41:51 2016 -0400

    common-ha: post fail-back, ganesha.nfsds are not put into NFS-GRACE

    A little known, rarely used feature of pacemaker called
    "notification" is used to follow the status of the ganesha.nfsds
    in the cluster. This is done with location constraints and other
    Black Magick.

    When a nfsd dies, the ganesha-active attribute is cleared, the
    associated floating IP (VIP) fails over to another node, and the
    ganesha_grace notify method is invoked with post-stop on all the
    nodes where the ganesha.nfsd is still running. The notify methods
    send dbus msgs to put their nfsds into NFS-GRACE, and the nfsds
    perform their grace processing, e.g. taking over locks from the
    failed nfsd.

    N.B. Fail-back was originally not planned to be a feature for
    glusterfs-3.7, but we sorta got it for free.

    For fail-back, the opposite occurs. The ganesha-active attribute
    is recreated, the floating IP fails back, and the notify method is
    invoked with pre-start on all the nodes where the surviving
    ganesha.nfsds continue to run. The notify methods send dbus msgs
    again to put their nsfds into NFS-GRACE again, and the nfsds clean
    up their locks.

    backport mainline
    > http://review.gluster.org/14506
    > BUG: 1338967
    release-3.8
    > http://review.gluster.org/14507
    > BUG: 1338968

    Change-Id: I3fc64afa20ae3a928143d69aa533a8df68dd680e
    BUG: 1338969
    Signed-off-by: Kaleb S KEITHLEY <kkeithle at redhat.com>
    Reviewed-on: http://review.gluster.org/14508
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: soumya k <skoduri 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=1xYsZn1QRg&a=cc_unsubscribe


More information about the Bugs mailing list