Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
pacemaker
bsc#1198715-0001-Log-controller-log-an-info-ins...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1198715-0001-Log-controller-log-an-info-instead-of-a-warning-for-.patch of Package pacemaker
From 8276b144b28ab3f77bcb9aec98a5d3a809e7b705 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Thu, 7 Jul 2022 10:50:40 +0200 Subject: [PATCH] Log: controller: log an info instead of a warning for a stonith/shutdown that is unknown to the new DC If it happens to be the old DC that has just shut down, the new DC may bring up this warning anyway. Although the message is more from the new DC's point of view purely regarding whether the event matches any running cluster transition, but it's confusing to end users since the shutdown was scheduled and should be "expected". Fixes T454 --- daemons/controld/controld_callbacks.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/daemons/controld/controld_callbacks.c b/daemons/controld/controld_callbacks.c index 05b88d0c2..e0a714b3d 100644 --- a/daemons/controld/controld_callbacks.c +++ b/daemons/controld/controld_callbacks.c @@ -289,8 +289,13 @@ peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *d } } else if (appeared == FALSE) { - crm_warn("Stonith/shutdown of node %s was not expected", - node->uname); + if (transition_graph == NULL || transition_graph->id == -1) { + crm_info("Stonith/shutdown of node %s is unknown to the " + "current DC", node->uname); + } else { + crm_warn("Stonith/shutdown of node %s was not expected", + node->uname); + } if (!is_remote) { crm_update_peer_join(__func__, node, crm_join_none); check_join_state(fsa_state, __func__); -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor