Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2026-01-26 12:35:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Mon Jan 26 12:35:01 2026 rev:394 rq:1329265 version:5.0.0+20260126.95a91857 Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2026-01-20 21:04:37.040212521 +0100 +++ /work/SRC/openSUSE:Factory/.crmsh.new.1928/crmsh.changes 2026-01-26 12:35:14.811500296 +0100 @@ -1,0 +2,7 @@ +Mon Jan 26 09:39:44 UTC 2026 - [email protected] + +- Update to version 5.0.0+20260126.95a91857: + * Dev: sbd: Give warning when `crm cluster health sbd` detects stonith-watchdog-timeout set to -1 + * Fix: sbd: Allow setting -1 to stonith-watchdog-timeout (bsc#1257143) + +------------------------------------------------------------------- Old: ---- crmsh-5.0.0+20260120.522c67b3.tar.bz2 New: ---- crmsh-5.0.0+20260126.95a91857.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.JtY25Q/_old 2026-01-26 12:35:15.619534203 +0100 +++ /var/tmp/diff_new_pack.JtY25Q/_new 2026-01-26 12:35:15.623534371 +0100 @@ -41,7 +41,7 @@ Summary: High Availability cluster command-line interface License: GPL-2.0-or-later Group: %{pkg_group} -Version: 5.0.0+20260120.522c67b3 +Version: 5.0.0+20260126.95a91857 Release: 0 URL: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.JtY25Q/_old 2026-01-26 12:35:15.675536553 +0100 +++ /var/tmp/diff_new_pack.JtY25Q/_new 2026-01-26 12:35:15.679536721 +0100 @@ -9,7 +9,7 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">522c67b3b78e1f84c3e55e70e2387d46dd4017b4</param> + <param name="changesrevision">c58a6e83071267885b061de91e4e0638eaa61474</param> </service> </servicedata> (No newline at EOF) ++++++ crmsh-5.0.0+20260120.522c67b3.tar.bz2 -> crmsh-5.0.0+20260126.95a91857.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-5.0.0+20260120.522c67b3/crmsh/sbd.py new/crmsh-5.0.0+20260126.95a91857/crmsh/sbd.py --- old/crmsh-5.0.0+20260120.522c67b3/crmsh/sbd.py 2026-01-20 03:07:57.000000000 +0100 +++ new/crmsh-5.0.0+20260126.95a91857/crmsh/sbd.py 2026-01-26 09:28:29.000000000 +0100 @@ -417,10 +417,12 @@ if not ServiceManager().service_is_active(constants.SBD_SERVICE): logger.error("Can't set stonith-watchdog-timeout because sbd.service is not active") return False - sbd_watchdog_timeout = SBDTimeout.get_sbd_watchdog_timeout() - if value < sbd_watchdog_timeout: - logger.error("Can't set stonith-watchdog-timeout to %d because it is less than SBD_WATCHDOG_TIMEOUT(now: %d)", - value, sbd_watchdog_timeout) + expected_stonith_watchdog_timeout = 2 * SBDTimeout.get_sbd_watchdog_timeout() + if value == -1: + logger.warning("It's recommended to set stonith-watchdog-timeout to a positive value (at least 2*SBD_WATCHDOG_TIMEOUT: %d)", expected_stonith_watchdog_timeout) + return True + elif value < expected_stonith_watchdog_timeout: + logger.error("It's required to set stonith-watchdog-timeout to at least 2*SBD_WATCHDOG_TIMEOUT: %d", expected_stonith_watchdog_timeout) return False return True @@ -765,6 +767,10 @@ def _check_stonith_watchdog_timeout(self) -> CheckResult: value = utils.get_property("stonith-watchdog-timeout") + if value and int(value) == -1: + if not self.quiet: + logger.warning("It's recommended that stonith-watchdog-timeout is et to %d, now is -1", self.stonith_watchdog_timeout) + return CheckResult.WARNING value = int(utils.crm_msec(value)/1000) if self.disk_based: if value > 0:
