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

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 4 12:10:31 UTC 2016


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



--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13519 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 85b9e8ebb89ecadd30a364853e1e7c706dcce968
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Thu Feb 25 14:42:48 2016 +0530

    glusterd: reject peer probe from a reinstalled node

    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: 1311874
    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>

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


More information about the Bugs mailing list