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

59 lines
2.7 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
- Rebase: * bug-806256_pacemaker-log-level-notice.patch - Drop the obsolete patch: * bug-800323_pacemaker-crm_mon-save-cib.patch - Probe for baremetal remote-node connection resources. - remote: Add support for ipv6 into pacemaker_remote daemon - election/fencing: Fix the casts that would result in incorrect values for big-endian systems (bnc#842915) - Fencing: Apply correct score to the resource of group - crm_resource: Wait for the correct number of replies when cleaning up resources (bnc#842204) - cpg: Only process one message at a time to allow other priority jobs to be performed - remote: Handle endian changes between client and server and improve forward compatibility - crmd: A more reliable method of looking up migration options - crmd: Allow non-CIB based throttling to be disabled - crmd: Honor load thresholds lower than the cib maximum - crmd: Tell the DC our job limit instead of the number of cores - crmd: Track the CIB's CPU usage - crmd: Fold the enforcement of migration-limit into the throttling code - crmd: Don't start throttling until we're over the target threshold - crmd: Do not send throttle updates to versions that don't support them - ipc: Use the higher of the configured buffer size or the default - crmd: Tweak the throttling threshold multipliers - crmd: Simplify option processing for throttling options - crmd: Simplify the logic for calculating the number of available cores - crmd: Make the per-node action limit directly configurable in the CIB - crmd: Tweak the throttling code based on migration-limit and/or LRMD_MAX_CHILDREN (bnc#838358) - crmd: Slow down recovery on nodes with IO load - crmd: Make the utilization limit configurable - crmd: Use the load on our peers to know how many jobs to send them - crmd: Notify peers of our relative load - remote: Properly version the remote connection protocol OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=74
2013-11-10 02:38:35 +01:00
@@ -182,7 +182,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
- Rebase: * bug-806256_pacemaker-log-level-notice.patch - Drop the obsolete patch: * bug-800323_pacemaker-crm_mon-save-cib.patch - Probe for baremetal remote-node connection resources. - remote: Add support for ipv6 into pacemaker_remote daemon - election/fencing: Fix the casts that would result in incorrect values for big-endian systems (bnc#842915) - Fencing: Apply correct score to the resource of group - crm_resource: Wait for the correct number of replies when cleaning up resources (bnc#842204) - cpg: Only process one message at a time to allow other priority jobs to be performed - remote: Handle endian changes between client and server and improve forward compatibility - crmd: A more reliable method of looking up migration options - crmd: Allow non-CIB based throttling to be disabled - crmd: Honor load thresholds lower than the cib maximum - crmd: Tell the DC our job limit instead of the number of cores - crmd: Track the CIB's CPU usage - crmd: Fold the enforcement of migration-limit into the throttling code - crmd: Don't start throttling until we're over the target threshold - crmd: Do not send throttle updates to versions that don't support them - ipc: Use the higher of the configured buffer size or the default - crmd: Tweak the throttling threshold multipliers - crmd: Simplify option processing for throttling options - crmd: Simplify the logic for calculating the number of available cores - crmd: Make the per-node action limit directly configurable in the CIB - crmd: Tweak the throttling code based on migration-limit and/or LRMD_MAX_CHILDREN (bnc#838358) - crmd: Slow down recovery on nodes with IO load - crmd: Make the utilization limit configurable - crmd: Use the load on our peers to know how many jobs to send them - crmd: Notify peers of our relative load - remote: Properly version the remote connection protocol OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=74
2013-11-10 02:38:35 +01:00
@@ -312,7 +312,7 @@ crm_update_quorum(gboolean quorum, gbool
- 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
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);
- Rebase: * bug-806256_pacemaker-log-level-notice.patch - Drop the obsolete patch: * bug-800323_pacemaker-crm_mon-save-cib.patch - Probe for baremetal remote-node connection resources. - remote: Add support for ipv6 into pacemaker_remote daemon - election/fencing: Fix the casts that would result in incorrect values for big-endian systems (bnc#842915) - Fencing: Apply correct score to the resource of group - crm_resource: Wait for the correct number of replies when cleaning up resources (bnc#842204) - cpg: Only process one message at a time to allow other priority jobs to be performed - remote: Handle endian changes between client and server and improve forward compatibility - crmd: A more reliable method of looking up migration options - crmd: Allow non-CIB based throttling to be disabled - crmd: Honor load thresholds lower than the cib maximum - crmd: Tell the DC our job limit instead of the number of cores - crmd: Track the CIB's CPU usage - crmd: Fold the enforcement of migration-limit into the throttling code - crmd: Don't start throttling until we're over the target threshold - crmd: Do not send throttle updates to versions that don't support them - ipc: Use the higher of the configured buffer size or the default - crmd: Tweak the throttling threshold multipliers - crmd: Simplify option processing for throttling options - crmd: Simplify the logic for calculating the number of available cores - crmd: Make the per-node action limit directly configurable in the CIB - crmd: Tweak the throttling code based on migration-limit and/or LRMD_MAX_CHILDREN (bnc#838358) - crmd: Slow down recovery on nodes with IO load - crmd: Make the utilization limit configurable - crmd: Use the load on our peers to know how many jobs to send them - crmd: Notify peers of our relative load - remote: Properly version the remote connection protocol OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=74
2013-11-10 02:38:35 +01:00
te_reset_job_counts();
- 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
- Rebase: * bug-806256_pacemaker-log-level-notice.patch - Drop the obsolete patch: * bug-800323_pacemaker-crm_mon-save-cib.patch - Probe for baremetal remote-node connection resources. - remote: Add support for ipv6 into pacemaker_remote daemon - election/fencing: Fix the casts that would result in incorrect values for big-endian systems (bnc#842915) - Fencing: Apply correct score to the resource of group - crm_resource: Wait for the correct number of replies when cleaning up resources (bnc#842204) - cpg: Only process one message at a time to allow other priority jobs to be performed - remote: Handle endian changes between client and server and improve forward compatibility - crmd: A more reliable method of looking up migration options - crmd: Allow non-CIB based throttling to be disabled - crmd: Honor load thresholds lower than the cib maximum - crmd: Tell the DC our job limit instead of the number of cores - crmd: Track the CIB's CPU usage - crmd: Fold the enforcement of migration-limit into the throttling code - crmd: Don't start throttling until we're over the target threshold - crmd: Do not send throttle updates to versions that don't support them - ipc: Use the higher of the configured buffer size or the default - crmd: Tweak the throttling threshold multipliers - crmd: Simplify option processing for throttling options - crmd: Simplify the logic for calculating the number of available cores - crmd: Make the per-node action limit directly configurable in the CIB - crmd: Tweak the throttling code based on migration-limit and/or LRMD_MAX_CHILDREN (bnc#838358) - crmd: Slow down recovery on nodes with IO load - crmd: Make the utilization limit configurable - crmd: Use the load on our peers to know how many jobs to send them - crmd: Notify peers of our relative load - remote: Properly version the remote connection protocol OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=74
2013-11-10 02:38:35 +01:00
@@ -345,7 +345,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: advertise default port correctly, further adjust default timeout periods - remote: report timestamps for remote connection resource operations - pengine: allow remote-nodes to be placed in maintenance mode - xml: Prevent assert errors in crm_element_value() on applying a patch without version information (bsc#900296) - pengine: prevent disabling rsc discovery per node in certain situations - crm_resource: avoid deletion of lrm cache on node with resource discovery disabled. - pengine: per-node control over resource discovery - mainloop: fix potential segfault for fd = 0 - ping: Correct metadata for attempts parameter (bsc#899324) - ping: Pass extra options to fping (bsc#899324) - ping: Remove incorrectly advertised migrate_to|migrate_from (bsc#899324) - ping: Add use_fping parameter (bsc#899324) - ping: Correctly advertise multiplier default (bsc#899324) - pengine: resource discovery mode for location constraints - cib: Ensure upgrade operations from a non-DC get an acknowledgement - lrmd: cancel pending async connection during disconnect - systemd: Ensure we don't call dbus_message_unref() with NULL - systemd: Perform monitor operations without blocking - dbus: Notice when dbus connections get disabled - pengine: allow baremetal remote-nodes to recover without requiring fencing when cluster-node fails - crmd: do not remove connection resources during re-probe - pengine: only fence baremetal remote when connection can fails or can not be recovered - ipc: properly allocate server enforced buffer size on client - remote: advertise more reasonable timeout periods for remote-nodes connections - crmd: properly update job limit for baremetal remote-nodes - crmd: Remote-node throttle jobs count towards cluster-node hosting conneciton rsc - crmd: Ensure throttle_mode() does something on Linux - systemd: Perform actions asynchronously - crm_attribute: Correctly update config options when -o crm_config is specified - crmd: Fixes crash when remote connection migration fails OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=164
2014-10-17 15:03:04 +02:00