Bug 743813

Summary: A CPG client can sometimes lockup if the local node is in the downlist
Product: Red Hat Enterprise Linux 6 Reporter: Jan Friesse <jfriesse>
Component: corosyncAssignee: Jan Friesse <jfriesse>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: cluster-maint, jkortus, sdake
Target Milestone: rc   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: corosync-1.4.1-5.el6 Doc Type: Bug Fix
Doc Text:
Cause Booting large cluster in same moment / stating many corosync at same time. Consequence Sometimes, CPG events are not send to user. Fix Properly check leave reason in cpg service. Result CPG events are sent to user.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:22:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 756082    
Attachments:
Description Flags
Proposed patch none

Description Jan Friesse 2011-10-06 07:32:58 UTC
Created attachment 526639 [details]
Proposed patch

Description of problem:
In a 10-node cluster where all nodes are booting up and starting corosync
    at the same time, sometimes during this process corosync detects a node as
    leaving and rejoining the cluster.

    Occasionally the downlist that gets picked contains the local node. When the
    local node sends leave events for the downlist (including itself), it sets
    its cpd state to CPD_STATE_UNJOINED and clears the cpd->group_name. This
    means it no longer sends CPG events to the CPG client.

Version-Release number of selected component (if applicable):
1.4.1

Comment 3 Jan Friesse 2012-03-07 07:28:00 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
Booting large cluster in same moment / stating many corosync at same time.

Consequence
Sometimes, CPG events are not send to user.

Fix
Properly check leave reason in cpg service.

Result
CPG events are sent to user.

Comment 7 errata-xmlrpc 2012-06-20 12:22:46 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-2012-0777.html