Bug#1109786: unblock: crmsh/5.0.0~rc2-1 (3/4)
From
Valentin Vidic@21:1/5 to
All on Wed Jul 23 22:00:01 2025
[continued from previous message]
ADD_PORT = "firewall-cmd --zone=public --add-port={port}/udp"
- FENCE_HISTORY = "stonith_admin -h {node}"
-SBD_CONF = "/etc/sysconfig/sbd"
+SBD_CONF = "/etc/default/sbd"
SBD_CHECK_CMD = "sbd -d {dev} dump"
@@ -92,7 +92,7 @@
content_list = [
--- a/doc/crm.8.adoc
+++ b/doc/crm.8.adoc
-@@ -2138,7 +2138,7 @@
+@@ -2139,7 +2139,7 @@
Main functionailities include:
- Show configured disk metadata
@@ -142,7 +142,7 @@
A shared device must be available and visible on all nodes.
--- a/test/unittests/test_bootstrap.py
+++ b/test/unittests/test_bootstrap.py
-@@ -1885,7 +1885,7 @@
+@@ -1906,7 +1906,7 @@
bootstrap.rm_configuration_files()
mock_run.assert_has_calls([
mock.call('rm -f file1 file2', None),
diff -Nru crmsh-5.0.0~rc1/doc/crm.8.adoc crmsh-5.0.0~rc2/doc/crm.8.adoc
--- crmsh-5.0.0~rc1/doc/crm.8.adoc 2025-05-22 11:11:04.000000000 +0200
+++ crmsh-5.0.0~rc2/doc/crm.8.adoc 2025-07-15 07:03:56.000000000 +0200
@@ -1010,20 +1010,16 @@
Verifies the health of a specified topic.
...............
-health hawk2|sles16 [--fix]
+health hawk2|sles16 [--local] [--fix]
...............
* `hawk2`: check or fix key-based ssh authentication for user hacluster, which -is needed by hawk2.
+ is needed by hawk2.
+ ** `--fix`: attempts to automatically resolve any detected issues, eg.
+ hacluster passwordless
* `sles16`: check whether the cluster is good to migrate to SLES 16.
-
-The optional `--fix` argument attempts to automatically resolve any detected -issues.
-
-.Note on sles16
-****************************
-`--fix` is only available after the OS is migrated to SLES 16. -****************************
+ ** `--local`: run checks in local mode
+ ** `--fix`: attempts to automatically resolve any detected issues.
[[cmdhelp.cluster.init,Initialize