pacemaker/bug-806256_pacemaker-log-level-notice.patch

59 lines
2.8 KiB
Diff
Raw Normal View History

commit b802c689cdad03a185c5c6689741e2a4db8d5924
Author: Gao,Yan <ygao@suse.com>
Date: Thu Mar 14 09:41:53 2013 +0800
Log: Change some messages to notice level (bnc#806256)
- cpg: Correctly free sent messages - crm_resource: Present an error if an admin tries to --force-start an already active resource - cluster: Correctly construct the header for compressed messages - PE: Re-allow ordering constraints with fencing devices now that it is safe to do so - cl#5170 - Correctly support on-fail=block for clones - PE: Do the right thing when admins specify the internal resource instead of the clone - fencing: Correctly detect existing device entries when registering a new one - crm_node: Return 0 if --remove passed - remove the mainloop_trigger that are no longer needed. - corosync: Ensure removed peers are erased from all caches - cluster: Detect and warn about node names with capitals - Upstream version cs: 9abe6876d50ff2879f17b08dfa1500817a7fbeba - crmd: Prevent messages for remote crmd clients from being relayed to wrong daemons - lrmd: Prevent use-of-NULL in client library - Upstream version cs: 9d656180294770e39deced79a134d4cf531b8159 - Bug cl#5168 - Prevent clones from being bounced around the cluster due to location constraints - Upstream version cs: 90b8afe77ab8a3ff2fd30826187fd7726aab4f04 - crm_mon: Bug cl#5167 - Only print "stopped" node list for incomplete clone sets - Upstream version cs: d16f4c56b120c5ae761680cfb4d98922a185c6c2 - Fix: memory leak when used score2char() - Fencing: Avoid hashtable lookups in NULL - Fencing: Force use of the calculated command for support ops - Bug cl#5157 - Allow migration in the absence of some colocation constraints - PE: Detect constraints with inappropriate actions (ie. promote for a clone) - PE: Do the right thing when admins specify the internal resource instead of the clone OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=47
2013-07-22 12:12:36 +02:00
Index: pacemaker/crmd/callbacks.c
===================================================================
--- pacemaker.orig/crmd/callbacks.c
+++ pacemaker/crmd/callbacks.c
@@ -179,7 +179,7 @@ peer_update_callback(enum crm_status_typ
const char *task = crm_element_value(down->xml, XML_LRM_ATTR_TASK);
if (alive && safe_str_eq(task, CRM_OP_FENCE)) {
- crm_info("Node return implies stonith of %s (action %d) completed", node->uname,
+ crm_notice("Node return implies stonith of %s (action %d) completed", node->uname,
down->id);
erase_status_tag(node->uname, XML_CIB_TAG_LRM, cib_scope_local);
erase_status_tag(node->uname, XML_TAG_TRANSIENT_NODEATTRS, cib_scope_local);
- cpg: Correctly free sent messages - crm_resource: Present an error if an admin tries to --force-start an already active resource - cluster: Correctly construct the header for compressed messages - PE: Re-allow ordering constraints with fencing devices now that it is safe to do so - cl#5170 - Correctly support on-fail=block for clones - PE: Do the right thing when admins specify the internal resource instead of the clone - fencing: Correctly detect existing device entries when registering a new one - crm_node: Return 0 if --remove passed - remove the mainloop_trigger that are no longer needed. - corosync: Ensure removed peers are erased from all caches - cluster: Detect and warn about node names with capitals - Upstream version cs: 9abe6876d50ff2879f17b08dfa1500817a7fbeba - crmd: Prevent messages for remote crmd clients from being relayed to wrong daemons - lrmd: Prevent use-of-NULL in client library - Upstream version cs: 9d656180294770e39deced79a134d4cf531b8159 - Bug cl#5168 - Prevent clones from being bounced around the cluster due to location constraints - Upstream version cs: 90b8afe77ab8a3ff2fd30826187fd7726aab4f04 - crm_mon: Bug cl#5167 - Only print "stopped" node list for incomplete clone sets - Upstream version cs: d16f4c56b120c5ae761680cfb4d98922a185c6c2 - Fix: memory leak when used score2char() - Fencing: Avoid hashtable lookups in NULL - Fencing: Force use of the calculated command for support ops - Bug cl#5157 - Allow migration in the absence of some colocation constraints - PE: Detect constraints with inappropriate actions (ie. promote for a clone) - PE: Do the right thing when admins specify the internal resource instead of the clone OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=47
2013-07-22 12:12:36 +02:00
Index: pacemaker/crmd/membership.c
===================================================================
--- pacemaker.orig/crmd/membership.c
+++ pacemaker/crmd/membership.c
@@ -297,7 +297,7 @@ crm_update_quorum(gboolean quorum, gbool
crm_xml_add(update, XML_ATTR_DC_UUID, fsa_our_uuid);
fsa_cib_update(XML_TAG_CIB, update, call_options, call_id, NULL);
- crm_debug("Updating quorum status to %s (call=%d)", quorum ? "true" : "false", call_id);
+ crm_notice("Updating quorum status to %s (call=%d)", quorum ? "true" : "false", call_id);
fsa_register_cib_callback(call_id, FALSE, NULL, cib_quorum_update_complete);
free_xml(update);
}
- cpg: Correctly free sent messages - crm_resource: Present an error if an admin tries to --force-start an already active resource - cluster: Correctly construct the header for compressed messages - PE: Re-allow ordering constraints with fencing devices now that it is safe to do so - cl#5170 - Correctly support on-fail=block for clones - PE: Do the right thing when admins specify the internal resource instead of the clone - fencing: Correctly detect existing device entries when registering a new one - crm_node: Return 0 if --remove passed - remove the mainloop_trigger that are no longer needed. - corosync: Ensure removed peers are erased from all caches - cluster: Detect and warn about node names with capitals - Upstream version cs: 9abe6876d50ff2879f17b08dfa1500817a7fbeba - crmd: Prevent messages for remote crmd clients from being relayed to wrong daemons - lrmd: Prevent use-of-NULL in client library - Upstream version cs: 9d656180294770e39deced79a134d4cf531b8159 - Bug cl#5168 - Prevent clones from being bounced around the cluster due to location constraints - Upstream version cs: 90b8afe77ab8a3ff2fd30826187fd7726aab4f04 - crm_mon: Bug cl#5167 - Only print "stopped" node list for incomplete clone sets - Upstream version cs: d16f4c56b120c5ae761680cfb4d98922a185c6c2 - Fix: memory leak when used score2char() - Fencing: Avoid hashtable lookups in NULL - Fencing: Force use of the calculated command for support ops - Bug cl#5157 - Allow migration in the absence of some colocation constraints - PE: Detect constraints with inappropriate actions (ie. promote for a clone) - PE: Do the right thing when admins specify the internal resource instead of the clone OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=47
2013-07-22 12:12:36 +02:00
Index: pacemaker/crmd/tengine.c
===================================================================
--- pacemaker.orig/crmd/tengine.c
+++ pacemaker/crmd/tengine.c
@@ -204,7 +204,7 @@ do_te_invoke(long long action,
destroy_graph(transition_graph);
transition_graph = unpack_graph(graph_data, graph_input);
CRM_CHECK(transition_graph != NULL, transition_graph = create_blank_graph(); return);
- crm_info("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref,
+ crm_notice("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref,
graph_input);
value = crm_element_value(graph_data, "failed-stop-offset");
- cpg: Correctly free sent messages - crm_resource: Present an error if an admin tries to --force-start an already active resource - cluster: Correctly construct the header for compressed messages - PE: Re-allow ordering constraints with fencing devices now that it is safe to do so - cl#5170 - Correctly support on-fail=block for clones - PE: Do the right thing when admins specify the internal resource instead of the clone - fencing: Correctly detect existing device entries when registering a new one - crm_node: Return 0 if --remove passed - remove the mainloop_trigger that are no longer needed. - corosync: Ensure removed peers are erased from all caches - cluster: Detect and warn about node names with capitals - Upstream version cs: 9abe6876d50ff2879f17b08dfa1500817a7fbeba - crmd: Prevent messages for remote crmd clients from being relayed to wrong daemons - lrmd: Prevent use-of-NULL in client library - Upstream version cs: 9d656180294770e39deced79a134d4cf531b8159 - Bug cl#5168 - Prevent clones from being bounced around the cluster due to location constraints - Upstream version cs: 90b8afe77ab8a3ff2fd30826187fd7726aab4f04 - crm_mon: Bug cl#5167 - Only print "stopped" node list for incomplete clone sets - Upstream version cs: d16f4c56b120c5ae761680cfb4d98922a185c6c2 - Fix: memory leak when used score2char() - Fencing: Avoid hashtable lookups in NULL - Fencing: Force use of the calculated command for support ops - Bug cl#5157 - Allow migration in the absence of some colocation constraints - PE: Detect constraints with inappropriate actions (ie. promote for a clone) - PE: Do the right thing when admins specify the internal resource instead of the clone OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=47
2013-07-22 12:12:36 +02:00
Index: pacemaker/fencing/remote.c
===================================================================
--- pacemaker.orig/fencing/remote.c
+++ pacemaker/fencing/remote.c
@@ -341,7 +341,7 @@ remote_op_timeout(gpointer userdata)
return FALSE;
}
- crm_debug("Action %s (%s) for %s (%s) timed out",
+ crm_notice("Action %s (%s) for %s (%s) timed out",
op->action, op->id, op->target, op->client_name);
op->state = st_failed;
remote_op_done(op, NULL, -ETIME, FALSE);