From 9fc3fdc0c70647d8bf2c5473a262cf5f22fa8600a067de55c59e9fa15a5c6771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 2 Aug 2024 15:16:25 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main pacemaker revision ea091ec6f6566ff814689bb80caa9578 --- _service | 2 +- _servicedata | 2 +- bug-728579_pacemaker-stonith-dev-id.patch | 34 +- bug-806256_pacemaker-log-level-notice.patch | 28 +- pacemaker-2.1.7+20231219.0f7f88312.tar.xz | 3 - pacemaker-2.1.7+20240711.239cba384.tar.xz | 3 + pacemaker-cts-StartCmd.patch | 16 +- pacemaker.changes | 438 +++++++++++++++++++- pacemaker.spec | 11 +- 9 files changed, 490 insertions(+), 47 deletions(-) delete mode 100644 pacemaker-2.1.7+20231219.0f7f88312.tar.xz create mode 100644 pacemaker-2.1.7+20240711.239cba384.tar.xz diff --git a/_service b/_service index b6dc0a0..3b9454d 100644 --- a/_service +++ b/_service @@ -11,7 +11,7 @@ 2.1.7 --> 2.1.7+%cd.%h - Pacemaker-2.1.7 + 239cba384f enable diff --git a/_servicedata b/_servicedata index ccb2044..9ab3652 100644 --- a/_servicedata +++ b/_servicedata @@ -5,4 +5,4 @@ https://github.com/ClusterLabs/pacemaker.git - 0f7f88312f7a1ccedee60bf768aba79ee13d41e0 \ No newline at end of file + d7c233090057d4f660fa458a2ff97896b15ea951 \ No newline at end of file diff --git a/bug-728579_pacemaker-stonith-dev-id.patch b/bug-728579_pacemaker-stonith-dev-id.patch index 6caff1c..e6ee711 100644 --- a/bug-728579_pacemaker-stonith-dev-id.patch +++ b/bug-728579_pacemaker-stonith-dev-id.patch @@ -4,22 +4,22 @@ Date: Thu Sep 6 15:14:58 2012 +0800 Medium: stonith: Expose IDs of stonith resources to stonith agents through "$CRM_meta_st_device_id" environment variable -Index: pacemaker-2.1.4+20220928.4690461db/daemons/fenced/fenced_commands.c +Index: pacemaker-2.1.7+20240208.bc5596299/daemons/fenced/fenced_commands.c =================================================================== ---- pacemaker-2.1.4+20220928.4690461db.orig/daemons/fenced/fenced_commands.c -+++ pacemaker-2.1.4+20220928.4690461db/daemons/fenced/fenced_commands.c -@@ -1096,6 +1096,7 @@ build_device_from_xml(xmlNode *dev) +--- pacemaker-2.1.7+20240208.bc5596299.orig/daemons/fenced/fenced_commands.c ++++ pacemaker-2.1.7+20240208.bc5596299/daemons/fenced/fenced_commands.c +@@ -1151,6 +1151,7 @@ build_device_from_xml(xmlNode *dev) (const char *) device->on_target_actions->str); } -+ g_hash_table_insert(device->params, strdup(CRM_META "_" F_STONITH_DEVICE), strdup(device->id)); ++ g_hash_table_insert(device->params, strdup(CRM_META "_" PCMK__XE_ST_DEVICE_ID), strdup(device->id)); device->work = mainloop_add_trigger(G_PRIORITY_HIGH, stonith_device_dispatch, device); /* TODO: Hook up priority */ -Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c +Index: pacemaker-2.1.7+20240208.bc5596299/lib/fencing/st_actions.c =================================================================== ---- pacemaker-2.1.4+20220928.4690461db.orig/lib/fencing/st_actions.c -+++ pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c +--- pacemaker-2.1.7+20240208.bc5596299.orig/lib/fencing/st_actions.c ++++ pacemaker-2.1.7+20240208.bc5596299/lib/fencing/st_actions.c @@ -31,6 +31,7 @@ struct stonith_action_s { char *agent; char *action; @@ -28,7 +28,7 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c int timeout; bool async; void *userdata; -@@ -226,6 +227,7 @@ stonith__destroy_action(stonith_action_t +@@ -224,6 +225,7 @@ stonith__destroy_action(stonith_action_t services_action_free(action->svc_action); } pcmk__reset_result(&(action->result)); @@ -36,16 +36,16 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c free(action); } } -@@ -286,6 +288,8 @@ stonith__action_create(const char *agent +@@ -284,6 +286,8 @@ stonith__action_create(const char *agent if (device_args) { char buffer[512]; const char *value = NULL; -+ const char *st_dev_id_key = CRM_META "_" F_STONITH_DEVICE; ++ const char *st_dev_id_key = CRM_META "_" PCMK__XE_ST_DEVICE_ID; + const char *st_dev_id_value = NULL; snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", action_name); value = g_hash_table_lookup(device_args, buffer); -@@ -293,6 +297,11 @@ stonith__action_create(const char *agent +@@ -291,6 +295,11 @@ stonith__action_create(const char *agent if (value) { action->max_retries = atoi(value); } @@ -57,7 +57,7 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c } return action; -@@ -630,6 +639,10 @@ internal_stonith_action_execute(stonith_ +@@ -628,6 +637,10 @@ internal_stonith_action_execute(stonith_ SVC_ACTION_NON_BLOCKED, "SVC_ACTION_NON_BLOCKED"); @@ -68,10 +68,10 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c /* keep retries from executing out of control and free previous results */ if (is_retry) { pcmk__reset_result(&(action->result)); -Index: pacemaker-2.1.4+20220928.4690461db/lib/services/services_linux.c +Index: pacemaker-2.1.7+20240208.bc5596299/lib/services/services_linux.c =================================================================== ---- pacemaker-2.1.4+20220928.4690461db.orig/lib/services/services_linux.c -+++ pacemaker-2.1.4+20220928.4690461db/lib/services/services_linux.c +--- pacemaker-2.1.7+20240208.bc5596299.orig/lib/services/services_linux.c ++++ pacemaker-2.1.7+20240208.bc5596299/lib/services/services_linux.c @@ -29,6 +29,9 @@ #include "crm/services.h" #include "crm/services_internal.h" @@ -90,7 +90,7 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/services/services_linux.c + if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei) + && pcmk__str_eq(op->agent, "fence_legacy", pcmk__str_casei) + && op->rsc != NULL) { -+ const char *st_dev_id_key = CRM_META "_" F_STONITH_DEVICE; ++ const char *st_dev_id_key = CRM_META "_" PCMK__XE_ST_DEVICE_ID; + + setenv(st_dev_id_key, op->rsc, 1); + } diff --git a/bug-806256_pacemaker-log-level-notice.patch b/bug-806256_pacemaker-log-level-notice.patch index a8bc894..8ae4ce1 100644 --- a/bug-806256_pacemaker-log-level-notice.patch +++ b/bug-806256_pacemaker-log-level-notice.patch @@ -4,24 +4,24 @@ Date: Thu Mar 14 09:41:53 2013 +0800 Log: Change some messages to notice level (bnc#806256) -Index: pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_membership.c +Index: pacemaker-2.1.7+20240118.9ae4bea49/daemons/controld/controld_membership.c =================================================================== ---- pacemaker-2.1.6+20230821.d00694366.orig/daemons/controld/controld_membership.c -+++ pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_membership.c -@@ -435,7 +435,7 @@ crm_update_quorum(gboolean quorum, gbool - crm_xml_add_int(update, XML_ATTR_HAVE_QUORUM, quorum); - crm_xml_add(update, XML_ATTR_DC_UUID, controld_globals.our_uuid); +--- pacemaker-2.1.7+20240118.9ae4bea49.orig/daemons/controld/controld_membership.c ++++ pacemaker-2.1.7+20240118.9ae4bea49/daemons/controld/controld_membership.c +@@ -432,7 +432,7 @@ crm_update_quorum(gboolean quorum, gbool + crm_xml_add_int(update, PCMK_XA_HAVE_QUORUM, quorum); + crm_xml_add(update, PCMK_XA_DC_UUID, controld_globals.our_uuid); - crm_debug("Updating quorum status to %s", pcmk__btoa(quorum)); + crm_notice("Updating quorum status to %s", pcmk__btoa(quorum)); - controld_update_cib(XML_TAG_CIB, update, cib_scope_local, + controld_update_cib(PCMK_XE_CIB, update, cib_scope_local, cib_quorum_update_complete); free_xml(update); -Index: pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_transition.c +Index: pacemaker-2.1.7+20240118.9ae4bea49/daemons/controld/controld_transition.c =================================================================== ---- pacemaker-2.1.6+20230821.d00694366.orig/daemons/controld/controld_transition.c -+++ pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_transition.c -@@ -171,7 +171,7 @@ do_te_invoke(long long action, +--- pacemaker-2.1.7+20240118.9ae4bea49.orig/daemons/controld/controld_transition.c ++++ pacemaker-2.1.7+20240118.9ae4bea49/daemons/controld/controld_transition.c +@@ -167,7 +167,7 @@ do_te_invoke(long long action, CRM_CHECK(controld_globals.transition_graph != NULL, controld_globals.transition_graph = create_blank_graph(); return); @@ -30,10 +30,10 @@ Index: pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_transition.c controld_globals.transition_graph->id, ref, graph_input); te_reset_job_counts(); -Index: pacemaker-2.1.6+20230821.d00694366/daemons/fenced/fenced_remote.c +Index: pacemaker-2.1.7+20240118.9ae4bea49/daemons/fenced/fenced_remote.c =================================================================== ---- pacemaker-2.1.6+20230821.d00694366.orig/daemons/fenced/fenced_remote.c -+++ pacemaker-2.1.6+20230821.d00694366/daemons/fenced/fenced_remote.c +--- pacemaker-2.1.7+20240118.9ae4bea49.orig/daemons/fenced/fenced_remote.c ++++ pacemaker-2.1.7+20240118.9ae4bea49/daemons/fenced/fenced_remote.c @@ -695,7 +695,7 @@ remote_op_timeout_one(gpointer userdata) static void finalize_timed_out_op(remote_fencing_op_t *op, const char *reason) diff --git a/pacemaker-2.1.7+20231219.0f7f88312.tar.xz b/pacemaker-2.1.7+20231219.0f7f88312.tar.xz deleted file mode 100644 index 1250e54..0000000 --- a/pacemaker-2.1.7+20231219.0f7f88312.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:377bec429837d8b8db33e91f2b23b8d5b6cbaa1653da5ac3a8a2372cfc0f007c -size 4280884 diff --git a/pacemaker-2.1.7+20240711.239cba384.tar.xz b/pacemaker-2.1.7+20240711.239cba384.tar.xz new file mode 100644 index 0000000..a331697 --- /dev/null +++ b/pacemaker-2.1.7+20240711.239cba384.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df6a61e9cac3d67c2a40cc80eb22cde50258cc81632c46f38334342c5dd8d56c +size 4383384 diff --git a/pacemaker-cts-StartCmd.patch b/pacemaker-cts-StartCmd.patch index 3ffddf5..6406ef1 100644 --- a/pacemaker-cts-StartCmd.patch +++ b/pacemaker-cts-StartCmd.patch @@ -1,13 +1,13 @@ -Index: pacemaker-2.1.5+20230309.a4b0ea1b5/python/pacemaker/_cts/patterns.py +Index: pacemaker-2.1.7+20240118.9ae4bea49/python/pacemaker/_cts/patterns.py =================================================================== ---- pacemaker-2.1.5+20230309.a4b0ea1b5.orig/python/pacemaker/_cts/patterns.py -+++ pacemaker-2.1.5+20230309.a4b0ea1b5/python/pacemaker/_cts/patterns.py -@@ -135,7 +135,7 @@ class Corosync2Patterns(BasePatterns): +--- pacemaker-2.1.7+20240118.9ae4bea49.orig/python/pacemaker/_cts/patterns.py ++++ pacemaker-2.1.7+20240118.9ae4bea49/python/pacemaker/_cts/patterns.py +@@ -139,7 +139,7 @@ class Corosync2Patterns(BasePatterns): self._name = "crm-corosync" self._commands.update({ -- "StartCmd" : "service corosync start && service pacemaker start", -+ "StartCmd" : "service pacemaker start", - "StopCmd" : "service pacemaker stop; [ ! -e /usr/sbin/pacemaker-remoted ] || service pacemaker_remote stop; service corosync stop", +- "StartCmd": "service corosync start && service pacemaker start", ++ "StartCmd": "service pacemaker start", + "StopCmd": "service pacemaker stop; [ ! -e /usr/sbin/pacemaker-remoted ] || service pacemaker_remote stop; service corosync stop", - "EpochCmd" : "crm_node -e", + "EpochCmd": "crm_node -e", diff --git a/pacemaker.changes b/pacemaker.changes index 4f51ae0..ac41185 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,439 @@ +------------------------------------------------------------------- +Fri Jul 12 11:13:38 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240711.239cba384: +- various: Don't set cluster-layer node ID as XML ID +- tools: crm_node -i must initialize nodeid before passing pointer (gh#ClusterLabs/pacemaker#3574) + +------------------------------------------------------------------- +Wed Jul 10 16:43:36 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240709.f04c3b02c: +- tools: CIB clients retry signon upon an EAGAIN error (gh#ClusterLabs/pacemaker#3567, bsc#1224183) +- libcib: new function cib__signon_attempts() (gh#ClusterLabs/pacemaker#3567, bsc#1224183) + +------------------------------------------------------------------- +Wed Jul 10 16:38:18 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240708.347e83d87: +- crm_verify: Improve checking of fencing level IDs + +------------------------------------------------------------------- +Thu Jul 04 07:10:12 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240703.f73f033d5 (Pacemaker-2.1.8-rc3): +- sysconfig: deprecate PCMK_dh_min_bits environment variable + +------------------------------------------------------------------- +Tue Jul 02 09:25:05 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240701.8af8b59e2: +- libcrmcluster: use local hostname for node name if not configured in corosync (gh#ClusterLabs/pacemaker#3551) + +------------------------------------------------------------------- +Tue Jul 02 09:21:29 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240701.b4e61209c: +- tools: Don't double-free XML in crm_verify after schema update + +------------------------------------------------------------------- +Mon Jul 01 14:27:39 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240701.a1003bbf1: +- cts-cli: update expected output for crm_verify to distinguish configuration warnings and errors (gh#ClusterLabs/pacemaker#3543) +- tools: crm_verify distinguishes configuration warnings and errors (gh#ClusterLabs/pacemaker#3543) + +------------------------------------------------------------------- +Mon Jul 01 07:41:34 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240624.5d44a760b: +- libcrmcommon: don't try to add to full string in pcmk__time_format_hr() +- libcrmcommon: handle formatting errors in pcmk__time_format_hr() +- scheduler: consider group locations when member is explicit colocation dependent +- tools: Don't skip formatting if running crm_simulate interactively. + +------------------------------------------------------------------- +Wed Jun 12 09:45:01 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240611.cbf6db339 (Pacemaker-2.1.8-rc2): +- libcrmcommon: reject ISO 8601 duration without any values (gh#ClusterLabs/pacemaker#3517) +- libcrmcommon: bounds-check ISO 8601 duration elements +- scheduler: improve promotion score message for inactive instances +- scheduler: use -INFINITY promotion score for inactive instances +- libstonithd: prevent to free 'op_reply' repeatedly in 'stonith_send_command' (gh#ClusterLabs/pacemaker#3517) + +------------------------------------------------------------------- +Mon Jun 10 11:37:18 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240606.917fbfa11: +- libpacemaker: correctly retrieve any existing fail-count for increment (gh#ClusterLabs/pacemaker#3513) + +------------------------------------------------------------------- +Mon Jun 10 11:23:24 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240605.f80f40e36: +- libpacemaker: Add spaces back to attrd_updater query output. +- libcib,liblrmd: improve TLS handshake error messages +- liblrmd: make TLS handshake error handling consistent +- libcrmcommon: interpret pcmk__remote_ready() return code correctly +- pacemakerd: improve subdaemon check messages +- pacemaker-based: improve local notification messages + +------------------------------------------------------------------- +Tue Jun 04 07:35:46 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240530.09c4d6d2e: +- libstonithd: free escaped metadata descriptions with g_free() (bsc#1224869, gh#ClusterLabs/pacemaker#3480) +- libstonithd: avoid use-after-free when retrieving metadata of Linux-HA fence agents (bsc#1224869, gh#ClusterLabs/pacemaker#3480) + +------------------------------------------------------------------- +Tue Jun 04 07:31:53 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240529.c7e11c771: +- libcrmcommon: support PCMK_panic_action="off" or "sync-off" +- libcrmcommon: avoid possible buffer overflow in pcmk__time_format_hr() +- libcrmcommon: avoid possible buffer overflow in parse_date() + +------------------------------------------------------------------- +Mon Jun 03 14:38:26 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240515.39ef08240 (Pacemaker-2.1.8-rc1): +- ChangeLog: update for 2.1.8-rc1 release + +------------------------------------------------------------------- +Mon Jun 03 14:15:26 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240514.9d0f30818: +- scheduler: avoid memory leaks when updating action names +- libcrmcommon: fix readable interval +- tools: make crm_simulate output for bad input more understandable +- libcrmcommon: Avoid leaking gnutls session +- libcrmcluster: Fix a typo in an info message. +- executor: Avoid memory leak in get_schema_files() +- tools: Use crm_exit() consistently +- executor: Spawn remoted pid 1 before allocating dynamic memory +- libcib: Fix memory leak in cib_client_fetch_schemas() +- libpacemaker: Fix mem leak in pcmk__acl_evaled_render() +- libcrmcommon: avoid memory leaks when loading and freeing schemas +- libcib: avoid memory leak in async calls +- scheduler,tools: compare resource history IDs case-sensitively +- executor: avoid pacemaker-remoted crash +- libcrmcommon: Fix memory leak in pcmk__build_schema_xml_node() +- libcrmcommon: Fix memory leak in ipc_proxy_dispatch() +- fencer: Fix memory leak in handle_local_reply_and_notify() +- fencer: Fix memory leak in stonith_query_capable_device_cb() +- schemas: Add a schema for the new crm_resource output. +- CIB: deprecate "default" and "#default" as explicit meta-attribute values +- CIB: deprecate special handling of literal value "default" for meta-attributes +- libpe_status,libpacemaker: enable deprecation warnings even in compatibility builds +- CIB: deprecate omitting validate-with attribute from cib element +- CIB: deprecate disabling schema validation +- CIB: deprecate support for unknown schemas in validate-with +- tools: skip overall error message with crm_verify --quiet +- tools: crm_verify respects verbosity for configuration issues +- scheduler: improve deprecated schema warning +- scheduler: improve messages about orphaned resources + +------------------------------------------------------------------- +Mon Jun 03 09:32:06 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240430.1dd728559: +- tools: make crm_mon exit upon loss of the attached pseudo-terminal (bsc#1220229, gh#ClusterLabs/pacemaker#3430) + +------------------------------------------------------------------- +Mon Jun 03 09:25:20 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240430.8ba07347b: +- tools: Deprecate score expansion by default in crm_attribute +- tools: Deprecate score expansion by default in cibadmin +- tools: --score option for cibadmin and crm_attribute +- tools: Unset crm_attribute promotion_score if attr name is given +- tools: Fix cibadmin sync call return code logic +- libcib: Fix handling of return values in CIB attr update/delete +- libcrmcommon: Ensure crm_schema_init() initializes only once +- scheduler: Check return code in node_xml. +- libcrmcommon: simplify update_validation() logs +- libcrmcommon: don't assume next schema will validate when not transforming +- libcrmcommon: max should apply even if transform is false in update_validation() +- libcrmcommon: don't validate with first schema for an unknown schema name +- libcrmcommon: improve apply_upgrade() messages +- xml: restore "pacemaker-next" schema functionality +- lrmd: Warn on insecure and undocumented key handling behaviors. +- agents: Mark the o2cb resource agent as deprecated. (gh#ClusterLabs/pacemaker#3425) +- scheduler: compare nvpair block IDs case-sensitively + +------------------------------------------------------------------- +Tue Apr 16 15:03:28 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240411.81041cf0b: +- libcrmcommon: Avoid use-after-free in mark_xml_changes() +- libcrmcommon: Mark parents dirty in pcmk__mark_xml_created() + +------------------------------------------------------------------- +Tue Apr 16 14:46:08 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240410.ae4b38ab5: +- scheduler: deprecate Nagios and Upstart resources even if built with --enable-compat-2.0 (gh#ClusterLabs/pacemaker#3417) + +------------------------------------------------------------------- +Tue Apr 16 13:54:16 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240410.74b7a09c5: +- tools: New crm_resource --list-options=primitive option (gh#ClusterLabs/pacemaker#3399) +- libcrmcommon: Use PCMK_VALUE_VERSION as option type (gh#ClusterLabs/pacemaker#3399) +- libcrmcommon: Use PCMK_VALUE_TIMEOUT as option type (gh#ClusterLabs/pacemaker#3399) +- libcrmcommon: Use PCMK_VALUE_SCORE as option type (gh#ClusterLabs/pacemaker#3399) +- libcrmcommon: Use PCMK_VALUE_NONNEGATIVE_INTEGER as opt type (gh#ClusterLabs/pacemaker#3399) +- libcrmcommon: Use PCMK_VALUE_DURATION as option type (gh#ClusterLabs/pacemaker#3399) +- schemas: Allow more types in options API schema +- fencer: Deprecate metadata CLI option (gh#ClusterLabs/pacemaker#3399) +- crm_resource: New --list-options=fencing option (gh#ClusterLabs/pacemaker#3399) +- schemas: Allow options in crm_resource output +- scheduler: warn if multiple top-level rules are used + +------------------------------------------------------------------- +Mon Apr 15 12:27:11 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240408.78e71e024: +- scheduler: correctly log resource IDs of the deprecated classes (gh#ClusterLabs/pacemaker#3415) + +------------------------------------------------------------------- +Mon Apr 15 09:24:08 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240404.4eedfe810: +- libcib: Don't incorrectly expand "++" and "+=" in XML attr values (gh#ClusterLabs/pacemaker#3413) +- cts-cli: Update for pcmk__inject_failcount() setting integer value (gh#ClusterLabs/pacemaker#3413) +- libpacemaker: pcmk__inject_failcount should set an integer value (gh#ClusterLabs/pacemaker#3413) +- scheduler: improve message for empty location rules +- scheduler: improve error checking in pcmk__new_location() +- schemas: restructure rule schema for planned incompatible changes +- scheduler: log unknown nodes in location constraints (gh#ClusterLabs/pacemaker#3409, CLBZ#5415) +- scheduler: correct lifetime deprecation warning (gh#ClusterLabs/pacemaker#3409) +- tools: honor rules when getting utilization attributes with crm_resource (gh#ClusterLabs/pacemaker#3409) +- scheduler: deprecate support for default instance attributes (gh#ClusterLabs/pacemaker#3409) +- CIB: deprecate support for node attribute expressions beneath op and op_defaults +- scheduler: use default timeout (20s) if user configures 0 (gh#ClusterLabs/pacemaker#3409) +- tools: use better value for crm_resource --force-* timeout (gh#ClusterLabs/pacemaker#3409) +- tools: crm_resource should ignore resource meta-attribute node expressions (gh#ClusterLabs/pacemaker#3409) +- fencer: deprecate node attribute expressions in fence device meta-attributes +- CIB: deprecate support for multiple rules within a single location constraint +- scheduler: accept empty attribute name in node attribute expressions + +------------------------------------------------------------------- +Thu Apr 11 17:08:58 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240401.39cf7437c: +- fencer: always format time_t values as long long (gh#ClusterLabs/pacemaker#3407) +- libcrmcommon: Escape some chars in XML attribute text output +- scheduler: Add PCMK__XA_GRANTED to ticket_state XML. +- tools: Fix the arguments annotation for ticket-constraints. +- schemas: Change the type of a ticket's id attribute. +- libcrmcommon: Escape newlines and tabs in XML attribute values +- libcrmcommon: handle invalid match in pcmk__replace_submatches() +- cts-lab: Parse log watch timestamps on exerciser side + +------------------------------------------------------------------- +Fri Apr 05 07:24:43 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240325.88621b8b8: +- libcrmcommon: Revert daemon metadata output to pre-3e84f934 (gh#ClusterLabs/pacemaker#3398) + +------------------------------------------------------------------- +Fri Apr 05 07:15:52 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240325.c71f81e91: +- Pacemaker Explained: action-specific timeouts are `timeout` type now (gh#ClusterLabs/pacemaker#3385) +- fencer: correctly parse action-specific timeouts with units (gh#ClusterLabs/pacemaker#3385) +- cts-fencing: test for parsing action-specific timeouts with units (gh#ClusterLabs/pacemaker#3385) +- fencer: log the units of fencing timeouts and delays (gh#ClusterLabs/pacemaker#3385) +- fencer: log the correct unit of action-specific timeouts (gh#ClusterLabs/pacemaker#3385) +- fencer: respect per-device watchdog fencing timeout from any query result (gh#ClusterLabs/pacemaker#3385) +- fencer: prevent watchdog fencing targeting an offline node from timing out on insufficient `stonith-timeout` (gh#ClusterLabs/pacemaker#3385) +- fencer: prevent watchdog fencing from timing out on insufficient per-device fencing timeout (gh#ClusterLabs/pacemaker#3385) +- fencer: prevent watchdog fencing from timing out on insufficient `stonith-timeout` (gh#ClusterLabs/pacemaker#3385) +- fencer: prevent an in-progress watchdog fencing from timing out on query timeout (gh#ClusterLabs/pacemaker#3385) +- fencer: make an `on` action for an offline target of watchdog fencing fail (gh#ClusterLabs/pacemaker#3385) +- fencer: ask an online target of watchdog fencing to acknowledge an `on` action (gh#ClusterLabs/pacemaker#3385) +- fencer: log the correct value of `stonith-watchdog-timeout` (gh#ClusterLabs/pacemaker#3385) +- fencer: log for an offline target of watchdog fencing correctly (gh#ClusterLabs/pacemaker#3385) +- fencer: functionize checking whether a fencing action should be done with watchdog (gh#ClusterLabs/pacemaker#3385) + +------------------------------------------------------------------- +Fri Apr 05 07:05:18 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240321.03099e938: +- libcrmcommon: NULL-check strdup() in pcmk__register_message() (gh#ClusterLabs/pacemaker#3394) +- libcrmcommon: NULL-check strdup() in pcmk__register_format() (gh#ClusterLabs/pacemaker#3394) +- libpacemaker: Correctly free graphs and synapses (gh#ClusterLabs/pacemaker#3394) +- libcrmcommon: Initialize some variables (gh#ClusterLabs/pacemaker#3394) +- libcrmcommon: Avoid dumping core in pcmk__mem_assert() +- HealthSMART:fix the description of temp_lower_limit (gh#ClusterLabs/pacemaker#3392) + +------------------------------------------------------------------- +Wed Apr 03 15:38:04 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240306.56e6b6818: +- cibsecret: Use 'ps axww' to avoid truncating issue (gh#ClusterLabs/pacemaker#3384) + +------------------------------------------------------------------- +Wed Mar 20 16:56:52 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240305.2cdec7080: +- libcrmcommon: Bump feature set for crm_ticket formatted output +- tools: Use formatted output in the rest of crm_ticket. +- tools: Convert crm_ticket -G to formatted output. +- tools: Convert crm_ticket -q/-c to formatted output. +- schemas: Add a schema for crm_ticket. + +------------------------------------------------------------------- +Mon Mar 18 13:43:55 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240305.100c58ea0: +- libcrmcommon: Escape XML non-printing characters correctly as hex +- libcrmcommon: Drop "Couldn't parse XML" error messages +- libcrmcommon: pcmk__xml_read() recovery works for stdin (gh#ClusterLabs/pacemaker#3361) +- libcrmcommon: Don't try to parse XML from bad .bz2 file (gh#ClusterLabs/pacemaker#3361) + +------------------------------------------------------------------- +Thu Mar 14 11:15:30 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240304.d18a497eb: +- libcrmcommon: use uint32_t for 32-bit magic numbers (gh#ClusterLabs/pacemaker#3381) + +------------------------------------------------------------------- +Thu Mar 14 10:35:21 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240304.d7bf4680c: +- libcrmcommon: Use free_xml in html_free_priv. (gh#ClusterLabs/pacemaker#3380) +- libcrmcommon: Free error strings in html/xml outputters. (gh#ClusterLabs/pacemaker#3380) +- libcrmcommon: Free text/curses private list data. (gh#ClusterLabs/pacemaker#3380) +- tools: Fix argument validation for crm_attribute update. (gh#ClusterLabs/pacemaker#3379) +- pacemaker-fenced: improve pcmk_host_list help +- libcrmcommon, fencer: Fix some option defaults +- tools: crm_attribute --list-options --all +- scheduler: Deprecate metadata CLI option +- controller: Deprecate metadata CLI option +- based: Deprecate metadata CLI option +- libcrmcommon: Bump CRM_FEATURE_SET for cluster option listing +- tools: New crm_attribute --list-options=TYPE option +- schemas: Update for crm_attribute --list-options +- schemas: New options API schema +- schemas: New OCF RA version 1.1 schema +- tools: deprecate --text-fancy command-line option + +------------------------------------------------------------------- +Thu Mar 14 09:41:58 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + +------------------------------------------------------------------- +Fri Mar 01 10:18:23 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240226.bff14cd3f: +- libcrmservice: avoid async zombie children by resending ignored SIGCHLD (bsc#1216972, gh#ClusterLabs/pacemaker#3374) +- fencer: fix pcmk_delay_max description (gh#ClusterLabs/pacemaker#3373) + +------------------------------------------------------------------- +Tue Feb 20 19:51:03 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240220.d4f389e48: +- libcrmcommon: avoid file descriptor leak in IPC client with async connection (bsc#1219323, gh#ClusterLabs/pacemaker#3351) + +------------------------------------------------------------------- +Tue Feb 20 07:21:52 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240219.a586196f1: +- libcrmservice: Revert single quotes to double quotes in metadata +- libcrmcommon: Always output request= in XML output. (gh#ClusterLabs/pacemaker#3362) +- scheduler: improve date specification argument validation +- libcrmcommon: Properly handle UTF-8 characters when escaping XML +- libcrmcommon: Don't include "" as an attribute value +- tools: Drop newline from crm_rule errors +- libcrmcommon: Escape XML text content when adding it +- libcrmcommon: Escape XML text content when dumping XML as string +- libcrmcommon: crm_xml_escape() shouldn't stop on Unicode characters (gh#ClusterLabs/pacemaker#3323) +- libcrmcommon: Always use XML substitutions +- tools: crm_simulate output should match its schema + +- Rebase: + * bug-728579_pacemaker-stonith-dev-id.patch + +------------------------------------------------------------------- +Tue Feb 06 11:07:06 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240130.4f595be2b: +- tools: crm_attribute emits garbage for --node localhost or auto (gh#ClusterLabs/pacemaker#3339) +- scheduler: drop support for rules based on #role attribute +- CIB: deprecate support for rkt in bundles +- daemons: use ENOMEM for pcmk__new_client() failure +- daemons: return ECONNREFUSED to new clients at shutdown +- libpacemaker: Fix a parameter to the cluster-status message. +- tools: Fix memory leak in crm_mon with HTML output (gh#ClusterLabs/pacemaker#3332) + +------------------------------------------------------------------- +Tue Feb 06 08:26:12 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240122.d342672cb: +- pacemaker-attrd: improve some messages for debugging +- pacemaker-attrd: sync utilization attributes to peers correctly (gh#ClusterLabs/pacemaker#3333) +- pacemaker-attrd: properly validate attribute set type (gh#ClusterLabs/pacemaker#3333) +- cib_file: improve error message when schema file is missing +- libcrmcommon, Pacemaker Explained: improve descriptions of cluster options + +------------------------------------------------------------------- +Mon Jan 29 09:16:24 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240118.9ae4bea49: +- tools: crm_mon segfaults when fencer connection is lost (bsc#1219220, gh#ClusterLabs/pacemaker#3331) + +------------------------------------------------------------------- +Mon Jan 29 08:21:43 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240117.570909537: +- pacemaker-attrd: make sure we don't try to log NULL +- libpe_rules: Warn on invalid value-source in expressions +- libpe_rules, libpacemaker: Warn on invalid boolean-op +- CIB: Deprecate resource-discovery-enabled node attribute +- NLS: update translations for current code base +- libcib: Do not check CIB feature set for files in cib_perform_op. +- scheduler: Check the CIB feature set in cluster_status. +- based: Fix CIB version values +- attrd: write Pacemaker Remote node attributes even if not in cache (gh#ClusterLabs/pacemaker#3304) +- based: Add man page for pacemaker-based +- agents: Use attrd_updater dampen delay in SysInfo (gh#ClusterLabs/pacemaker#3286) +- libcrmcommon: Check correct env vars in pcmk__node_attr_target() (gh#ClusterLabs/pacemaker#3286) + +- Rebase: + * bug-806256_pacemaker-log-level-notice.patch + * pacemaker-cts-StartCmd.patch + +------------------------------------------------------------------- +Mon Jan 29 08:09:16 UTC 2024 - Yan Gao + +- Update to version 2.1.7+20240101.3f4ff3e98: +- libcrmcommon: use log-friendly name in pacemakerd IPC logs +- controld,libcrmcommon: improve attrd IPC API messages +- libcrmcommon: handle NULL attribute manager IPC API connections consistently +- libcrmcommon: handle disconnected attrd API connections consistently +- scheduler: restore nvpair behavior without id-ref (gh#ClusterLabs/pacemaker#3292) +- scheduler: use correct variable in log message +- scheduler: reject expression without op sooner (gh#ClusterLabs/pacemaker#3292) +- libcrmcommon: fix NULL dereference in expand_idref() (gh#ClusterLabs/pacemaker#3292) +- pacemaker-attrd,libcrmcluster: avoid use-after-free when remote node in cluster node cache (gh#ClusterLabs/pacemaker#3293) +- libcrmcluster: avoid use-after-free in trace log (gh#ClusterLabs/pacemaker#3293) +- attrd: improve logging of CIB write result +- attrd: improve messages for CIB wipe +- scheduler: improve logs for invalid id-ref's (gh#ClusterLabs/pacemaker#3292) +- scheduler: improve logging of invalid roles +- scheduler: improve messages when unpacking location constraints +- scheduler: treat config errors as processing errors +- HealthSmart: Check the parameter values of check_temperature to avoid error output (gh#ClusterLabs/pacemaker#3289) +- Modify the HealthCPU, HealthSMART, HealthIOWait scripts about the function of reload and setting the dampen +- daemons: Only ask for schemas if supported by the server +- daemons: Download newer schema files to a remote executor. +- libcrmcommon: Write crm_verify detailed messages to XML + ------------------------------------------------------------------- Wed Dec 20 13:44:11 UTC 2023 - Yan Gao @@ -1383,7 +1819,7 @@ Thu May 12 07:56:23 UTC 2022 - Yan Gao Mon May 02 10:01:36 UTC 2022 - Yan Gao - Update to version 2.1.2+20220427.c01a90fd2: -- tools: Hook up the verbosity flag in crm_attribute. +- tools: Hook up the verbosity flag in crm_attribute. (gh#ClusterLabs/pacemaker#2696, bsc#1224183) - tools: Honor CIB_file when doing node name lookups in crm_attribute. - tools: Handle a remote node's name differing from its hostname. - libcrmcommon: Fix a bug in processing multiple IPC messages. diff --git a/pacemaker.spec b/pacemaker.spec index 339e772..b0e1537 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -1,7 +1,7 @@ # # spec file for package pacemaker # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -129,7 +129,7 @@ %define with_regression_tests 0 Name: pacemaker -Version: 2.1.7+20231219.0f7f88312 +Version: 2.1.7+20240711.239cba384 Release: 0 Summary: Scalable High-Availability cluster resource manager # AGPL-3.0 licensed extra/clustermon.sh is not present in the binary @@ -484,6 +484,11 @@ ln -s ../heartbeat/NodeUtilization %{buildroot}%{ocf_root}/resource.d/pacemaker/ %endif %fdupes -s %{buildroot} +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/pacemaker/* +%python3_fix_shebang_path %{buildroot}%{_datadir}/pacemaker/tests/* +%python3_fix_shebang_path %{buildroot}%{_datadir}/pacemaker/tests/cts/* +%endif %check make %{_smp_mflags} check @@ -591,6 +596,7 @@ fi %endif %{_sbindir}/fence_watchdog +%{_mandir}/man7/pacemaker-based.7%{ext_man} %{_mandir}/man7/pacemaker-controld.7%{ext_man} %{_mandir}/man7/pacemaker-schedulerd.7%{ext_man} %{_mandir}/man7/pacemaker-fenced.7%{ext_man} @@ -661,6 +667,7 @@ fi %config(noreplace) %{_fillupdir}/sysconfig.pacemaker %config(noreplace) %{_fillupdir}/sysconfig.crm_mon %{_mandir}/man7/*pacemaker* +%exclude %{_mandir}/man7/pacemaker-based.* %exclude %{_mandir}/man7/pacemaker-controld.* %exclude %{_mandir}/man7/pacemaker-schedulerd.* %exclude %{_mandir}/man7/pacemaker-fenced.*