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

23 lines
833 B
Diff
Raw Normal View History

Accepting request 853533 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.0.5+20201202.ba59be712 (Pacemaker-2.0.5): - xml: Revert to correct schema for alerts-3.5 - tools: match calloc() with free() in crm_resource - tools: "Connectivity is lost" may not be displayed even if the ping communication is lost. - Update to version 2.0.4+20201116.ae2c04b54: - tools: make cibsecret use bash - fencer: allow peer configuration requests - Update to version 2.0.4+20201027.31aa4f551: - pacemakerd: handle shutdown requests better - daemons,libcrmcommon: send status code with client acks - fencer: restrict certain IPC requests to privileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: ignore shutdown requests from unprivileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: check client for NULL before using it - executor: restrict certain IPC requests to Pacemaker daemons (CVE-2020-25654, bsc#1177916) - executor: return appropriate error code when no remote support - executor: mark controller connections to pacemaker-remoted as privileged - executor: show CRM_OP_REGISTER rc in debug message - Update to version 2.0.4+20201022.354625c62: - tools: revert some changes in crm_resource NULL checks - xml: Mark new crm_mon attributes as optional. - scheduler: fix build when DEFAULT_CONCURRENT_FENCING_TRUE is set - Update to version 2.0.4+20201019.878658661: - cib: create reply when needed for diff - cib: only build reply when needed - Update to version 2.0.4+20201014.b0ef36d82: OBS-URL: https://build.opensuse.org/request/show/853533 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=343
2020-12-07 10:07:23 +01:00
Index: pacemaker-2.0.4+20200819.114974685/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 853533 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.0.5+20201202.ba59be712 (Pacemaker-2.0.5): - xml: Revert to correct schema for alerts-3.5 - tools: match calloc() with free() in crm_resource - tools: "Connectivity is lost" may not be displayed even if the ping communication is lost. - Update to version 2.0.4+20201116.ae2c04b54: - tools: make cibsecret use bash - fencer: allow peer configuration requests - Update to version 2.0.4+20201027.31aa4f551: - pacemakerd: handle shutdown requests better - daemons,libcrmcommon: send status code with client acks - fencer: restrict certain IPC requests to privileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: ignore shutdown requests from unprivileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: check client for NULL before using it - executor: restrict certain IPC requests to Pacemaker daemons (CVE-2020-25654, bsc#1177916) - executor: return appropriate error code when no remote support - executor: mark controller connections to pacemaker-remoted as privileged - executor: show CRM_OP_REGISTER rc in debug message - Update to version 2.0.4+20201022.354625c62: - tools: revert some changes in crm_resource NULL checks - xml: Mark new crm_mon attributes as optional. - scheduler: fix build when DEFAULT_CONCURRENT_FENCING_TRUE is set - Update to version 2.0.4+20201019.878658661: - cib: create reply when needed for diff - cib: only build reply when needed - Update to version 2.0.4+20201014.b0ef36d82: OBS-URL: https://build.opensuse.org/request/show/853533 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=343
2020-12-07 10:07:23 +01:00
--- pacemaker-2.0.4+20200819.114974685.orig/daemons/execd/execd_commands.c
+++ pacemaker-2.0.4+20200819.114974685/daemons/execd/execd_commands.c
@@ -198,7 +198,7 @@ static void
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_finished(lrmd_cmd_t * cmd, int exec_time, int queue_time)
{
char pid_str[32] = { 0, };
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
if (cmd->last_pid) {
snprintf(pid_str, 32, "%d", cmd->last_pid);
Accepting request 853533 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.0.5+20201202.ba59be712 (Pacemaker-2.0.5): - xml: Revert to correct schema for alerts-3.5 - tools: match calloc() with free() in crm_resource - tools: "Connectivity is lost" may not be displayed even if the ping communication is lost. - Update to version 2.0.4+20201116.ae2c04b54: - tools: make cibsecret use bash - fencer: allow peer configuration requests - Update to version 2.0.4+20201027.31aa4f551: - pacemakerd: handle shutdown requests better - daemons,libcrmcommon: send status code with client acks - fencer: restrict certain IPC requests to privileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: ignore shutdown requests from unprivileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: check client for NULL before using it - executor: restrict certain IPC requests to Pacemaker daemons (CVE-2020-25654, bsc#1177916) - executor: return appropriate error code when no remote support - executor: mark controller connections to pacemaker-remoted as privileged - executor: show CRM_OP_REGISTER rc in debug message - Update to version 2.0.4+20201022.354625c62: - tools: revert some changes in crm_resource NULL checks - xml: Mark new crm_mon attributes as optional. - scheduler: fix build when DEFAULT_CONCURRENT_FENCING_TRUE is set - Update to version 2.0.4+20201019.878658661: - cib: create reply when needed for diff - cib: only build reply when needed - Update to version 2.0.4+20201014.b0ef36d82: OBS-URL: https://build.opensuse.org/request/show/853533 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=343
2020-12-07 10:07:23 +01:00
@@ -223,7 +223,7 @@ log_finished(lrmd_cmd_t * cmd, int exec_
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 853533 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.0.5+20201202.ba59be712 (Pacemaker-2.0.5): - xml: Revert to correct schema for alerts-3.5 - tools: match calloc() with free() in crm_resource - tools: "Connectivity is lost" may not be displayed even if the ping communication is lost. - Update to version 2.0.4+20201116.ae2c04b54: - tools: make cibsecret use bash - fencer: allow peer configuration requests - Update to version 2.0.4+20201027.31aa4f551: - pacemakerd: handle shutdown requests better - daemons,libcrmcommon: send status code with client acks - fencer: restrict certain IPC requests to privileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: ignore shutdown requests from unprivileged users (CVE-2020-25654, bsc#1177916) - pacemakerd: check client for NULL before using it - executor: restrict certain IPC requests to Pacemaker daemons (CVE-2020-25654, bsc#1177916) - executor: return appropriate error code when no remote support - executor: mark controller connections to pacemaker-remoted as privileged - executor: show CRM_OP_REGISTER rc in debug message - Update to version 2.0.4+20201022.354625c62: - tools: revert some changes in crm_resource NULL checks - xml: Mark new crm_mon attributes as optional. - scheduler: fix build when DEFAULT_CONCURRENT_FENCING_TRUE is set - Update to version 2.0.4+20201019.878658661: - cib: create reply when needed for diff - cib: only build reply when needed - Update to version 2.0.4+20201014.b0ef36d82: OBS-URL: https://build.opensuse.org/request/show/853533 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=343
2020-12-07 10:07:23 +01:00
if (pcmk__str_eq(cmd->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;