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
This commit is contained in:
Yan Gao 2023-12-06 12:30:32 +00:00 committed by Git OBS Bridge
parent 3d429d5100
commit 48db58056e
10 changed files with 339 additions and 49 deletions

View File

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

View File

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

View File

@ -4,11 +4,11 @@ Date: Thu Mar 14 09:41:53 2013 +0800
Log: Change some messages to notice level (bnc#806256)
Index: pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/controld/controld_membership.c
Index: pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_membership.c
===================================================================
--- pacemaker-2.1.5+20230412.b2ca1c3b1.orig/daemons/controld/controld_membership.c
+++ pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/controld/controld_membership.c
@@ -421,7 +421,7 @@ crm_update_quorum(gboolean quorum, gbool
--- 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);
@ -17,11 +17,11 @@ Index: pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/controld/controld_membership.c
controld_update_cib(XML_TAG_CIB, update, cib_scope_local,
cib_quorum_update_complete);
free_xml(update);
Index: pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/controld/controld_transition.c
Index: pacemaker-2.1.6+20230821.d00694366/daemons/controld/controld_transition.c
===================================================================
--- pacemaker-2.1.5+20230412.b2ca1c3b1.orig/daemons/controld/controld_transition.c
+++ pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/controld/controld_transition.c
@@ -182,7 +182,7 @@ do_te_invoke(long long action,
--- 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,
CRM_CHECK(controld_globals.transition_graph != NULL,
controld_globals.transition_graph = create_blank_graph();
return);
@ -30,11 +30,11 @@ Index: pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/controld/controld_transition.c
controld_globals.transition_graph->id, ref, graph_input);
te_reset_job_counts();
Index: pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/fenced/fenced_remote.c
Index: pacemaker-2.1.6+20230821.d00694366/daemons/fenced/fenced_remote.c
===================================================================
--- pacemaker-2.1.5+20230412.b2ca1c3b1.orig/daemons/fenced/fenced_remote.c
+++ pacemaker-2.1.5+20230412.b2ca1c3b1/daemons/fenced/fenced_remote.c
@@ -687,7 +687,7 @@ remote_op_timeout_one(gpointer userdata)
--- pacemaker-2.1.6+20230821.d00694366.orig/daemons/fenced/fenced_remote.c
+++ pacemaker-2.1.6+20230821.d00694366/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)
{

View File

@ -4,11 +4,11 @@ Date: Thu Apr 18 16:00:02 2013 +0800
Log: fencing: Drop the severity of the messages on registering a stonith device
Index: pacemaker-2.1.4+20220615.ce53c2c3f/daemons/fenced/fenced_commands.c
Index: pacemaker-2.1.6+20231030.66cc0f083/daemons/fenced/fenced_commands.c
===================================================================
--- pacemaker-2.1.4+20220615.ce53c2c3f.orig/daemons/fenced/fenced_commands.c
+++ pacemaker-2.1.4+20220615.ce53c2c3f/daemons/fenced/fenced_commands.c
@@ -1398,7 +1398,7 @@ stonith_device_register(xmlNode *dev, gb
--- pacemaker-2.1.6+20231030.66cc0f083.orig/daemons/fenced/fenced_commands.c
+++ pacemaker-2.1.6+20231030.66cc0f083/daemons/fenced/fenced_commands.c
@@ -1465,7 +1465,7 @@ stonith_device_register(xmlNode *dev, gb
g_hash_table_replace(device_list, device->id, device);
ndevices = g_hash_table_size(device_list);
@ -17,11 +17,11 @@ Index: pacemaker-2.1.4+20220615.ce53c2c3f/daemons/fenced/fenced_commands.c
device->id, ndevices, pcmk__plural_s(ndevices));
}
Index: pacemaker-2.1.4+20220615.ce53c2c3f/daemons/fenced/pacemaker-fenced.c
Index: pacemaker-2.1.6+20231030.66cc0f083/daemons/fenced/fenced_cib.c
===================================================================
--- pacemaker-2.1.4+20220615.ce53c2c3f.orig/daemons/fenced/pacemaker-fenced.c
+++ pacemaker-2.1.4+20220615.ce53c2c3f/daemons/fenced/pacemaker-fenced.c
@@ -1165,7 +1165,7 @@ update_cib_cache_cb(const char *event, x
--- pacemaker-2.1.6+20231030.66cc0f083.orig/daemons/fenced/fenced_cib.c
+++ pacemaker-2.1.6+20231030.66cc0f083/daemons/fenced/fenced_cib.c
@@ -618,7 +618,7 @@ update_cib_cache_cb(const char *event, x
break;
case -pcmk_err_diff_resync:
case -pcmk_err_diff_failed:

View File

@ -1,7 +1,7 @@
Index: pacemaker-2.1.4+20220912.7bce48ad0/daemons/execd/execd_commands.c
Index: pacemaker-2.1.6+20230821.d00694366/daemons/execd/execd_commands.c
===================================================================
--- pacemaker-2.1.4+20220912.7bce48ad0.orig/daemons/execd/execd_commands.c
+++ pacemaker-2.1.4+20220912.7bce48ad0/daemons/execd/execd_commands.c
--- pacemaker-2.1.6+20230821.d00694366.orig/daemons/execd/execd_commands.c
+++ pacemaker-2.1.6+20230821.d00694366/daemons/execd/execd_commands.c
@@ -210,7 +210,7 @@ action_matches(const lrmd_cmd_t *cmd, co
static void
log_finished(const lrmd_cmd_t *cmd, int exec_time_ms, int queue_time_ms)
@ -10,13 +10,13 @@ Index: pacemaker-2.1.4+20220912.7bce48ad0/daemons/execd/execd_commands.c
+ int log_level = LOG_NOTICE;
GString *str = g_string_sized_new(100); // reasonable starting size
if (pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
@@ -250,7 +250,7 @@ log_finished(const lrmd_cmd_t *cmd, int
if (pcmk__str_eq(cmd->action, PCMK_ACTION_MONITOR, pcmk__str_casei)) {
@@ -251,7 +251,7 @@ log_finished(const lrmd_cmd_t *cmd, int
static void
log_execute(lrmd_cmd_t * cmd)
{
- int log_level = LOG_INFO;
+ int log_level = LOG_NOTICE;
if (pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
if (pcmk__str_eq(cmd->action, PCMK_ACTION_MONITOR, pcmk__str_casei)) {
log_level = LOG_DEBUG;

View File

@ -1,20 +1,20 @@
Index: pacemaker-2.1.5+20230505.f342042ae/cts/lab/CTSaudits.py
Index: pacemaker-2.1.6+20231030.66cc0f083/python/pacemaker/_cts/audits.py
===================================================================
--- pacemaker-2.1.5+20230505.f342042ae.orig/cts/lab/CTSaudits.py
+++ pacemaker-2.1.5+20230505.f342042ae/cts/lab/CTSaudits.py
--- pacemaker-2.1.6+20231030.66cc0f083.orig/python/pacemaker/_cts/audits.py
+++ pacemaker-2.1.6+20231030.66cc0f083/python/pacemaker/_cts/audits.py
@@ -80,13 +80,9 @@ class LogAudit(ClusterAudit):
for node in nodes:
if self.CM.Env["have_systemd"]:
- (rc, _) = self.CM.rsh(node, "systemctl stop systemd-journald.socket")
+ (rc, _) = self.CM.rsh(node, "systemctl restart systemd-journald.socket")
if self._cm.env["have_systemd"]:
- (rc, _) = self._cm.rsh(node, "systemctl stop systemd-journald.socket")
+ (rc, _) = self._cm.rsh(node, "systemctl restart systemd-journald.socket")
if rc != 0:
- self.CM.log ("ERROR: Cannot stop 'systemd-journald' on %s" % node)
- self._cm.log("ERROR: Cannot stop 'systemd-journald' on %s" % node)
-
- (rc, _) = self.CM.rsh(node, "systemctl start systemd-journald.service")
- (rc, _) = self._cm.rsh(node, "systemctl start systemd-journald.service")
- if rc != 0:
- self.CM.log ("ERROR: Cannot start 'systemd-journald' on %s" % node)
+ self.CM.log ("ERROR: Cannot restart 'systemd-journald' on %s" % node)
- self._cm.log("ERROR: Cannot start 'systemd-journald' on %s" % node)
+ self._cm.log("ERROR: Cannot restart 'systemd-journald' on %s" % node)
(rc, _) = self.CM.rsh(node, "service %s restart" % self.CM.Env["syslogd"])
(rc, _) = self._cm.rsh(node, "service %s restart" % self._cm.env["syslogd"])
if rc != 0:

BIN
pacemaker-2.1.6+20230524.6fdc9deea.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:845a93b323d812a53d7d02550ea93326511bd91b4c8a326530d76599615b9550
size 4237072

View File

@ -1,3 +1,287 @@
-------------------------------------------------------------------
Wed Dec 06 08:13:35 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20231205.0f6fbd59f:
- scheduler: log reason for recheck time updates
- scheduler: update recheck time for node-pending-timeout
-------------------------------------------------------------------
Tue Dec 05 13:57:24 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20231204.e1a1bd808:
- tools: Fix a regression in tool XML output. (clbz#5529)
-------------------------------------------------------------------
Wed Nov 22 17:45:02 UTC 2023 - Yan Gao <ygao@suse.com>
- 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
-------------------------------------------------------------------
Wed Nov 22 17:21:47 UTC 2023 - Yan Gao <ygao@suse.com>
- 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
-------------------------------------------------------------------
Tue Nov 21 15:09:30 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20231030.66cc0f083:
- scheduler: *really* ignore monitors for invalid roles
- scheduler: avoid double free with disabled recurring actions
- scheduler: use node when unpacking failure handling for history entries
- scheduler: check for migration actions more accurately
- attrd: avoid regression by reverting 58400e27
- libcrmcommon: fix readable interval string
- attrd: restore standalone operation for regression testing
- all: avoid "data set" or "working set" in messages
- cts-lab: work around issues with Reattach test
- scheduler: improve node comparison trace messages
- fencer: compare node name case-insensitively
- attrd: Use CIB transaction in attrd_write_attribute()
- attrd: NULL-check the_cib earlier in attrd_write_attribute()
- attrd, controller: Ignore CIB diff if client is safe
- based: Make CIB transactions backward compatible
- libcrmcommon: Bump feature set for CIB transactions
- Rebase:
* bug-812269_pacemaker-fencing-device-register-messages.patch
* bug-995365_pacemaker-cts-restart-systemd-journald.patch
-------------------------------------------------------------------
Tue Nov 21 14:42:13 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20231009.5a44f03e4:
- controller: don't fence leaving nodes for node-pending-timeout
-------------------------------------------------------------------
Tue Nov 21 13:57:18 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20231004.92cc36b15:
- crm_resource: move/ban fall back to old Promoted equivalent
- libcrmcommon: Ignore text nodes when creating XML patchset
-------------------------------------------------------------------
Tue Nov 21 13:35:11 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20231003.0f5df886a:
- scheduler: compare join state case-sensitively
- scheduler: validate "terminate" node attribute better
- controller,scheduler: allow disabling node-pending-timeout
-------------------------------------------------------------------
Mon Nov 20 11:54:14 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20231003.c3e159b4d:
- libcrmcommon: Improve error log in pcmk__xml2text()
- scheduler: correct meta-attribute name in message
- scheduler: correct message about only-if-unmigratable inputs
- crm_resource: report error when trying to restart unmanaged resources
- scheduler: properly sort rule-based blocks when overwriting values
- scheduler: properly evaluate rules in action meta-attributes
-------------------------------------------------------------------
Thu Nov 16 14:56:13 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230905.dc65dc35f:
- libcrmcommon: Fix error logging in mainloop_add_ipc_server_with_prio.
- fencer: sleep 1s between reconnects
- attrd: Don't write attributes for a CIB replace that we requested
- controller: Drop CIB replace call recording and forgetting
- attrd: Ignore CIB diff notification if shutdown was requested
- controller: improve another shutdown message
- attrd: avoid race condition at writer election
- controller: improve disconnection messages
- agents: HealthCPU - fix the validation of input
- based: improve request processing messages
- agents: avoid deprecated attrd_updater option in ocf:pacemaker:ping
- tools: make crm_node -R use transaction for CIB changes
- agents: HealthCPU - Add the parameter of attrd_delay and fix attrd_updter command
- tools: improve how crm_node -R purges node from fencer
- tools: improve how crm_node -R purges node from CIB
- tools: crm_node shouldn't try to purge nodes from pacemakerd
- controller: improve logs when processing messages
-------------------------------------------------------------------
Thu Nov 16 12:29:45 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230821.d00694366:
- libcrmcommon: fix unit tests on 32-bit hosts with large files (CLBZ#5526)
- libcrmcommon: Use the new bz2-related error code.
- libcrmcommon, daemons: Use the new network-related return codes.
- tools: improve attrd_updater -U help
- attrd: improve disconnection messages
- attrd: avoid race condition when shutting down
- controller: improve messages for resource history updates
- controller: guard lrm_state_table usage with NULL check
- controller: don't try to execute agent action at shutdown
- scheduler: make validate_on_fail() replace value
- scheduler: compare action names case-sensitively in validate_on_fail()
- schemas: Add a new schema for crm_node.
- tools: Convert crm_node -l/-p to formatted output.
- tools: Convert crm_node -i to formatted output.
- tools: Convert crm_node -q to use formatted output.
- tools: Convert crm_node -n/-N to use formatted output.
- libcrmcommon: Bump feature set for crm_node formatted output
- libpacemaker: Change the type of the node_id argument.
- libcrmcommon: wait for reply from appropriate controller commands
- daemons: Disable sync points in certain circumstances.
- tools: Fix a bug in clone resource description display (rh#2106642)
- tools: The dampen parameter is disabled when setting values with attrd_updater.
- libcrmcommon: fix regression in XML logging
- build: No longer try to package the cts python directory.
- libpe_status: compare action names case-sensitively
- Rebase:
* bug-806256_pacemaker-log-level-notice.patch
* bug-943295_pacemaker-lrmd-log-notice.patch
* bug-995365_pacemaker-cts-restart-systemd-journald.patch
-------------------------------------------------------------------
Tue Nov 14 09:16:45 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230711.ecd2395f8:
- controller: do not check whether watchdog fencing is enabled for the node if `stonith-watchdog-timeout` is not even configured (bsc#1213125)
-------------------------------------------------------------------
Mon Nov 13 08:57:51 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230710.a6d9205af:
- various: compare XML element names case-sensitively
- libpacemaker: Honor role-based colocations for bundles
- libpacemaker: Anti-colocations affect scores when roles match
- libpacemaker: Don't shuffle clone instances unnecessarily (rh#1931023)
- rpm: allow passing custom rpmbuild options (CLBZ#5520)
- libcrmcommon: improve IPC connection logging and retries
- libcrmcommon: wait 500ms before IPC connection retry
- various: use pcmk__connect_generic_ipc() instead of crm_ipc_connect()
- various: use pcmk__ipc_fd() instead of crm_ipc_get_fd()
- libcrmcommon: implement is_ipc_provider_expected() as series of fallbacks
- libcrmcommon: fix is_ipc_provider_expected() with HAVE_GETPEERUCRED
- libcrmcommon: fix is_ipc_provider_expected() with HAVE_SOCKPEERCRED
- libcrmcommon: don't set libqb object context
- scheduler: continue with non-sequential set members after error
- scheduler: improve colocation unpacking messages (and comments)
- CIB: be more strict about ignoring colocation elements without an ID
- scheduler: consider explicit colocations with group members
- scheduler: improve logs when unpacking colocation sets
- CIB: deprecate "ordering" attribute of "resource_set"
- scheduler: improve error-checking when creating colocations
-------------------------------------------------------------------
Fri Oct 13 10:18:36 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230629.1c619c29a:
- libpacemaker: Respect clone-node-max for cloned groups
- libpacemaker: Log which resource we're adding colocations for
- scheduler: distinguish unrunnable from migration unrunnable in displays
- scheduler: check pointer for NULL *before* dereferencing it
- scheduler: compare strings case-sensitively where appropriate
- scheduler: assert on invalid usage of assignment methods
- rpm: enforce libcmocka-devel version dependency
-------------------------------------------------------------------
Thu Oct 12 12:36:03 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230615.16fc250dc:
- controller: Replace node state atomically at DC join ack step (rh#2000595, CLBZ#5306)
- libpacemaker: Get container attr from assigned node, if any
- Rebase:
* bug-806256_pacemaker-log-level-notice.patch
-------------------------------------------------------------------
Wed Oct 11 09:06:11 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230614.36c04fbf9:
- libpacemaker: use "Assignment" instead of "Allocation"
- libpacemaker: avoid "weight" in log messages
- libpacemaker: use "assignment" terminology consistently
- INSTALL: Add libcmocka version dependency (CLBZ#5518)
- scheduler: improve a couple of bundle messages
- scheduler: compare anti-colocation dependent negative preferences against stickiness
-------------------------------------------------------------------
Tue Sep 26 08:36:49 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- Enable crypto-policies support: [bsc#1211301]
* Honor the system-wide crypto-policies, via package-build-time
configurable "pcmk_gnutls_priorities" defaulting to @SYSTEM.
-------------------------------------------------------------------
Tue Jun 20 17:17:09 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230612.dcecc9db0:
- controller: update node state correctly based on any existing node cache entry (bsc#1198767, bsc#1202177, bsc#1206268, bsc#1208380, bsc#1211098)
- libcrmcluster: internal functions for getting a node cache entry by uuid instead of id (bsc#1198767, bsc#1202177, bsc#1206268, bsc#1208380, bsc#1211098)
- libcrmcluster: ability to search for a node cache entry by uuid instead of id (bsc#1198767, bsc#1202177, bsc#1206268, bsc#1208380, bsc#1211098)
- controller: trigger a new transition if a pending node has reached `node-pending-timeout`
- controller: pass abort_timer to the timeout function abort_timer_popped()
- controller: read `node-pending-timeout` cluster option
- cts-scheduler: add regression test for fencing a pending node that has reached `node-pending-timeout`
- scheduler: fence a pending node that has reached `node-pending-timeout`
- scheduler: add `node-pending-timeout` cluster option
- scheduler: ability to determine node status from `in_ccm` and `crmd` fields of `node_state` based on timestamps
- controller: record the timestamps of a node becoming a cluster member and online in CPG in CIB `node_state`
- libcrmcluster: add ability to record the timestamps of a node becoming a cluster member and online in CPG
- libcrmcommon: bump feature set to 3.18.0 for handling node pending timeout
- cts-scheduler: update regression test about not fencing a pending node that doesn't have an uname in node state yet (bsc#1198767, bsc#1202177, bsc#1206268, bsc#1208380, bsc#1211098)
- scheduler: Do not fence a pending node that doesn't have an uname in node state yet (bsc#1198767, bsc#1202177, bsc#1206268, bsc#1208380, bsc#1211098)
- cts-scheduler: add regression test about a pending node that doesn't have an uname in node state yet (bsc#1198767, bsc#1202177, bsc#1206268, bsc#1208380, bsc#1211098)
-------------------------------------------------------------------
Tue Jun 20 16:14:15 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230612.e6e89f803:
- libcib: Support transactions for CIB file clients
- libcrmcommon: replace_xml_node() segfaults when doc is shared
- libcib: Allow multiple cib_file clients simultaneously
- crm_verify: Add --quiet option to crm_verify
- based: Support CIB transactions
-------------------------------------------------------------------
Tue Jun 20 11:56:58 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230607.730523cd1:
- libcrmservice: Fix an error when coverage is enabled.
- scheduler: revert recently introduced regression
- cts: self.rsh returns a tuple, not a single value.
- xml: Improve efficiency of attribute value obtainment
- based: NULL-check digest strings in cib_process_command()
- based: Fix use-after-free in cib_process_command()
- based: Fix bad sync check in sync_our_cib()
- scheduler: skip non-exclusive nodes correctly for clones
- scheduler: order clone instances properly
-------------------------------------------------------------------
Tue Jun 20 11:28:22 UTC 2023 - Yan Gao <ygao@suse.com>
- Update to version 2.1.6+20230524.f1298840d:
- libcrmcommon: Fix Coverity false positive pcmk__file_contents()
- libcrmcommon: NULL-check argument to pcmk__mark_xml_created()
- controller: When a remote node starts, apply any start state.
- liblrmd: Save a remote node's requested start state
- daemons: Add start state to LRMD handshake XML
- Rebase:
* bug-995365_pacemaker-cts-restart-systemd-journald.patch
-------------------------------------------------------------------
Mon Jun 19 08:57:42 UTC 2023 - Yan Gao <ygao@suse.com>
@ -1372,7 +1656,7 @@ Tue Feb 08 08:22:23 UTC 2022 - Yan Gao <ygao@suse.com>
- fencing: improve exit reason for fencing timeouts (rh#1470834)
- controller: improve exit reason for internal timeouts (rh#1470834)
- controller,libpacemaker: make history XML creation less chatty (rh#1470834)
- fencing: don't warn if cluster has no watchdog device (rh#1470834)
- fencing: don't warn if cluster has no watchdog device (rh#1470834, bsc#1213125)
- libcrmcommon: don't say "Unknown error" (rh#1470834)
- libcrmcommon: improve description for "not connected" status (rh#1470834)
@ -3544,7 +3828,7 @@ Fri Jan 11 10:11:05 UTC 2019 - ygao@suse.com
- attrd: check for alert changes after CIB is replaced
- attrd: start new election if writer is lost
- attrd: handle shutdown more cleanly (bsc#1173668)
- attrd: don't start a new election when receiving a client update
- attrd: don't start a new election when receiving a client update (bsc#1215446)
- attrd: clear lost updates
- attrd: don't delay re-attempted writes unless original failed
- attrd: connect to the CIB before connecting the cluster

View File

@ -75,6 +75,12 @@
# Define globals for convenient use later
%if 0%{?suse_version} >= 1560 || 0%{?sle_version} >= 150600
## Base GnuTLS cipher priorities (presumably only the initial, required keyword)
## overridable with "rpmbuild --define 'pcmk_gnutls_priorities PRIORITY-SPEC'"
%define gnutls_priorities %{?pcmk_gnutls_priorities}%{!?pcmk_gnutls_priorities:@SYSTEM}
%endif
%global hacluster_id 90
## Distro-specific configuration choices
@ -123,7 +129,7 @@
%define with_regression_tests 0
Name: pacemaker
Version: 2.1.6+20230524.6fdc9deea
Version: 2.1.6+20231205.0f6fbd59f
Release: 0
Summary: Scalable High-Availability cluster resource manager
# AGPL-3.0 licensed extra/clustermon.sh is not present in the binary
@ -164,7 +170,7 @@ BuildRequires: resource-agents
BuildRequires: sed
BuildRequires: pkgconfig(bzip2)
# Required for "make check"
BuildRequires: pkgconfig(cmocka)
BuildRequires: pkgconfig(cmocka) >= 1.1.0
BuildRequires: pkgconfig(corosync) >= 2.0.0
BuildRequires: pkgconfig(dbus-1)
# Required for core functionality
@ -172,7 +178,7 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.42
BuildRequires: pkgconfig(gnutls)
# Pacemaker requires a minimum libqb functionality
BuildRequires: pkgconfig(libqb) >= 0.17.0
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(ncurses)
# Pacemaker requires a minimum Python functionality
@ -327,7 +333,7 @@ Requires: pkgconfig(bzip2)
Requires: pkgconfig(corosync) >= 2.0.0
Requires: pkgconfig(glib-2.0)
Requires: pkgconfig(libqb)
Requires: pkgconfig(libxml-2.0)
Requires: pkgconfig(libxml-2.0) >= 2.6.0
Requires: pkgconfig(libxslt)
Requires: pkgconfig(uuid)
%if %{enable_cluster_libs_pkg}
@ -427,6 +433,7 @@ autoreconf -fvi
%{?with_cibsecrets: --with-cibsecrets} \
%{?with_nls: --enable-nls} \
%{?with_sbd_sync: --with-sbd-sync-default="true"} \
%{?gnutls_priorities: --with-gnutls-priorities="%{gnutls_priorities}"} \
%{?bug_url: --with-bug-url=%{bug_url}} \
%{?ocf_root: --with-ocfdir=%{ocf_root}} \
%{?concurrent_fencing} \
@ -729,7 +736,6 @@ fi
%endif
%files cts
%{python3_sitelib}/cts
%{python3_sitelib}/pacemaker/_cts/
%{_datadir}/pacemaker/tests