[Pacemaker] Monitoring on master node not running after standby is connected

Andrew Beekhof andrew at beekhof.net
Mon Sep 23 05:38:17 UTC 2013


On 20/09/2013, at 1:39 AM, Juraj Fabo <juraj.fabo at gmail.com> wrote:

> diff -urp pacemaker-Pacemaker-1.1.10.z0/crmd/lrm.c
> pacemaker-Pacemaker-1.1.10/crmd/lrm.c
> --- pacemaker-Pacemaker-1.1.10.z0/crmd/lrm.c    2013-07-26
> 00:02:31.000000000 +0000
> +++ pacemaker-Pacemaker-1.1.10/crmd/lrm.c       2013-08-27
> 10:10:57.000000000 +0000
> @@ -340,7 +340,7 @@ lrm_state_verify_stopped(lrm_state_t * l
>             lrm_state->pending_ops, stop_recurring_actions, lrm_state);
> 
>         crm_notice("Stopped %u recurring operations at %s (%u ops remaining)",
> -                   g_hash_table_size(lrm_state->pending_ops), removed, when);
> +                   g_hash_table_size(lrm_state->pending_ops), when, removed);
>     }
> 
>     if (lrm_state->pending_ops) {

Should be:

diff --git a/crmd/lrm.c b/crmd/lrm.c
index 734f73f..191625b 100644
--- a/crmd/lrm.c
+++ b/crmd/lrm.c
@@ -353,7 +353,7 @@ lrm_state_verify_stopped(lrm_state_t * lrm_state, enum crmd_fsa_state cur_state,
             lrm_state->pending_ops, stop_recurring_actions, lrm_state);
 
         crm_notice("Stopped %u recurring operations at %s (%u ops remaining)",
-                   g_hash_table_size(lrm_state->pending_ops), when, removed);
+                   removed, when, g_hash_table_size(lrm_state->pending_ops));
     }
 
     if (lrm_state->pending_ops) {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130923/819b9932/attachment-0009.sig>


More information about the Pacemaker mailing list