Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1080102

Summary: CPG membership may be inconsistent after node pause
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kurik <jkurik>
Component: corosyncAssignee: Jan Friesse <jfriesse>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.6CC: ccaulfie, cluster-maint, jfriesse, jkortus, jruemker, mjuricek, pm-eus
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: corosync-1.4.1-15.el6.2 Doc Type: Bug Fix
Doc Text:
Cause: Corosync on one of node is paused. On other nodes, cpg clients are killed. Consequence: Corosync on paused node after resume never finds out that on other nodes cpg clients were killed and still believes they are alive. Membership (cpg one) is different between nodes. Fix: Make sure that corosync properly updates it's internal informations about other nodes cpg clients. Result: Killed cpg clients are properly removed from internal structures so cpg membership is equivalent between nodes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-03 14:31:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1067043    
Bug Blocks:    
Attachments:
Description Flags
6.4.z-bz1080102-1-cpg-Refactor-mh_req_exec_cpg_procleave
none
6.4.z-bz1080102-2-cpg-Make-sure-nodid-is-always-logged-as-hex-num
none
6.4.z-bz1080102-3-cpg-Make-sure-left-nodes-are-really-removed none

Description Jan Kurik 2014-03-24 16:46:29 UTC
This bug has been copied from bug #1067043 and has been proposed
to be backported to 6.4 z-stream (EUS).

Comment 3 Jan Friesse 2014-03-28 12:34:03 UTC
Created attachment 879815 [details]
6.4.z-bz1080102-1-cpg-Refactor-mh_req_exec_cpg_procleave

cpg: Refactor mh_req_exec_cpg_procleave

Most of functionality is moved to do_proc_leave function to make it
reusable.

Signed-off-by: Jan Friesse <jfriesse>
Reviewed-by: Christine Caulfield <ccaulfie>
(backport from needle)

Comment 4 Jan Friesse 2014-03-28 12:34:06 UTC
Created attachment 879816 [details]
6.4.z-bz1080102-2-cpg-Make-sure-nodid-is-always-logged-as-hex-num

cpg: Make sure nodid is always logged as hex num

Also number is prefixed by 0x so it's easier to spot that number is
hexadecimal.

Signed-off-by: Jan Friesse <jfriesse>
Reviewed-by: Christine Caulfield <ccaulfie>
(backport from needle)

Comment 5 Jan Friesse 2014-03-28 12:34:09 UTC
Created attachment 879817 [details]
6.4.z-bz1080102-3-cpg-Make-sure-left-nodes-are-really-removed

cpg: Make sure left nodes are really removed

When node is paused and other nodes has in meantime exited cpg process,
paused node after resume doesn't update it's membership correctly so on
previously paused node exited cpg process is still visible.

Solution is to compare join list with cpd and remove all pids which are
not included in join list.

Signed-off-by: Jan Friesse <jfriesse>
Reviewed-by: Christine Caulfield <ccaulfie>
(backport from needle)

Comment 9 errata-xmlrpc 2014-04-03 14:31:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0358.html