Sync from SUSE:SLFO:Main pacemaker revision ea091ec6f6566ff814689bb80caa9578

This commit is contained in:
Adrian Schröter 2024-08-02 15:16:25 +02:00
parent 53cc6c27bf
commit 9fc3fdc0c7
9 changed files with 490 additions and 47 deletions

View File

@ -11,7 +11,7 @@
<param name="version">2.1.7</param> <param name="version">2.1.7</param>
--> -->
<param name="versionformat">2.1.7+%cd.%h</param> <param name="versionformat">2.1.7+%cd.%h</param>
<param name="revision">Pacemaker-2.1.7</param> <param name="revision">239cba384f</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
</service> </service>

View File

@ -5,4 +5,4 @@
</service> </service>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/ClusterLabs/pacemaker.git</param> <param name="url">https://github.com/ClusterLabs/pacemaker.git</param>
<param name="changesrevision">0f7f88312f7a1ccedee60bf768aba79ee13d41e0</param></service></servicedata> <param name="changesrevision">d7c233090057d4f660fa458a2ff97896b15ea951</param></service></servicedata>

View File

@ -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 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.7+20240208.bc5596299.orig/daemons/fenced/fenced_commands.c
+++ pacemaker-2.1.4+20220928.4690461db/daemons/fenced/fenced_commands.c +++ pacemaker-2.1.7+20240208.bc5596299/daemons/fenced/fenced_commands.c
@@ -1096,6 +1096,7 @@ build_device_from_xml(xmlNode *dev) @@ -1151,6 +1151,7 @@ build_device_from_xml(xmlNode *dev)
(const char *) device->on_target_actions->str); (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); device->work = mainloop_add_trigger(G_PRIORITY_HIGH, stonith_device_dispatch, device);
/* TODO: Hook up priority */ /* 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.7+20240208.bc5596299.orig/lib/fencing/st_actions.c
+++ pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c +++ pacemaker-2.1.7+20240208.bc5596299/lib/fencing/st_actions.c
@@ -31,6 +31,7 @@ struct stonith_action_s { @@ -31,6 +31,7 @@ struct stonith_action_s {
char *agent; char *agent;
char *action; char *action;
@ -28,7 +28,7 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c
int timeout; int timeout;
bool async; bool async;
void *userdata; 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); services_action_free(action->svc_action);
} }
pcmk__reset_result(&(action->result)); pcmk__reset_result(&(action->result));
@ -36,16 +36,16 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c
free(action); 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) { if (device_args) {
char buffer[512]; char buffer[512];
const char *value = NULL; 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; + const char *st_dev_id_value = NULL;
snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", action_name); snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", action_name);
value = g_hash_table_lookup(device_args, buffer); 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) { if (value) {
action->max_retries = atoi(value); action->max_retries = atoi(value);
} }
@ -57,7 +57,7 @@ Index: pacemaker-2.1.4+20220928.4690461db/lib/fencing/st_actions.c
} }
return action; 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,
"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 */ /* keep retries from executing out of control and free previous results */
if (is_retry) { if (is_retry) {
pcmk__reset_result(&(action->result)); 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.7+20240208.bc5596299.orig/lib/services/services_linux.c
+++ pacemaker-2.1.4+20220928.4690461db/lib/services/services_linux.c +++ pacemaker-2.1.7+20240208.bc5596299/lib/services/services_linux.c
@@ -29,6 +29,9 @@ @@ -29,6 +29,9 @@
#include "crm/services.h" #include "crm/services.h"
#include "crm/services_internal.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) + if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)
+ && pcmk__str_eq(op->agent, "fence_legacy", pcmk__str_casei) + && pcmk__str_eq(op->agent, "fence_legacy", pcmk__str_casei)
+ && op->rsc != NULL) { + && 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); + setenv(st_dev_id_key, op->rsc, 1);
+ } + }

View File

