[Bugs] [Bug 1315147] Peer probe from a reinstalled node should fail

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 24 15:09:13 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13619 committed in release-3.7 by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 43652d54591e13234e1556e563866f7ecc2b56d6
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Thu Feb 25 14:42:48 2016 +0530

    glusterd: reject peer probe from a reinstalled node

    Backport of http://review.gluster.org/13519

    In a cluster if a node (say N1) goes through a OS reinstallation then
probing
    some other node in the cluster from N1 doesn't fail as in
    gd_validate_mgmt_hndsk_req () uuid & hostname checks are done separately
but
    there should be one more check where both the conditions should meet.

    Steps to create the problem
    - N1 probes N2
    - bring down glusterd instance on N2
    - remove /var/lib/glusterd/* from N2
    - restart glusterd instance on N2
    - execute gluster peer probe N1 from N2

    Validations in gd_validate_mgmt_hndsk_req () has been improved to handle
this
    special case

    Change-Id: I3ba5d8e243bae07a7a6743d01b019e7014d39171
    BUG: 1315147
    Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-on: http://review.gluster.org/13519
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
    Reviewed-on: http://review.gluster.org/13619

-- 
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=o8PM8GAmwh&a=cc_unsubscribe


More information about the Bugs mailing list