Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crmsh for openSUSE:Factory checked 
in at 2022-03-07 17:46:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
 and      /work/SRC/openSUSE:Factory/.crmsh.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh"

Mon Mar  7 17:46:53 2022 rev:241 rq:959760 version:4.4.0+20220307.347f815c

Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes      2022-02-17 
23:41:39.827700349 +0100
+++ /work/SRC/openSUSE:Factory/.crmsh.new.1958/crmsh.changes    2022-03-07 
17:47:05.811117144 +0100
@@ -1,0 +2,7 @@
+Mon Mar 07 01:18:29 UTC 2022 - xli...@suse.com
+
+- Update to version 4.4.0+20220307.347f815c:
+  * Dev: testcases: Update expected testcase with pacemaker update
+  * Fix: utils: Only raise exception when return code of systemctl command 
over ssh larger than 4 (bsc#1196726)
+
+-------------------------------------------------------------------

Old:
----
  crmsh-4.4.0+20220217.b8f67f4e.tar.bz2

New:
----
  crmsh-4.4.0+20220307.347f815c.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.LFLgr9/_old  2022-03-07 17:47:06.531116937 +0100
+++ /var/tmp/diff_new_pack.LFLgr9/_new  2022-03-07 17:47:06.535116935 +0100
@@ -36,7 +36,7 @@
 Summary:        High Availability cluster command-line interface
 License:        GPL-2.0-or-later
 Group:          %{pkg_group}
-Version:        4.4.0+20220217.b8f67f4e
+Version:        4.4.0+20220307.347f815c
 Release:        0
 URL:            http://crmsh.github.io
 Source0:        %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.LFLgr9/_old  2022-03-07 17:47:06.599116916 +0100
+++ /var/tmp/diff_new_pack.LFLgr9/_new  2022-03-07 17:47:06.607116915 +0100
@@ -9,7 +9,7 @@
 </service>
 <service name="tar_scm">
   <param name="url">https://github.com/ClusterLabs/crmsh.git</param>
-  <param 
name="changesrevision">b8f67f4e0eb53af9396d854a8ab740460c70c7ce</param>
+  <param 
name="changesrevision">347f815c6565d0f8d8d5472a5640cfc1ce78ccb5</param>
 </service>
 </servicedata>
 (No newline at EOF)

++++++ crmsh-4.4.0+20220217.b8f67f4e.tar.bz2 -> 
crmsh-4.4.0+20220307.347f815c.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220217.b8f67f4e/crmsh/utils.py 
new/crmsh-4.4.0+20220307.347f815c/crmsh/utils.py
--- old/crmsh-4.4.0+20220217.b8f67f4e/crmsh/utils.py    2022-02-17 
05:38:34.000000000 +0100
+++ new/crmsh-4.4.0+20220307.347f815c/crmsh/utils.py    2022-03-07 
02:03:08.000000000 +0100
@@ -2540,10 +2540,13 @@
         elif self.remote_addr and self.remote_addr != this_node():
             prompt_msg = "Run \"{}\" on {}".format(cmd, self.remote_addr)
             rc, output, err = run_cmd_on_remote(cmd, self.remote_addr, 
prompt_msg)
+            # see "EXIT STATUS" in man systemctl
+            if rc > 4:
+                raise ValueError("Run \"{}\" error: {}".format(cmd, err))
         else:
             rc, output, err = get_stdout_stderr(cmd)
-        if rc != 0 and err:
-            raise ValueError("Run \"{}\" error: {}".format(cmd, err))
+            if rc != 0 and err:
+                raise ValueError("Run \"{}\" error: {}".format(cmd, err))
         return rc == 0, output
 
     @property
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.4.0+20220217.b8f67f4e/test/testcases/ra.exp 
new/crmsh-4.4.0+20220307.347f815c/test/testcases/ra.exp
--- old/crmsh-4.4.0+20220217.b8f67f4e/test/testcases/ra.exp     2022-02-17 
05:38:34.000000000 +0100
+++ new/crmsh-4.4.0+20220307.347f815c/test/testcases/ra.exp     2022-03-07 
02:03:08.000000000 +0100
@@ -84,11 +84,9 @@
     Use this to enable a random delay for fencing actions.
     The overall delay is derived from this random delay value adding a static 
delay so that the sum is kept below the maximum delay.
 
-pcmk_delay_base (time, [0s]): Enable a base delay for fencing actions and 
specify base delay value.
-    This prevents double fencing when different delays are configured on the 
nodes.
-    Use this to enable a static delay for fencing actions.
-    The overall delay is derived from a random delay value adding this static 
delay so that the sum is kept below the maximum delay.
-    Set to eg. node1:1s;node2:5 to set different value per node.
+pcmk_delay_base (string, [0s]): Enable a base delay for fencing actions and 
specify base delay value.
+    This enables a static delay for fencing actions, which can help avoid 
"death matches" where two nodes try to fence each other at the same time. If 
pcmk_delay_max is also used, a random delay will be added such that the total 
delay is kept below that value.
+    This can be set to a single time value to apply to any node targeted by 
this device (useful if a separate device is configured for each target), or to 
a node map (for example, "node1:1s;node2:5") to set a different value per 
target.
 
 pcmk_action_limit (integer, [1]): The maximum number of actions can be 
performed in parallel on this device
     Cluster property concurrent-fencing=true needs to be configured first.

Reply via email to