Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx> --- exec/main.c | 8 ++++++++ exec/totemsrp.c | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/exec/main.c b/exec/main.c index c21f47f..fc7c8c3 100644 --- a/exec/main.c +++ b/exec/main.c @@ -494,6 +494,14 @@ static void corosync_totem_stats_updater (void *data) icmap_set_uint8("runtime.totem.pg.mrp.srp.firewall_enabled_or_nic_failure", stats->mrp->srp->continuous_gather > MAX_NO_CONT_GATHER ? 1 : 0); + if (stats->mrp->srp->continuous_gather > MAX_NO_CONT_GATHER) { + log_printf (LOGSYS_LEVEL_WARNING, + "Totem is unable to form a cluster because of an " + "operating system or network fault. The most common " + "cause of this message is that the local firewall is " + "configured improperly."); + } + for (i = 0; i < stats->mrp->srp->rrp->interface_count; i++) { snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "runtime.totem.pg.mrp.rrp.%u.faulty", i); icmap_set_uint8(key_name, stats->mrp->srp->rrp->faulty[i]); diff --git a/exec/totemsrp.c b/exec/totemsrp.c index 8f9f243..ec951df 100644 --- a/exec/totemsrp.c +++ b/exec/totemsrp.c @@ -1988,14 +1988,6 @@ static void memb_state_gather_enter ( instance->stats.continuous_gather++; } - if (instance->stats.continuous_gather > MAX_NO_CONT_GATHER) { - log_printf (instance->totemsrp_log_level_warning, - "Totem is unable to form a cluster because of an " - "operating system or network fault. The most common " - "cause of this message is that the local firewall is " - "configured improperly."); - } - return; } -- 1.7.1 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss