File bug-1011240_pacemaker-crmd-increase-severity-fencing-didnt-happen.patch of Package pacemaker.8397
commit 5354348035762201a6c5b8c0f928e3f5fa6ccb17
Author: Michal Koutný <mkoutny@suse.com>
Date: Fri Nov 25 17:16:51 2016 +0100
Low: cmrd: increase severity when fencing didn't happen
Increase the level so that user is more strongly notified about possible
consequences of omitted fencing (even when ignoring notices).
diff --git a/crmd/te_callbacks.c b/crmd/te_callbacks.c
index 92cc7b832..4c86bde03 100644
--- a/crmd/te_callbacks.c
+++ b/crmd/te_callbacks.c
@@ -638,10 +638,10 @@ too_many_st_failures(void)
g_hash_table_iter_init(&iter, stonith_failures);
while (g_hash_table_iter_next(&iter, (gpointer *) & key, (gpointer *) & value)) {
if (value->count > 10) {
- crm_notice("Too many failures to fence %s (%d), giving up", key, value->count);
+ crm_warn("Too many failures to fence %s (%d), giving up", key, value->count);
return TRUE;
} else if (value->last_rc == -ENODEV) {
- crm_notice("No devices found in cluster to fence %s, giving up", key);
+ crm_warn("No devices found in cluster to fence %s, giving up", key);
return TRUE;
}
}