pacemaker/bug-943295_pacemaker-lrmd-log-notice.patch

23 lines
933 B
Diff
Raw Normal View History

Accepting request 1131354 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.6+20231205.0f6fbd59f: - scheduler: log reason for recheck time updates - scheduler: update recheck time for node-pending-timeout - Update to version 2.1.6+20231204.e1a1bd808: - tools: Fix a regression in tool XML output. (clbz#5529) - Update to version 2.1.6+20231122.7534cc50a (Pacemaker-2.1.7-rc2): - rpm: require minimum libxml2 version of 2.6.0 - libcrmcommon: Write crm_verify detailed messages to XML - libcrmcommon: Use const for xmlCtxtGetLastError() (CLBZ#5530) - libcrmcommon: Drop deprecated libxml2 symbols (CLBZ#5530) - sysconfig: Use CRM_DAEMON_USER and CRM_DAEMON_GROUP - sysconfig: Fix defaults for dh_min_bits/dh_max_bits - sysconfig: Document PCMK_stderr - pacemakerd: Mark PCMK_shutdown_delay as deprecated - sysconfig: Document PCMK_cluster_type - sysconfig: Document PCMK_remote_pid1 - sysconfig: Document PCMK_node_action_limit - sysconfig: Mark PCMK_cib_timeout as deprecated - controld/schedullerd: Change the default value of node-pending-timeout to 0. - controld: Adding default value for node-pending-timeout. - crm_resource: make --wait wait for pending actions in CIB - Update to version 2.1.6+20231031.d0ef74d64 (Pacemaker-2.1.7-rc1): - attrd: revert faulty T138 fix - controller: bail if CIB modify fails within transaction - scheduler: don't show pending nodes as having "<3.15.1" feature set - Update to version 2.1.6+20231030.66cc0f083: OBS-URL: https://build.opensuse.org/request/show/1131354 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=385
2023-12-06 13:30:32 +01:00
Index: pacemaker-2.1.6+20230821.d00694366/daemons/execd/execd_commands.c
Accepting request 331915 from home:yan_gao:branches:network:ha-clustering:Factory:Test - remote: Revise a misleading message in the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-message.patch - remote: Correctly display the usage of the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-usage.patch - crm_resource: Allow the resource configuration to be modified for --force-{check,start,..} calls - Fencing: Correctly parse 'by-attribute' fencing levels - Fencing: Use dedicated fields for fencing level patterns and attribute matching - pacemaker_remote: memory leak in ipc_proxy_dispatch() - crmd: don't add node ID to proxied remote node requests for attrd - membership: Safely autoreap nodes without code duplication - PE: Resolve memory leak - pacemakerd: Do not forget about nodes that leave the cluster - corosync: Display node state and quorum data if available - crmd: Implement reliable event notifications - extra: Added snmp trap of type "NOTIFICATION-TYPE" to MIB and snmp helper script - Date: Correctly set time from seconds-since-epoch - PE: Bug cl#5247 - Imply resources running on a container are stopped when the container is stopped - Upstream version cs: 20c2178f076ff32fdf9ba9a467c193b8dac2f9e5 - lrmd: Upgrade start/finish log tags from INFO to NOTICE (bsc#943295) * bug-943295_pacemaker-lrmd-log-notice.patch OBS-URL: https://build.opensuse.org/request/show/331915 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=218
2015-09-18 13:56:45 +02:00
===================================================================
Accepting request 1131354 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.6+20231205.0f6fbd59f: - scheduler: log reason for recheck time updates - scheduler: update recheck time for node-pending-timeout - Update to version 2.1.6+20231204.e1a1bd808: - tools: Fix a regression in tool XML output. (clbz#5529) - Update to version 2.1.6+20231122.7534cc50a (Pacemaker-2.1.7-rc2): - rpm: require minimum libxml2 version of 2.6.0 - libcrmcommon: Write crm_verify detailed messages to XML - libcrmcommon: Use const for xmlCtxtGetLastError() (CLBZ#5530) - libcrmcommon: Drop deprecated libxml2 symbols (CLBZ#5530) - sysconfig: Use CRM_DAEMON_USER and CRM_DAEMON_GROUP - sysconfig: Fix defaults for dh_min_bits/dh_max_bits - sysconfig: Document PCMK_stderr - pacemakerd: Mark PCMK_shutdown_delay as deprecated - sysconfig: Document PCMK_cluster_type - sysconfig: Document PCMK_remote_pid1 - sysconfig: Document PCMK_node_action_limit - sysconfig: Mark PCMK_cib_timeout as deprecated - controld/schedullerd: Change the default value of node-pending-timeout to 0. - controld: Adding default value for node-pending-timeout. - crm_resource: make --wait wait for pending actions in CIB - Update to version 2.1.6+20231031.d0ef74d64 (Pacemaker-2.1.7-rc1): - attrd: revert faulty T138 fix - controller: bail if CIB modify fails within transaction - scheduler: don't show pending nodes as having "<3.15.1" feature set - Update to version 2.1.6+20231030.66cc0f083: OBS-URL: https://build.opensuse.org/request/show/1131354 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=385
2023-12-06 13:30:32 +01:00
--- pacemaker-2.1.6+20230821.d00694366.orig/daemons/execd/execd_commands.c
+++ pacemaker-2.1.6+20230821.d00694366/daemons/execd/execd_commands.c
Accepting request 1042324 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.5+20221208.a3f44794f (Pacemaker-2.1.5): - libs: Check for NULL in various functions. - daemons: Check for NULL in attrd_create_attribute. - Update to version 2.1.4+20221122.631339ca5 (Pacemaker-2.1.5-rc3): - libcrmcommon: Wait for ACKs from the attrd clear failure command. - daemons: Fix expanding ++ and += in multi-update IPC messages. - daemons: Add host attr to the children of multi-update IPC messages. - daemons: Copy all attrs from parent to child in multi-update IPC. - Update to version 2.1.4+20221115.d3699a621 (Pacemaker-2.1.5-rc2): - tools: quote timestamp in operation history output (bsc#1205279, bsc#1204581) - tools: Fix setting utilization attrs with crm_attribute. - cts-cli: add test for text output of crm_resource --list-operations/-O (bsc#1205279, bsc#1204581) - daemons: Set an attribute on the child of a multi-attr message. - scheduler: consider roles when blocking colocation dependents - scheduler: when blocking starts, block children's starts as well - Update to version 2.1.4+20221108.ba419204a: - tools: crm_resource --constraints now accepts --force - tools: crm_resource --constraints --recursive - tools: fix syntax on resetting options in crm_resource (bsc#1198409) - Update to version 2.1.4+20221031.0b3656e85: - scheduler: prioritize group colocations properly - scheduler: ignore empty groups in pcmk__add_colocated_node_scores() - scheduler: properly consider effect of "with group" colocations - scheduler: ensure group methods handle empty groups - scheduler: improve error handling when unpacking resources OBS-URL: https://build.opensuse.org/request/show/1042324 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=369
2022-12-12 12:12:25 +01:00
@@ -210,7 +210,7 @@ action_matches(const lrmd_cmd_t *cmd, co
Accepting request 942220 from home:yan_gao:branches:network:ha-clustering:Factory - fencer: get current time correctly * 0001-Fix-fencer-get-current-time-correctly.patch - Update to version 2.1.2+20211124.ada5c3b36 (Pacemaker-2.1.2): - fencer: add missing space to topology message - controller: handle remote connection start timeouts correctly - Update to version 2.1.1+20211116.8db4569e4 (Pacemaker-2.1.2-rc2): - fencing: mark state as done if remapped "on" times out - Fix OCF_RA_INSTALL_DIR Autoconf variable name in pkg-config files - daemons: Free memory at the end of fail_pending_op. - Update to version 2.1.1+20211104.62c36e2b1 (Pacemaker-2.1.2-rc1): - Use user_include_exclude_cb in crm_mon more. (clbz#5485) - Only set default sections in crm_mon once. (clbz#5485) - fencer: improve messages for dynamic target queries (rh#1470834) - fencer: consolidate messages for asynchronous results (rh#1470834) - fencer: log a message when out of memory for dynamic target search (rh#1470834) - libcrmservice: distinguish local and global configuration errors (rh#1470834) - libcrmservice: improve messages for pre-execution failures in child (rh#1470834) - Update to version 2.1.1+20211028.70f82d2c0: - attrd: check election status upon loss of a voter to prevent unexpected pending (bsc#1191676) - Update to version 2.1.1+20211028.7ee8b5bdd: - tools: select technical or human-friendly output of failed actions (rh#1470834) - controller,executor: tweak action result messages (rh#1470834) - install init scripts only if not using systemd - executor: log execution status and exit reason with results (rh#1470834) - executor: improve result message (rh#1470834) OBS-URL: https://build.opensuse.org/request/show/942220 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=354
2021-12-23 11:19:25 +01:00
static void
Accepting request 1042324 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.5+20221208.a3f44794f (Pacemaker-2.1.5): - libs: Check for NULL in various functions. - daemons: Check for NULL in attrd_create_attribute. - Update to version 2.1.4+20221122.631339ca5 (Pacemaker-2.1.5-rc3): - libcrmcommon: Wait for ACKs from the attrd clear failure command. - daemons: Fix expanding ++ and += in multi-update IPC messages. - daemons: Add host attr to the children of multi-update IPC messages. - daemons: Copy all attrs from parent to child in multi-update IPC. - Update to version 2.1.4+20221115.d3699a621 (Pacemaker-2.1.5-rc2): - tools: quote timestamp in operation history output (bsc#1205279, bsc#1204581) - tools: Fix setting utilization attrs with crm_attribute. - cts-cli: add test for text output of crm_resource --list-operations/-O (bsc#1205279, bsc#1204581) - daemons: Set an attribute on the child of a multi-attr message. - scheduler: consider roles when blocking colocation dependents - scheduler: when blocking starts, block children's starts as well - Update to version 2.1.4+20221108.ba419204a: - tools: crm_resource --constraints now accepts --force - tools: crm_resource --constraints --recursive - tools: fix syntax on resetting options in crm_resource (bsc#1198409) - Update to version 2.1.4+20221031.0b3656e85: - scheduler: prioritize group colocations properly - scheduler: ignore empty groups in pcmk__add_colocated_node_scores() - scheduler: properly consider effect of "with group" colocations - scheduler: ensure group methods handle empty groups - scheduler: improve error handling when unpacking resources OBS-URL: https://build.opensuse.org/request/show/1042324 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=369
2022-12-12 12:12:25 +01:00
log_finished(const lrmd_cmd_t *cmd, int exec_time_ms, int queue_time_ms)
Accepting request 331915 from home:yan_gao:branches:network:ha-clustering:Factory:Test - remote: Revise a misleading message in the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-message.patch - remote: Correctly display the usage of the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-usage.patch - crm_resource: Allow the resource configuration to be modified for --force-{check,start,..} calls - Fencing: Correctly parse 'by-attribute' fencing levels - Fencing: Use dedicated fields for fencing level patterns and attribute matching - pacemaker_remote: memory leak in ipc_proxy_dispatch() - crmd: don't add node ID to proxied remote node requests for attrd - membership: Safely autoreap nodes without code duplication - PE: Resolve memory leak - pacemakerd: Do not forget about nodes that leave the cluster - corosync: Display node state and quorum data if available - crmd: Implement reliable event notifications - extra: Added snmp trap of type "NOTIFICATION-TYPE" to MIB and snmp helper script - Date: Correctly set time from seconds-since-epoch - PE: Bug cl#5247 - Imply resources running on a container are stopped when the container is stopped - Upstream version cs: 20c2178f076ff32fdf9ba9a467c193b8dac2f9e5 - lrmd: Upgrade start/finish log tags from INFO to NOTICE (bsc#943295) * bug-943295_pacemaker-lrmd-log-notice.patch OBS-URL: https://build.opensuse.org/request/show/331915 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=218
2015-09-18 13:56:45 +02:00
{
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
Accepting request 942220 from home:yan_gao:branches:network:ha-clustering:Factory - fencer: get current time correctly * 0001-Fix-fencer-get-current-time-correctly.patch - Update to version 2.1.2+20211124.ada5c3b36 (Pacemaker-2.1.2): - fencer: add missing space to topology message - controller: handle remote connection start timeouts correctly - Update to version 2.1.1+20211116.8db4569e4 (Pacemaker-2.1.2-rc2): - fencing: mark state as done if remapped "on" times out - Fix OCF_RA_INSTALL_DIR Autoconf variable name in pkg-config files - daemons: Free memory at the end of fail_pending_op. - Update to version 2.1.1+20211104.62c36e2b1 (Pacemaker-2.1.2-rc1): - Use user_include_exclude_cb in crm_mon more. (clbz#5485) - Only set default sections in crm_mon once. (clbz#5485) - fencer: improve messages for dynamic target queries (rh#1470834) - fencer: consolidate messages for asynchronous results (rh#1470834) - fencer: log a message when out of memory for dynamic target search (rh#1470834) - libcrmservice: distinguish local and global configuration errors (rh#1470834) - libcrmservice: improve messages for pre-execution failures in child (rh#1470834) - Update to version 2.1.1+20211028.70f82d2c0: - attrd: check election status upon loss of a voter to prevent unexpected pending (bsc#1191676) - Update to version 2.1.1+20211028.7ee8b5bdd: - tools: select technical or human-friendly output of failed actions (rh#1470834) - controller,executor: tweak action result messages (rh#1470834) - install init scripts only if not using systemd - executor: log execution status and exit reason with results (rh#1470834) - executor: improve result message (rh#1470834) OBS-URL: https://build.opensuse.org/request/show/942220 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=354
2021-12-23 11:19:25 +01:00
GString *str = g_string_sized_new(100); // reasonable starting size
Accepting request 331915 from home:yan_gao:branches:network:ha-clustering:Factory:Test - remote: Revise a misleading message in the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-message.patch - remote: Correctly display the usage of the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-usage.patch - crm_resource: Allow the resource configuration to be modified for --force-{check,start,..} calls - Fencing: Correctly parse 'by-attribute' fencing levels - Fencing: Use dedicated fields for fencing level patterns and attribute matching - pacemaker_remote: memory leak in ipc_proxy_dispatch() - crmd: don't add node ID to proxied remote node requests for attrd - membership: Safely autoreap nodes without code duplication - PE: Resolve memory leak - pacemakerd: Do not forget about nodes that leave the cluster - corosync: Display node state and quorum data if available - crmd: Implement reliable event notifications - extra: Added snmp trap of type "NOTIFICATION-TYPE" to MIB and snmp helper script - Date: Correctly set time from seconds-since-epoch - PE: Bug cl#5247 - Imply resources running on a container are stopped when the container is stopped - Upstream version cs: 20c2178f076ff32fdf9ba9a467c193b8dac2f9e5 - lrmd: Upgrade start/finish log tags from INFO to NOTICE (bsc#943295) * bug-943295_pacemaker-lrmd-log-notice.patch OBS-URL: https://build.opensuse.org/request/show/331915 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=218
2015-09-18 13:56:45 +02:00
Accepting request 1131354 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.6+20231205.0f6fbd59f: - scheduler: log reason for recheck time updates - scheduler: update recheck time for node-pending-timeout - Update to version 2.1.6+20231204.e1a1bd808: - tools: Fix a regression in tool XML output. (clbz#5529) - Update to version 2.1.6+20231122.7534cc50a (Pacemaker-2.1.7-rc2): - rpm: require minimum libxml2 version of 2.6.0 - libcrmcommon: Write crm_verify detailed messages to XML - libcrmcommon: Use const for xmlCtxtGetLastError() (CLBZ#5530) - libcrmcommon: Drop deprecated libxml2 symbols (CLBZ#5530) - sysconfig: Use CRM_DAEMON_USER and CRM_DAEMON_GROUP - sysconfig: Fix defaults for dh_min_bits/dh_max_bits - sysconfig: Document PCMK_stderr - pacemakerd: Mark PCMK_shutdown_delay as deprecated - sysconfig: Document PCMK_cluster_type - sysconfig: Document PCMK_remote_pid1 - sysconfig: Document PCMK_node_action_limit - sysconfig: Mark PCMK_cib_timeout as deprecated - controld/schedullerd: Change the default value of node-pending-timeout to 0. - controld: Adding default value for node-pending-timeout. - crm_resource: make --wait wait for pending actions in CIB - Update to version 2.1.6+20231031.d0ef74d64 (Pacemaker-2.1.7-rc1): - attrd: revert faulty T138 fix - controller: bail if CIB modify fails within transaction - scheduler: don't show pending nodes as having "<3.15.1" feature set - Update to version 2.1.6+20231030.66cc0f083: OBS-URL: https://build.opensuse.org/request/show/1131354 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=385
2023-12-06 13:30:32 +01:00
if (pcmk__str_eq(cmd->action, PCMK_ACTION_MONITOR, pcmk__str_casei)) {
@@ -251,7 +251,7 @@ log_finished(const lrmd_cmd_t *cmd, int
Accepting request 331915 from home:yan_gao:branches:network:ha-clustering:Factory:Test - remote: Revise a misleading message in the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-message.patch - remote: Correctly display the usage of the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-usage.patch - crm_resource: Allow the resource configuration to be modified for --force-{check,start,..} calls - Fencing: Correctly parse 'by-attribute' fencing levels - Fencing: Use dedicated fields for fencing level patterns and attribute matching - pacemaker_remote: memory leak in ipc_proxy_dispatch() - crmd: don't add node ID to proxied remote node requests for attrd - membership: Safely autoreap nodes without code duplication - PE: Resolve memory leak - pacemakerd: Do not forget about nodes that leave the cluster - corosync: Display node state and quorum data if available - crmd: Implement reliable event notifications - extra: Added snmp trap of type "NOTIFICATION-TYPE" to MIB and snmp helper script - Date: Correctly set time from seconds-since-epoch - PE: Bug cl#5247 - Imply resources running on a container are stopped when the container is stopped - Upstream version cs: 20c2178f076ff32fdf9ba9a467c193b8dac2f9e5 - lrmd: Upgrade start/finish log tags from INFO to NOTICE (bsc#943295) * bug-943295_pacemaker-lrmd-log-notice.patch OBS-URL: https://build.opensuse.org/request/show/331915 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=218
2015-09-18 13:56:45 +02:00
static void
log_execute(lrmd_cmd_t * cmd)
{
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
Accepting request 1131354 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.6+20231205.0f6fbd59f: - scheduler: log reason for recheck time updates - scheduler: update recheck time for node-pending-timeout - Update to version 2.1.6+20231204.e1a1bd808: - tools: Fix a regression in tool XML output. (clbz#5529) - Update to version 2.1.6+20231122.7534cc50a (Pacemaker-2.1.7-rc2): - rpm: require minimum libxml2 version of 2.6.0 - libcrmcommon: Write crm_verify detailed messages to XML - libcrmcommon: Use const for xmlCtxtGetLastError() (CLBZ#5530) - libcrmcommon: Drop deprecated libxml2 symbols (CLBZ#5530) - sysconfig: Use CRM_DAEMON_USER and CRM_DAEMON_GROUP - sysconfig: Fix defaults for dh_min_bits/dh_max_bits - sysconfig: Document PCMK_stderr - pacemakerd: Mark PCMK_shutdown_delay as deprecated - sysconfig: Document PCMK_cluster_type - sysconfig: Document PCMK_remote_pid1 - sysconfig: Document PCMK_node_action_limit - sysconfig: Mark PCMK_cib_timeout as deprecated - controld/schedullerd: Change the default value of node-pending-timeout to 0. - controld: Adding default value for node-pending-timeout. - crm_resource: make --wait wait for pending actions in CIB - Update to version 2.1.6+20231031.d0ef74d64 (Pacemaker-2.1.7-rc1): - attrd: revert faulty T138 fix - controller: bail if CIB modify fails within transaction - scheduler: don't show pending nodes as having "<3.15.1" feature set - Update to version 2.1.6+20231030.66cc0f083: OBS-URL: https://build.opensuse.org/request/show/1131354 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=385
2023-12-06 13:30:32 +01:00
if (pcmk__str_eq(cmd->action, PCMK_ACTION_MONITOR, pcmk__str_casei)) {
Accepting request 331915 from home:yan_gao:branches:network:ha-clustering:Factory:Test - remote: Revise a misleading message in the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-message.patch - remote: Correctly display the usage of the ocf:pacemaker:remote resource agent (bsc#946332) * bug-946332_pacemaker-resource-agent-remote-usage.patch - crm_resource: Allow the resource configuration to be modified for --force-{check,start,..} calls - Fencing: Correctly parse 'by-attribute' fencing levels - Fencing: Use dedicated fields for fencing level patterns and attribute matching - pacemaker_remote: memory leak in ipc_proxy_dispatch() - crmd: don't add node ID to proxied remote node requests for attrd - membership: Safely autoreap nodes without code duplication - PE: Resolve memory leak - pacemakerd: Do not forget about nodes that leave the cluster - corosync: Display node state and quorum data if available - crmd: Implement reliable event notifications - extra: Added snmp trap of type "NOTIFICATION-TYPE" to MIB and snmp helper script - Date: Correctly set time from seconds-since-epoch - PE: Bug cl#5247 - Imply resources running on a container are stopped when the container is stopped - Upstream version cs: 20c2178f076ff32fdf9ba9a467c193b8dac2f9e5 - lrmd: Upgrade start/finish log tags from INFO to NOTICE (bsc#943295) * bug-943295_pacemaker-lrmd-log-notice.patch OBS-URL: https://build.opensuse.org/request/show/331915 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=218
2015-09-18 13:56:45 +02:00
log_level = LOG_DEBUG;