@ -4,24 +4,24 @@ Date: Thu Mar 14 09:41:53 2013 +0800
Log: Change some messages to notice level (bnc#806256) 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.7+20240118.9ae4bea49.orig/daemons/controld/controld_membership.c
+++ pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_membership.c +++ pacemaker-2.1.7+20240118.9ae4bea49/daemons/controld/controld_membership.c
@@ -435,7 +435,7 @@ crm_update_quorum(gboolean quorum, gbool @@ -432,7 +432,7 @@ crm_update_quorum(gboolean quorum, gbool
crm_xml_add_int(update, XML_ATTR_HAVE_QUORUM, quorum); crm_xml_add_int(update, PCMK_XA_HAVE_QUORUM, quorum);
crm_xml_add(update, XML_ATTR_DC_UUID, controld_globals.our_uuid); crm_xml_add(update, PCMK_XA_DC_UUID, controld_globals.our_uuid);
- crm_debug("Updating quorum status to %s", pcmk__btoa(quorum)); - crm_debug("Updating quorum status to %s", pcmk__btoa(quorum));
+ crm_notice("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); cib_quorum_update_complete);
free_xml(update); 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.7+20240118.9ae4bea49.orig/daemons/controld/controld_transition.c
+++ pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_transition.c +++ pacemaker-2.1.7+20240118.9ae4bea49/daemons/controld/controld_transition.c
@@ -171,7 +171,7 @@ do_te_invoke(long long action, @@ -167,7 +167,7 @@ do_te_invoke(long long action,
CRM_CHECK(controld_globals.transition_graph != NULL, CRM_CHECK(controld_globals.transition_graph != NULL,
controld_globals.transition_graph = create_blank_graph(); controld_globals.transition_graph = create_blank_graph();
return); 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); controld_globals.transition_graph->id, ref, graph_input);
te_reset_job_counts(); 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.7+20240118.9ae4bea49.orig/daemons/fenced/fenced_remote.c
+++ pacemaker-2.1.6+20230821.d00694366/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) @@ -695,7 +695,7 @@ remote_op_timeout_one(gpointer userdata)
static void static void
finalize_timed_out_op(remote_fencing_op_t *op, const char *reason) finalize_timed_out_op(remote_fencing_op_t *op, const char *reason)

BIN
pacemaker-2.1.7+20231219.0f7f88312.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
pacemaker-2.1.7+20240711.239cba384.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
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.7+20240118.9ae4bea49.orig/python/pacemaker/_cts/patterns.py
+++ pacemaker-2.1.5+20230309.a4b0ea1b5/python/pacemaker/_cts/patterns.py +++ pacemaker-2.1.7+20240118.9ae4bea49/python/pacemaker/_cts/patterns.py
@@ -135,7 +135,7 @@ class Corosync2Patterns(BasePatterns): @@ -139,7 +139,7 @@ class Corosync2Patterns(BasePatterns):
self._name = "crm-corosync" self._name = "crm-corosync"
self._commands.update({ self._commands.update({

View File

@ -1,3 +1,439 @@
-------------------------------------------------------------------
Fri Jul 12 11:13:38 UTC 2024 - Yan Gao <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 "<null>" 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com>
- 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 <ygao@suse.com> Wed Dec 20 13:44:11 UTC 2023 - Yan Gao <ygao@suse.com>
@ -1383,7 +1819,7 @@ Thu May 12 07:56:23 UTC 2022 - Yan Gao <ygao@suse.com>
Mon May 02 10:01:36 UTC 2022 - Yan Gao <ygao@suse.com> Mon May 02 10:01:36 UTC 2022 - Yan Gao <ygao@suse.com>
- Update to version 2.1.2+20220427.c01a90fd2: - 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: Honor CIB_file when doing node name lookups in crm_attribute.
- tools: Handle a remote node's name differing from its hostname. - tools: Handle a remote node's name differing from its hostname.
- libcrmcommon: Fix a bug in processing multiple IPC messages. - libcrmcommon: Fix a bug in processing multiple IPC messages.

View File

@ -1,7 +1,7 @@
# #
# spec file for package pacemaker # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -129,7 +129,7 @@
%define with_regression_tests 0 %define with_regression_tests 0
Name: pacemaker Name: pacemaker
Version: 2.1.7+20231219.0f7f88312 Version: 2.1.7+20240711.239cba384
Release: 0 Release: 0
Summary: Scalable High-Availability cluster resource manager Summary: Scalable High-Availability cluster resource manager
# AGPL-3.0 licensed extra/clustermon.sh is not present in the binary # 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 %endif
%fdupes -s %{buildroot} %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 %check
make %{_smp_mflags} check make %{_smp_mflags} check
@ -591,6 +596,7 @@ fi
%endif %endif
%{_sbindir}/fence_watchdog %{_sbindir}/fence_watchdog
%{_mandir}/man7/pacemaker-based.7%{ext_man}
%{_mandir}/man7/pacemaker-controld.7%{ext_man} %{_mandir}/man7/pacemaker-controld.7%{ext_man}
%{_mandir}/man7/pacemaker-schedulerd.7%{ext_man} %{_mandir}/man7/pacemaker-schedulerd.7%{ext_man}
%{_mandir}/man7/pacemaker-fenced.7%{ext_man} %{_mandir}/man7/pacemaker-fenced.7%{ext_man}
@ -661,6 +667,7 @@ fi
%config(noreplace) %{_fillupdir}/sysconfig.pacemaker %config(noreplace) %{_fillupdir}/sysconfig.pacemaker
%config(noreplace) %{_fillupdir}/sysconfig.crm_mon %config(noreplace) %{_fillupdir}/sysconfig.crm_mon
%{_mandir}/man7/*pacemaker* %{_mandir}/man7/*pacemaker*
%exclude %{_mandir}/man7/pacemaker-based.*
%exclude %{_mandir}/man7/pacemaker-controld.* %exclude %{_mandir}/man7/pacemaker-controld.*
%exclude %{_mandir}/man7/pacemaker-schedulerd.* %exclude %{_mandir}/man7/pacemaker-schedulerd.*
%exclude %{_mandir}/man7/pacemaker-fenced.* %exclude %{_mandir}/man7/pacemaker-fenced.*