3 Commits

Author SHA256 Message Date
Xin Liang
0e3a701071 Update to version 5.0.0+20260209.ed56b53c
* Fix: cibverify: If no errors found, treat crm_verify result as success (bsc#1250349)
  * Fix: log: Add milliseconds time format to crmsh.log (bsc#1255021)
  * Dev: corosync: Add milliseconds to log time format
  * Fix: ui_cluster: Stop dlm in maintenance mode correctly (bsc#1253733)
  * 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)
2026-02-14 16:49:13 +08:00
Xin Liang
95bf09c92b Update to version 5.0.0+20260120.522c67b3
* Dev: sbd: Replace "recommend" with "required" for log error message
  * Dev: sbd: Check and fix stonith_enabled property
  * Dev: sbd: Refactor to enable checking when cluster is down
  * Dev: sbd: Add debug log for sbd checking results
  * Dev: options: Change 'force' option to be session-only (bsc#1254892)
  * Dev: sbd: Check and fix fence_sbd agent
  * Dev: sbd: Check if sbd.service is enabled on all nodes
  * Dev: ui_sbd: Do sbd timeout-related configurations check on 'crm sbd status' as well
  * Dev: sbd: Ignore comment line and blank line when checking consistency
  * Dev: sbd: Check sbd systemd start timeout on all nodes
  * Dev: sbd: Check if the drop-in file which to unset SBD_DELAY_START exists on all nodes
  * Dev: sbd: Show multi errors or warnings at once if detected
  * Dev: sbd: Enable to fix devices metadata consistency issue
  * Dev: sbd: Show diff output after error output when checking consistency
  * Dev: sbd: Check configurations consistency only if there are reachable nodes
  * Dev: utils: Refactor utils.check_all_nodes_reachable
  * Dev: sbd: Check and fix drop-in file which to unset SBD_DELAY_START
  * Dev: ui_sbd: Get minimum timeout value dynamically
  * Dev: sbd: Calculate expected msgwait timeout correctly with crashdump timeout
  * Dev: sbd: check SBD_DELAY_START for non integer case
  * Dev: sbd: Check all nodes are reachable when checking SBD-related timeouts (jsc#PED-14995)
  * Dev: bootstrap: Sync directory sbd.SBDManager.SBD_SYSTEMD_DELAY_START_DIR
  * Dev: bootstrap: Refactor retrieve_all_config_files function
  * Dev: sbd: Don't use category when checking sbd timeout
  * Dev: sbd: Allow some timeout values bigger than expected
  * Dev: sbd: Adjust check/fix functions for watchdog timeout and msgwait timeout
  * Dev: sbd: Rename attribute warn to quiet in class SBDTimeoutChecker
  * Dev: utils: check_ssh_passwd_need: Add SSH_AUTH_SOCK if detected in environment
  * Dev: sbd: Minor improvements for log clarity
  * Dev: sbd: Take crashdump watchdog timeout into account
  * Dev: doc: Add help info for `crm cluster health sbd`
  * Dev: sbd: Introduce class sbd.SBDTimeoutChecker ((jsc#PED-14995))
  * Dev: ui_cluster: Introduce sbd option for 'crm cluster health' command
  * Dev: utils: Rename utils.is_quorate to utils.cluster_with_quorum
  * Dev: crash_test: Reuse get_node_list in xmlutil.CrmMonXmlParser
  * Dev: utils: Reuse methods in xmlutil.CrmMonXmlParser
  * Dev: crash_test: Removed unused codes related to check.py
  * Fix: qdevice: Make sure stonith-watchdog-timeout is 2 times of SBD_WATCHDOG_TIMEOUT (bsc#1254571)
  * Dev: run-functional-tests: Stop firewalld.service before tests
  * Dev: utils: Rename utils.ssh_reachable_check to utils.ssh_port_reachable_check
  * Dev: utils: Check if the peer node needs password to access
  * Dev: utils: Rename utils.node_reachable_check to utils.ssh_reachable_check
  * Dev: ui_utils: Move ui_node.parse_option_for_nodes to ui_utils.parse_and_validate_node_args
  * Fix: utils: Raise UnreachableNodeError for those ssh unreachable nodes (bsc#1250645)
  * Dev: utils: Adjust node_reachable_check function and the way it is used
  * Dev: ui_sbd: Validate purge option first
  * Dev: sbd: Improve the process of leveraging maintenance mode
  * Fix: migration: Avoid exception inside thread
  * Dev: sbd: Remove sbd configuration directories while removing cluster node
  * Dev: report: mix stderr and stdout in one stream when collecting command outputs
  * Fix: bootstrap: ignore ssh authentication failure to localhost when merging known_hosts (#1931)
  * Dev: report: Collect corosync status in crm report
  * Dev: ui_sbd: Check if crashdump is configured before purging crashdump options
  * Fix: ui_configure: Check if able to set stonith-watchdog-timeout property
  * Fix: prun: Avoid unnecessary sudo in sftp and ssh commands (bsc#1229416)
  * Fix: bootstrap: Correctly identify root user with host
  * Fix: sh: Avoid unnecessary sudo calls in ClusterShell SSH commands (bsc#1229416)
  * Dev: bootstrap: Disable pacemaker and sbd services after removing node
  * Dev: sbd: Dynamically retrieve and use DefaultTimeoutStartUSec for sbd.service
  * Dev: ui_sbd: Minor changes for log info
  * Dev: sbd: If the expected stonith-watchdog-timeout is smaller than the
  * Dev: sbd: Decrease sbd related timeouts when expected value decreases
  * Dev: report: Collect xml format output from crm_mon
  * Dev: bootstrap: Avoid circular import by refactoring FILES_TO_SYNC to use get_files_to_sync()
  * Dev: Get instance of CibFactory by using cibconfig.cib_factory_instance()
  * Dev: bootstrap: Lazily initialize tempfile to store original corosync.conf in Context to avoid circular import
  * Dev: ui_sbd: Add and check the minimum SBD timeout value
  * Dev: doc: Add formula for crashdump watchdog timeout in TimeoutFormulas section
  * Dev: Import only module instead of functions from module
  * Dev: Use functools.cache instead of custom memoize
  * Fix: migration: Populate node name during corosync configuration migration (bsc#1250585)
  * Fix: corosync: Fallback to CIB when node name is missing (bsc#1250585)
  * Fix: bootstrap: public keys from ssh-agent are not added to local authorized_keys in `crm cluster join` (#1916)
  * Fix: log: divided-by-zero when terminal width is 0 in progress bar
  * Fix: cibconfig: Add utils.auto_convert_role=True flag in method CibObjectSetCli.save
  * Dev: spec: Change csync2 from requies to recommends
  * Dev: bootstrap: For compatibility concerns, add -x option back
  * Dev: doc: Update help text for crm cluster copy subcommand
  * Dev: Rename function utils.cluster_copy_file to utils.cluster_copy_path
  * Dev: Rename function bootstrap.sync_file to bootstrap.sync_path
  * Dev: utils: Improve cluster_copy_file with absolute path, dir check, mkdir on remote
  * Dev: bootstrap: Add -d option for cpio, to create directories as needed
  * Dev: sbd: Only sync /etc/sysconfig/sbd when cluster is running
  * Dev: bootstrap: Remove csync2 stage from join side
  * Dev: bootstrap: Remove node_list_in_cluster from Context
  * Dev: bootstrap: Don't remove csync2-related files when removing cluster node
  * Dev: bootstrap: Remove csync2 from stage dependency list
  * Dev: ui_cluster: Drop -x option, skip configuring and using csync2 by default
2026-01-23 10:41:23 +08:00
xin liang
58b9939fd8 Update to version 5.0.0+20250904.957a78b
* Dev: sbd: Minor refactor enable_sbd_service method in SBDManager
  * Dev: sbd: Check if fence-agents-sbd is installed on join node
  * Dev: sbd: Check if fence-agents-sbd is installed on interactive mode
  * Dev: sbd: Check if fence-agents-sbd is installed for non sbd stage
  * Fix: sbd: Ensure proper cluster restart when adding diskless SBD
    (bsc#1248874)
  * Dev: sbd: Check if fence-agents-sbd is installed on all nodes
  * Fix: Makefile: should uninstall man pages
  * Fix: packaging: use `CURDIR` instead of `PWD` in Makefile
  * Dev: report: Update HA related packages for crm report to check and
    verify
  * Fix: doc: the usage parser in help2adoc should support multiline
    usages
  * Dev: packaging: add some runtime deps to build deps to support
    running `crm help` during builds
  * Dev: packaing: add doc subdir to Makefile
  * Refactor: packaging: kill automake and move build steps from
    crmsh.spec into Makefile
  * Fix: ui_cluster: Call crm report directly for the legacy `crm
    cluster health` command (bsc#1230324)
  * Dev: bootstrap: Enable to remove pacemaker remote node
  * Dev: ui_node: Don't unpack node info from node_state for `node show`
    command
  * Dev: xmlutil: Add instance method get_res_id_of_remote_node
  * Dev: bootstrap: No need to remove /var/lib/crmsh
  * Dev: xmlutil: Refactor CrmMonXmlParser.get_node_list to be an
    instance method
  * Dev: utils: Refactor validate_and_get_reachable_nodes for clearer
    logic
  * Dev: xmlutil: Use a single node_type parameter instead of two
    mutually exclusive parameters
  * Dev: utils: Skip reachable checking for pacemaker remote node
  * Dev: cibquery: Remove filter condition for pacemaker remote node
  * Dev: ui_node: Enable maintenance pacemaker remote node
  * Dev: ui_node: Enable standby/online pacemaker remote node
  * Dev: xmlutil: Drop xmlutil.listnodes function
  * Dev: packaging: remove deprecated `data_files`
  * Dev: add asciidoc to the test image
2025-09-10 18:01:23 +08:00
6 changed files with 144 additions and 6 deletions

View File

@@ -3,10 +3,11 @@
<param name="url">https://github.com/ClusterLabs/crmsh.git</param>
<param name="scm">git</param>
<param name="filename">crmsh</param>
<param name="changesauthor">XLiang@suse.com</param>
<param name="versionformat">@PARENT_TAG@+%cd.%h</param>
<param name="versionrewrite-pattern">(\d+\.\d+\.\d+)(?:-[a-z]+\d*)?(.*)</param>
<param name="versionrewrite-replacement">\1\2</param>
<param name="revision">8d89c3d0</param>
<param name="revision">ed56b53c</param>
<param name="changesgenerate">enable</param>
</service>

View File

@@ -9,6 +9,6 @@
</service>
<service name="tar_scm">
<param name="url">https://github.com/ClusterLabs/crmsh.git</param>
<param name="changesrevision">8d89c3d005de6582871d178f79ee44d66ffea8ab</param>
<param name="changesrevision">ed56b53c53d599bb63cbdb513547390740a00c7e</param>
</service>
</servicedata>

Binary file not shown.

Binary file not shown.

View File

@@ -1,3 +1,140 @@
-------------------------------------------------------------------
Sat Feb 14 08:45:26 UTC 2026 - XLiang@suse.com
- Update to version 5.0.0+20260209.ed56b53c:
* Fix: cibverify: If no errors found, treat crm_verify result as success (bsc#1250349)
* Fix: log: Add milliseconds time format to crmsh.log (bsc#1255021)
* Dev: corosync: Add milliseconds to log time format
* Fix: ui_cluster: Stop dlm in maintenance mode correctly (bsc#1253733)
* 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)
-------------------------------------------------------------------
Fri Jan 23 02:37:24 UTC 2026 - XLiang@suse.com
- Update to version 5.0.0+20260120.522c67b3:
* Dev: sbd: Replace "recommend" with "required" for log error message
* Dev: sbd: Check and fix stonith_enabled property
* Dev: sbd: Refactor to enable checking when cluster is down
* Dev: sbd: Add debug log for sbd checking results
* Dev: options: Change 'force' option to be session-only (bsc#1254892)
* Dev: sbd: Check and fix fence_sbd agent
* Dev: sbd: Check if sbd.service is enabled on all nodes
* Dev: ui_sbd: Do sbd timeout-related configurations check on 'crm sbd status' as well
* Dev: sbd: Ignore comment line and blank line when checking consistency
* Dev: sbd: Check sbd systemd start timeout on all nodes
* Dev: sbd: Check if the drop-in file which to unset SBD_DELAY_START exists on all nodes
* Dev: sbd: Show multi errors or warnings at once if detected
* Dev: sbd: Enable to fix devices metadata consistency issue
* Dev: sbd: Show diff output after error output when checking consistency
* Dev: sbd: Check configurations consistency only if there are reachable nodes
* Dev: utils: Refactor utils.check_all_nodes_reachable
* Dev: sbd: Check and fix drop-in file which to unset SBD_DELAY_START
* Dev: ui_sbd: Get minimum timeout value dynamically
* Dev: sbd: Calculate expected msgwait timeout correctly with crashdump timeout
* Dev: sbd: check SBD_DELAY_START for non integer case
* Dev: sbd: Check all nodes are reachable when checking SBD-related timeouts (jsc#PED-14995)
* Dev: bootstrap: Sync directory sbd.SBDManager.SBD_SYSTEMD_DELAY_START_DIR
* Dev: bootstrap: Refactor retrieve_all_config_files function
* Dev: sbd: Don't use category when checking sbd timeout
* Dev: sbd: Allow some timeout values bigger than expected
* Dev: sbd: Adjust check/fix functions for watchdog timeout and msgwait timeout
* Dev: sbd: Rename attribute warn to quiet in class SBDTimeoutChecker
* Dev: utils: check_ssh_passwd_need: Add SSH_AUTH_SOCK if detected in environment
* Dev: sbd: Minor improvements for log clarity
* Dev: sbd: Take crashdump watchdog timeout into account
* Dev: doc: Add help info for `crm cluster health sbd`
* Dev: sbd: Introduce class sbd.SBDTimeoutChecker ((jsc#PED-14995))
* Dev: ui_cluster: Introduce sbd option for 'crm cluster health' command
* Dev: utils: Rename utils.is_quorate to utils.cluster_with_quorum
* Dev: crash_test: Reuse get_node_list in xmlutil.CrmMonXmlParser
* Dev: utils: Reuse methods in xmlutil.CrmMonXmlParser
* Dev: crash_test: Removed unused codes related to check.py
* Fix: qdevice: Make sure stonith-watchdog-timeout is 2 times of SBD_WATCHDOG_TIMEOUT (bsc#1254571)
* Dev: run-functional-tests: Stop firewalld.service before tests
* Dev: utils: Rename utils.ssh_reachable_check to utils.ssh_port_reachable_check
* Dev: utils: Check if the peer node needs password to access
* Dev: utils: Rename utils.node_reachable_check to utils.ssh_reachable_check
* Dev: ui_utils: Move ui_node.parse_option_for_nodes to ui_utils.parse_and_validate_node_args
* Fix: utils: Raise UnreachableNodeError for those ssh unreachable nodes (bsc#1250645)
* Dev: utils: Adjust node_reachable_check function and the way it is used
* Dev: ui_sbd: Validate purge option first
* Dev: sbd: Improve the process of leveraging maintenance mode
* Fix: migration: Avoid exception inside thread
* Dev: sbd: Remove sbd configuration directories while removing cluster node
* Dev: report: mix stderr and stdout in one stream when collecting command outputs
* Fix: bootstrap: ignore ssh authentication failure to localhost when merging known_hosts (#1931)
* Dev: report: Collect corosync status in crm report
* Dev: ui_sbd: Check if crashdump is configured before purging crashdump options
* Fix: ui_configure: Check if able to set stonith-watchdog-timeout property
* Fix: prun: Avoid unnecessary sudo in sftp and ssh commands (bsc#1229416)
* Fix: bootstrap: Correctly identify root user with host
* Fix: sh: Avoid unnecessary sudo calls in ClusterShell SSH commands (bsc#1229416)
* Dev: bootstrap: Disable pacemaker and sbd services after removing node
* Dev: sbd: Dynamically retrieve and use DefaultTimeoutStartUSec for sbd.service
* Dev: ui_sbd: Minor changes for log info
* Dev: sbd: If the expected stonith-watchdog-timeout is smaller than the
* Dev: sbd: Decrease sbd related timeouts when expected value decreases
* Dev: report: Collect xml format output from crm_mon
* Dev: bootstrap: Avoid circular import by refactoring FILES_TO_SYNC to use get_files_to_sync()
* Dev: Get instance of CibFactory by using cibconfig.cib_factory_instance()
* Dev: bootstrap: Lazily initialize tempfile to store original corosync.conf in Context to avoid circular import
* Dev: ui_sbd: Add and check the minimum SBD timeout value
* Dev: doc: Add formula for crashdump watchdog timeout in TimeoutFormulas section
* Dev: Import only module instead of functions from module
* Dev: Use functools.cache instead of custom memoize
* Fix: migration: Populate node name during corosync configuration migration (bsc#1250585)
* Fix: corosync: Fallback to CIB when node name is missing (bsc#1250585)
* Fix: bootstrap: public keys from ssh-agent are not added to local authorized_keys in `crm cluster join` (#1916)
* Fix: log: divided-by-zero when terminal width is 0 in progress bar
* Fix: cibconfig: Add utils.auto_convert_role=True flag in method CibObjectSetCli.save
* Dev: spec: Change csync2 from requies to recommends
* Dev: bootstrap: For compatibility concerns, add -x option back
* Dev: doc: Update help text for crm cluster copy subcommand
* Dev: Rename function utils.cluster_copy_file to utils.cluster_copy_path
* Dev: Rename function bootstrap.sync_file to bootstrap.sync_path
* Dev: utils: Improve cluster_copy_file with absolute path, dir check, mkdir on remote
* Dev: bootstrap: Add -d option for cpio, to create directories as needed
* Dev: sbd: Only sync /etc/sysconfig/sbd when cluster is running
* Dev: bootstrap: Remove csync2 stage from join side
* Dev: bootstrap: Remove node_list_in_cluster from Context
* Dev: bootstrap: Don't remove csync2-related files when removing cluster node
* Dev: bootstrap: Remove csync2 from stage dependency list
* Dev: ui_cluster: Drop -x option, skip configuring and using csync2 by default
-------------------------------------------------------------------
Wed Sep 10 09:59:28 UTC 2025 - XLiang@suse.com
- Update to version 5.0.0+20250904.957a78b:
* Dev: sbd: Minor refactor enable_sbd_service method in SBDManager
* Dev: sbd: Check if fence-agents-sbd is installed on join node
* Dev: sbd: Check if fence-agents-sbd is installed on interactive mode
* Dev: sbd: Check if fence-agents-sbd is installed for non sbd stage
* Fix: sbd: Ensure proper cluster restart when adding diskless SBD (bsc#1248874)
* Dev: sbd: Check if fence-agents-sbd is installed on all nodes
* Fix: Makefile: should uninstall man pages
* Fix: packaging: use `CURDIR` instead of `PWD` in Makefile
* Dev: report: Update HA related packages for crm report to check and verify
* Fix: doc: the usage parser in help2adoc should support multiline usages
* Dev: packaging: add some runtime deps to build deps to support running `crm help` during builds
* Dev: packaing: add doc subdir to Makefile
* Refactor: packaging: kill automake and move build steps from crmsh.spec into Makefile
* Fix: ui_cluster: Call crm report directly for the legacy `crm cluster health` command (bsc#1230324)
* Dev: bootstrap: Enable to remove pacemaker remote node
* Dev: ui_node: Don't unpack node info from node_state for `node show` command
* Dev: xmlutil: Add instance method get_res_id_of_remote_node
* Dev: bootstrap: No need to remove /var/lib/crmsh
* Dev: xmlutil: Refactor CrmMonXmlParser.get_node_list to be an instance method
* Dev: utils: Refactor validate_and_get_reachable_nodes for clearer logic
* Dev: xmlutil: Use a single node_type parameter instead of two mutually exclusive parameters
* Dev: utils: Skip reachable checking for pacemaker remote node
* Dev: cibquery: Remove filter condition for pacemaker remote node
* Dev: ui_node: Enable maintenance pacemaker remote node
* Dev: ui_node: Enable standby/online pacemaker remote node
* Dev: xmlutil: Drop xmlutil.listnodes function
* Dev: packaging: remove deprecated `data_files`
* Dev: add asciidoc to the test image
-------------------------------------------------------------------
Fri Aug 15 08:07:43 UTC 2025 - XLiang@suse.com

View File

@@ -41,7 +41,7 @@ Name: crmsh
Summary: High Availability cluster command-line interface
License: GPL-2.0-or-later
Group: %{pkg_group}
Version: 5.0.0+20250815.8d89c3d
Version: 5.0.0+20260209.ed56b53c
Release: 0
URL: http://crmsh.github.io
Source0: %{name}-%{version}.tar.bz2