[Pacemaker] [Patch] The log when I lost Quorum is never output.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Wed Oct 17 03:41:30 EDT 2012


Hi All,

I watched a source of crmd of ClusterLabs-pacemaker-1.0-Pacemaker-1.0.12-116-gf372204.zip.

I found the log("Quorum lost: ....") processing that was never output.
The cause that log is not output is fsa_have_quorum.
This value is always FALSE.

(snip)
* crmd/callback.c
#if SUPPORT_HEARTBEAT
static gboolean fsa_have_quorum = FALSE;
(snip)
	if(update_quorum) {
	    crm_have_quorum = ccm_have_quorum(event);
	    crm_update_quorum(crm_have_quorum, FALSE);

	    if(crm_have_quorum == FALSE) {
			/* did we just loose quorum? */
			if(fsa_have_quorum) {
		    	crm_info("Quorum lost: %s", ccm_event_name(event));
			}
	    }
	}
(snip)

I made a patch to output this log.
Please apply to a repository if this patch does not have a problem.

Best Regards,
Hideo Yamauchi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trac2198.patch
Type: application/octet-stream
Size: 881 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121017/ad90d913/attachment-0002.obj>


More information about the Pacemaker mailing list