pacemaker/bug-995365_pacemaker-cts-restart-systemd-journald.patch

18 lines
1.0 KiB
Diff
Raw Normal View History

Accepting request 919502 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.0+20210816.c6a4f6e6c (Pacemaker-2.1.1-rc3) : - crm_resource: translate LSB rc to exit code and fix resources_find_service_class() call - controller: ensure newly joining node learns the node names of non-DCs (bsc#1180618) - controller: ensure lost node's transient attributes are cleared without DC (rh#1986998) - Update to version 2.1.0+20210806.a64ad221a (Pacemaker-2.1.1-rc2): - pacemakerd: show correct error message if can't request shutdown - scheduler: Output the clone header if there are no instances. - scheduler: Sort brief output of resources. - scheduler: Fix display of active resources on offline nodes. - tools: avoid memory leaks in crm_mon - tools: avoid (insignificant) memory leaks - Update to version 2.1.0+20210727.9e3a841a3 (Pacemaker-2.1.1-rc1): - scheduler: Fix XML output of cloned groups. - scheduler: Condense group and clone status in output. - scheduler: Only output the clone header if necessary. - scheduler: Mark partially active groups in output. - scheduler: Tweak resource filtering for groups. - libcrmcommon: Also allow string arguments that start with a dash. - tools: Audit command line options. - Update to version 2.1.0+20210721.0bf0e8547: - scheduler: respect runnable argument when creating pseudo op - scheduler: pe_order_implies_first should matter if 'then' is required - scheduler: don't make optional constraints with group members mandatory - scheduler: avoid invalid transition when group member unmanaged (clbz#5423) - Update to version 2.1.0+20210720.202b37962: OBS-URL: https://build.opensuse.org/request/show/919502 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=349
2021-09-16 12:47:19 +02:00
Index: pacemaker/cts/lab/CTSaudits.py
===================================================================
Accepting request 919502 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.0+20210816.c6a4f6e6c (Pacemaker-2.1.1-rc3) : - crm_resource: translate LSB rc to exit code and fix resources_find_service_class() call - controller: ensure newly joining node learns the node names of non-DCs (bsc#1180618) - controller: ensure lost node's transient attributes are cleared without DC (rh#1986998) - Update to version 2.1.0+20210806.a64ad221a (Pacemaker-2.1.1-rc2): - pacemakerd: show correct error message if can't request shutdown - scheduler: Output the clone header if there are no instances. - scheduler: Sort brief output of resources. - scheduler: Fix display of active resources on offline nodes. - tools: avoid memory leaks in crm_mon - tools: avoid (insignificant) memory leaks - Update to version 2.1.0+20210727.9e3a841a3 (Pacemaker-2.1.1-rc1): - scheduler: Fix XML output of cloned groups. - scheduler: Condense group and clone status in output. - scheduler: Only output the clone header if necessary. - scheduler: Mark partially active groups in output. - scheduler: Tweak resource filtering for groups. - libcrmcommon: Also allow string arguments that start with a dash. - tools: Audit command line options. - Update to version 2.1.0+20210721.0bf0e8547: - scheduler: respect runnable argument when creating pseudo op - scheduler: pe_order_implies_first should matter if 'then' is required - scheduler: don't make optional constraints with group members mandatory - scheduler: avoid invalid transition when group member unmanaged (clbz#5423) - Update to version 2.1.0+20210720.202b37962: OBS-URL: https://build.opensuse.org/request/show/919502 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=349
2021-09-16 12:47:19 +02:00
--- pacemaker.orig/cts/lab/CTSaudits.py
+++ pacemaker/cts/lab/CTSaudits.py
@@ -67,10 +67,8 @@ class LogAudit(ClusterAudit):
for node in nodes:
if self.CM.Env["have_systemd"]:
- if self.CM.rsh(node, "systemctl stop systemd-journald.socket") != 0:
- self.CM.log ("ERROR: Cannot stop 'systemd-journald' on %s" % node)
- if self.CM.rsh(node, "systemctl start systemd-journald.service") != 0:
- self.CM.log ("ERROR: Cannot start 'systemd-journald' on %s" % node)
+ if self.CM.rsh(node, "systemctl restart systemd-journald.socket") != 0:
+ self.CM.log ("ERROR: Cannot restart 'systemd-journald' on %s" % node)
if self.CM.rsh(node, "service %s restart" % self.CM.Env["syslogd"]) != 0:
self.CM.log ("ERROR: Cannot restart '%s' on %s" % (self.CM.Env["syslogd"], node))