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.

Attachment: trac2198.patch
Description: Binary data

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to