Repository navigation
Expand file tree
/
Copy pathChangeLog
More file actions
2601 lines (2549 loc) · 161 KB
/
Copy pathChangeLog
File metadata and controls
2601 lines (2549 loc) · 161 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
* Tue Aug 25 2026 Xin Liang <XLiang@suse.com>
- Release 5.1.0
- Fix: ui_sbd: Resolve SBD device aliases on removal (#2171)
- Dev: crash_test: Prefer nft for split-brain blocking (#2172)
- Dev: migration: Add check and online auto-fix for deprecated cluster properties (bsc#1271223)
- Fix: migration: typo in the signature of method `handle_problem`
- Dev: Document minor changes and clean the unused codes (#2086)
- Dev: doc: Fix typos in crm.8.adoc
- Dev: doc: Remove parallax-related expressions from crm.8.adoc
- Dev: Remove unused functions
- Dev: doc: Remove csync2 from crm.8.adoc
- Dev: Avoid hash for content checks (#2167)
- Dev: qdevice: Move utils.get_qdevice_sync_timeout into QDevice class (#2164)
- Dev: sbd: Drop default deprecated properties
- Dev: sbd: Discover deprecated properties dynamically
- Dev: ra: Split deprecated parameter helpers
- Dev: sbd: Check and fix deprecated properties (jsc#PED-14631)
- Fix: bootstrap: Log pacemaker enable action conditionally (#2162)
- Revert "Dev: bootstrap: Still set deprecated properties during bootstrap (#2077)"
- Dev: log: Add quiet-aware logger adapter (#2158)
- Fix: migration: RRP is reported deprecated incorrectly (bsc#1250586) (#2154)
- Dev: utils: Drop utils.pacemaker_daemon function (#2148)
- Dev: sbd: Check and fix SBD_PACEMAKER in sysconfig (#2133)
- Dev: network_utils: Refactor network helpers out of utils.py (#2141)
- Dev: network_utils: Refactor bootstrap network helpers
- Fix: crm.conf.in: keep the section headers uncommented (#2143) (#2144)
- fix: update cluster blocking ssh test properly via crm.conf
* Mon Jun 29 2026 Xin Liang <XLiang@suse.com>
- Release 5.1.0 rc2
- Dev: Refactor storage helpers out of utils.py (#2132)
- Chore: unittests: reduce output verbosity and stop printing coverage report (#2139)
- Dev: storage_utils: Rename blkid UUID helper
- Dev: storage_utils: Refactor storage helpers out of utils.py
- Dev: bootstrap: Warn about deprecating legacy and unencrypted/unauthenticated knet transports (jsc#PED-16433) (#2131)
- Dev: bootstrap: add a warning about deprecating unencrypted/unauthenticated knet transport (jsc#PED-16433)
- Dev: bootstrap: update warning about deprecating legacy transports (jsc#PED-16433)
- Dev: help: Show alias command info (#2128)
- Dev: help: Refactor to encapsulate alias help logic in subclass
- Dev: help: Give the correct level index to fuzzy search for topic help
- Dev: crm.8.adoc: Improve crm.8.adoc
- Dev: utils: Add class MultipathInspector to inspect multipath devices (#2116)
- Fix: sbd: Verify sbd devices on all nodes (#2118)
- Dev: ui_sbd: Call SBDUtils.verify_sbd_device in multiple places
- Dev: sbd: Introduce function sbd.SBDUtils.get_sbd_device_metadata_raw
- Dev: sbd: Compare SBD device UUID optionally
- Dev: sbd: Call SBDUtils.verify_sbd_device when doing sbd health check
- Dev: bootstrap: Call join_sbd before changing corosync.conf
- Dev: log: Lower corosync config tokenizer log level to reduce noise and decouple logging from config (#2123)
- Refactor: crash_test: Use log filters to control output instead of removing handlers
- Refactor: log: replace crmsh.log.setup_logger with logging.setupLogger
- Dev: log: Use filters to control handler output and simplify logger setup
- Dev: corosync_config_format: lower the level of debug logs from tokenizer to DEBUG2
- Refactor: log: Decouple logging from config module
- Fix: sbd: Compare SBD device UUID when adding SBD via sbd stage (#2120)
- Chore: github-actions: update to node.js 24 actions (#2119)
- Dev: qdevice: Configure "-p <port>" for /etc/sysconfig/corosync-qnetd on qnetd server (#2094)
- Dev: ui_cluster: Refactor qdevice options validation
- Dev: ui_cluster: Add --qnetd-port option and deprecate --qdevice-port option
- Dev: bootstrap: Find and show failed services (#2104)
- Dev: Separately check if corosync-qdevice.service is successfully started
- Dev: service_manager: Use systemctl is-active to make sure the service is really active
- Fix: sbd: Set bootstrap_context.diskless_sbd to True when diskless SBD is enabled on interactive mode (#2106)
* Thu May 7 2026 Xin Liang <XLiang@suse.com>
- Release 5.1.0 rc1
- Dev: bootstrap: Load profiles if needed (#2102)
- Dev: log: Sync the file formatter for NO_COLOR_FORMATTERS (#2088)
- Dev: ui_cluster: Add --now option for crm cluster enable/disable commands (#2099)
- Dev: ui_cluster: Add -F/--force option for 'crm cluster init' command (#2082)
- Dev: doc: Adjust crm.8.adoc about -F/--force option
- Dev: ui_sbd: Add -F/--force option for crm sbd configure/device/purge commands
- Dev: qdevice: Improve local address check for qnetd (bsc#1262094) (#2098)
- Fix: ui_cluster: rename: Sync corosync.conf when at least one peer exists (#2090)
- Dev: utils: Improve check_port_open to concurrently try all addresses (bsc#1262094) (#2085)
- Dev: ui_cluster: Sleep 1s before checking qdevice vote (#2087)
- Dev: corosync: Check qdevice vote while checking corosync status
- Fix: watchdog: use cluster_shell() for remote watchdog query (#2078) (#2083)
- Dev: ui_cluster: Improve 'rename' subcommand (#2079)
- Dev: Use xmlutil.CrmMonXmlParser.get_node_list instead of parsing output of 'crm_node -l' (#2074)
- Fix: qdevice: Change suggestion message when detecting cluster name conflict (bsc#1261884)
- Dev: bootstrap: Still set deprecated properties during bootstrap (#2077)
- Dev: ui_configure: Don't hide deprecated properties from the completion results
- Dev: ui_sbd: Refactor SBD crashdump set/purge flow to avoid inconsistent /etc/sysconfig/sbd (#1978)
- Fix: bootstrap: Ensure robust node identification when removing from cluster (bsc#1259683) (#2069)
- Dev: sbd: And check and fix methods for fence_sbd pcmk_delay_max and crashdump parameter (#2071)
- Dev: sbd: Add diskless SBD warning while doing sbd health check (#2043)
- Dev: bootstrap: Reject setup sbd stage if cluster is not quorate
- Dev: ui_sbd: Rename SBD.check_timeout_configurations to SBD.check_sbd_health
- Fix: sbd: Update the formular to calculate the expected fencing-watchdog-timeout (#2059)
- Fix: crm.8.adoc: Use cluster inside KVM guest as example instead of Xen (#2068)
- Dev: doc: Update the formular to calculate the expected fencing-watchdog-timeout
- Fix: bootstrap: On join node, retrieve qdevice certification files before starting qdevice (bsc#1254243) (#1984)
- Dev: qdevice: Remove unused codes
- Dev: Replace terminology 'stonith' with 'fencing' (jsc#PED-14631) (#2030)
- Dev: sbd: Check and fix based on the current property term
- Dev: utils: Use class DeprecatedTermTranslator
- Dev: utils: Get deprecated cluster options dynamically
- Dev: ui_configure: Hide deprecated name while running get_property/property
- Dev: Check deprecated properties for multiple commands
- Dev: Check deprecated property name and give warning
- Dev: doc: Replace terminology 'stonith' with 'fencing' in crm.8.adoc
- Dev: xmlutil: Consider both 'stonith' and 'fencing' terms when checking watchdog timeout
- Fix: sh: Use sh_helper.py for su commands (bsc#1254757) (#2048)
- Fix: log: Disable color when not on a TTY (bsc#1259178) (#2052)
- Dev: bootstrap: Skip inactive cluster node when calling restart_cluster function (#2042)
- Dev: sh: Use sh_helper.py for su commands (bsc#1254757)
- Dev: ui_cluster: Hint the watchdog option should be used with sbd option (#1947)
- Dev: doc: Mention about watchdog-device option also acceptes driver name
- Dev: watchdog: Improve the fatal error logging message
- Dev: spec: create dirs in /var with tmpfiles.d (jsc#PED-14865) (#2033)
- Dev: qdevice: Refactor the process of configuring QDevice (#2014)
- Dev: qdevice: Leverage maintenance mode while adding and removing qdevice
- Dev: qdevice: Configure the QDevice statically
- Apply suggestion from @Copilot
- Fix: fix asyncio usage with python 3.14 and later (#2037)
- Dev: qdevice: Remove duplicated code for checking qdevice installation
- Chore: codecov: update expected report count
- Minor improvement for sbd (#2021)
- Dev: bootstrap: Disable sbd.service when the process is in 'cluster' stage
- Dev: sbd: Move diskless SBD warning to adjust_properties
- Dev: sbd: record ERROR when prerequisite checks fail
- Dev: sbd: rename SBDTimeoutChecker to SBDConfigChecker
- Dev: sbd: Replace magic numbers with IntEnum for check prerequisites
- Dev: sbd: Add self._log_when_not_quiet() method to avoid checking self.quiet everywhere
- Dev: bootstrap: The sbd stage now requires a running cluster
- Dev: sbd: Adjust related properties after cluster started on init process
- Dev: sbd: Add quiet attribute to class SBDTimeout
- Dev: workflows: Enable Python 3.14 for unit test (#2029)
- minieval.py : remove ast.Num and ast.Str no longer available in Python 3.14* (#2028)
- Fix: cibverify: If no errors found, treat crm_verify result as success (bsc#1250349) (#1929)
- Handle errors raised from the latest CI image (#2025)
- Dev: Dockerfile: Explicitly install diffutils
- Fix: log: Add milliseconds time format to crmsh.log (bsc#1255021) (#1996)
- Dev: corosync: Add milliseconds to log time format
- Fix: ui_cluster: Stop dlm in maintenance mode correctly (bsc#1253733) (#2022)
- Dev: run-functional-tests: Sleep 2s after creating contaier and attaching network (#2007)
- Fix: sbd: Allow setting -1 to stonith-watchdog-timeout (bsc#1257143) (#2015)
- Dev: run-functional-tests: Add timestamp logging for better debugging
- Dev: sbd: Give warning when `crm cluster health sbd` detects stonith-watchdog-timeout set to -1
- Dev: sbd: Check and fix stonith_enabled property (#2013)
- Dev: sbd: Replace "recommend" with "required" for log error message
- Dev: options: Change 'force' option to be session-only (bsc#1254892) (#2009)
- Improve 'cluster health sbd' command (#2003)
- Dev: sbd: Refactor to enable checking when cluster is down
- Dev: sbd: Add debug log for sbd checking results
- 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 file /etc/systemd/system/sbd.service.d/sbd_delay_start.conf when joining cluster (#2005)
- Dev: bootstrap: Sync directory sbd.SBDManager.SBD_SYSTEMD_DELAY_START_DIR
- Dev: bootstrap: Refactor retrieve_all_config_files function
- Check and fix SBD-related timeout values (#1932)
- 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: Remove unused function
- 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
- Dev: ui_cluster: Introduce sbd option for 'crm cluster health' command
- Dev: crash_test: Removed unused codes related to check.py (#1993)
- Dev: utils: Reuse methods in xmlutil.CrmMonXmlParser (#1952)
- Dev: utils: Rename utils.is_quorate to utils.cluster_with_quorum
- Dev: crash_test: Reuse get_node_list in xmlutil.CrmMonXmlParser
- Fix: qdevice: Make sure stonith-watchdog-timeout is 2 times of SBD_WATCHDOG_TIMEOUT (bsc#1254571) (#1991)
- Revert "Dev: Update Docker image" (#1989)
- Dev: run-functional-tests: Stop firewalld.service before tests
- Fix: migration: Avoid exception inside thread (#1979)
- Dev: utils: Check if the peer node needs password to access (#1987)
- Dev: utils: Rename utils.ssh_reachable_check to utils.ssh_port_reachable_check
- Fix: utils: Raise UnreachableNodeError for those ssh unreachable nodes (bsc#1250645) (#1860)
- 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
- Dev: utils: Adjust node_reachable_check function and the way it is used
- Dev: sbd: Improve the process of leveraging maintenance mode (#1950)
- Dev: ui_sbd: Validate purge option first
- Dev: Update Docker image (#1982)
- Dev: sbd: Remove sbd configuration directories while removing cluster node (#1962)
- Dev: report: Collect xml format output from crm_mon (#1954)
- Dev: report: mix stderr and stdout in one stream when collecting command outputs (#1975)
- Fix: unittest: should mock shell calling in SBDTimout.get_default_systemd_start_timeout
- Dev: report: Collect corosync status in crm report (#1971)
- Dev: ui_sbd: Check if crashdump is configured before purging crashdump options (#1963)
- Fix: bootstrap: ignore ssh authentication failure to localhost when merging known_hosts (#1931) (#1970)
- Fix: ui_configure: Check if able to set stonith-watchdog-timeout property (#1923)
- Fix: sh: Avoid unnecessary sudo calls in ClusterShell SSH commands (bsc#1229416) (#1941)
- Fix: prun: Avoid unnecessary sudo in sftp and ssh commands (bsc#1229416)
- Fix: bootstrap: Correctly identify root user with host
- Dev: doc: Add formula for crashdump watchdog timeout in TimeoutFormulas section (#1942)
- Dev: bootstrap: Disable pacemaker and sbd services after removing node (#1957)
- Dev: ui_sbd: Add and check the minimum SBD timeout value (#1944)
- Dev: sbd: Decrease sbd related timeouts when expected value decreases (#1934)
- 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: Improve to avoid circular imports (#1940)
- 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: Import only module instead of functions from module
- Dev: Use functools.cache instead of custom memoize (#1939)
- Fix: corosync: Handle missing node names in configuration and migration (bsc#1250585) (#1937)
- 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
- Dev: test_container: add expect and remove automake (#1921)
- Fix: cibconfig: Add utils.auto_convert_role=True flag in method CibObjectSetCli.save (#1919)
- Dev: bootstrap: Skip csync2 by default (#1824)
- 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
- Dev: sbd: Minor refactor enable_sbd_service method in SBDManager (#1908)
- Dev: sbd: Check if fence-agents-sbd is installed for other cases (#1907)
- Dev: ui_node: Don't unpack node info from node_state for `node show` command (#1861)
- 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) (#1906)
- Dev: sbd: Check if fence-agents-sbd is installed on all nodes (#1905)
- Dev: bootstrap: Remove pacemaker remote node (#1825)
- Fix: Makefile: should uninstall man pages (#1904)
- Fix: packaging: use `CURDIR` instead of `PWD` in Makefile (#1902)
- Dev: packaging: add `--help` text of all subcommands to the man page (#1900)
- Dev: report: Update HA related packages for crm report to check and verify (#1901)
- 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: merge the build steps in crmsh.spec and Makefile.am (#1882)
- 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) (#1570)
- Dev: bootstrap: Enable to remove pacemaker remote node
- Dev: run-functional-tests: Add -i option for podman exec command to support interactive mode (#1898)
- Dev: xmlutil: Add instance method get_res_id_of_remote_node
- Dev: ui_node: Enable standby and maintenance on pacemaker remote node (#1855)
- Dev: bootstrap: No need to remove /var/lib/crmsh (#1896)
- 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 (#1895)
* Thu Aug 14 2025 Xin Liang <XLiang@suse.com>
- Release 5.0.0
- Fix: log: missing LF after a progress bar (#1886)
- Dev: sbd: Use SBDUtils.get_sbd_device_from_config for reliable diskless SBD detection
- Dev: sbd: Add with_sbd parameter for the case when sbd is not active
- Dev: sbd: Restart cluster after configured sbd and adjusted properties
- Fix: sbd: Ensure stonith-watchdog-timeout is >= 2 * SBD_WATCHDOG_TIMEOUT (bsc#1247415)
- Dev: xmlutil: Add is_non_stonith_resource_running() and use for cluster restart checks
- Fix: doc: Add TimeoutFormulas help topic (bsc#1242981)
- Dev: command: Show help topic completion only at root level
- Fix: sbd: should show warning instead of error when unable to restart the cluster automatically after changing configs (bsc#1246956)
- Dev: qdevice: Reload corosync configuration on one node
- Fix: bootstrap: continue qnetd setup when ssh keypair is not found for some cluster nodes (#1850)
- Dev: sbd: Add pcmk_delay_max back to calculate SBD_DELAY_START
- Dev: doc: release crmsh-5.0 document
- Fix: ui_context: should not require root privilege when using subcommand 'help'
- Fix: sbd: Avoid negative value for the property 'stonith-watchdog-timeout' (bsc#1246622)
* Tue Jul 15 2025 Xin Liang <XLiang@suse.com>
- Release 5.0.0 rc2
- Dev: migration: allow to run migration locally (jsc#PED-8252)
- Dev: Remove unused code
- Dev: utils: Validate if local node is a cluster member on peer node's view
- Dev: ui_cluster: Enhance membership validation for `cluster run` command
- Dev: corosync: Get value from runtime.config prefix and update default token value
- Fix: bootstrap: should fallback to default user when `core.hosts` is not availabe from the seed node (bsc#1245343)
- Fix: bootstrap: Refine qnetd passwordless configuration logic (bsc#1245387)
- Fix: log: Improve function confirm's logic (bsc#1245386)
- Dev: bootstrap: Remove dead node from the cluster
- Dev: Prevent actions when offline nodes are unreachable
- Dev: xmlutil: Address circular import issue
- Dev: bootstrap: Remove user@host item from /root/.config/crm/crm.conf when removing node
- Dev: run-functional-tests: Fetch container's IP address correctly
- Dev: provide a friendly message when passwordless ssh does not work (bsc#1244525)
- Fix: bootstrap: Reload corosync after sync corosync.conf (bsc#1244437)
- Fix: bootstrap: setup_passwordless_with_other_nodes does not update the authorized_keys on localhost (bsc#1244314)
- Dev: cibconfig: Prevent adding Pacemaker remote resources to groups, orders, or colocations
- Fix: report.collect: Detect log existence before using it (bsc#1244515)
- Dev: bootstrap: Improve node removal handling and messaging
- Dev: ui_corosync: Write changes made by `corosync.set` to temporary file first
- Dev: bootstrap: Improve configuration for admin IP
- Dev: bootstrap: do not hide ssh-copy-id outputs in debug mode
- Fix: bootstrap: add sleeps to avoid triggering sshd PerSourcePenalties (bsc#1243141)
- Fix: crash_test: Correctly retrieve fence event information (bsc#1243786)
- Dev: doc: Update help text for `corosync set` command
- Dev: corosync_config_format: Skip comment key
- ui_corosync: Add push reminder after called `corosync set`
- Dev: ui_corosync: Call `corosync -t` to do verification
- Dev: migration: use atomic write to modify corosync.conf on remote nodes (jsc#PED-8252)
- Dev: Dockerfile: Install pacemaker-remote package
* Wed May 21 2025 Xin Liang <XLiang@suse.com>
- Release 5.0.0 rc1
- Dev: Drop scripts and templates which include unsupported RAs (jsc#PED-8924) (#1800)
- Dev: sbd: Remove pcmk_delay_max while cacaulating stonith timeout value (#1740)
- Fix: corosync: Don't set quorum.two_node to 1 if qdevice configured (#1797)
- Dev: ui_cluster: Add firewalld stage to crm cluster init help info (#1796)
- Dev: Refactor code to manage high-availability service in firewalld (#1781)
- Dev: bootstrap: Add high-availability firewalld service on geo arbitrator
- Dev: bootstrap: Apply firewalld changes to both runtime and permanent configurations without reload
- Dev: bootstrap: Manage high-availability service in firewalld (bsc#1242494)
- Dev: qdevice: Enable qnetd port in firewalld
- Dev: bootstrap: Remove codes of configuring ports in firewalld
- Dev: Add high-availability.xml for service of firewalld (bsc#1242494)
- Dev: ui_configure: Add ':' suffix to order kind completer (#1775)
- Dev: main: Ignore crm flag option to get completion (#1753)
- Dev: ui_cluster: Skip stopping cluster if dlm_controld is running in maintenance mode (#1771)
- Dev: ui_cluster: Refactor the `do_restart` function
- Dev: ui_cluster: Skip stopping cluster if dlm_controld is running in maintenance mode
- Dev: migration: add a message about how to upgrade cib schema version (jsc#PED-8252) (#1770)
- Dev: cibconfig: Use VerifyResult to define the return value of sanity check related functions (#1773)
- Dev: bootstrap: use ssh agent by default (#1728)
- Fix: ra: Prevent to add unknown operation (bsc#1236442) (#1679)
- Dev: Refactored node reachability handling in multiple modules (#1765)
- Dev: bash_completion.sh: Add nosort option to disable sorting (#1761)
- Dev: doc: Adjust help of `corosync status` command (#1763)
- Dev: command: Sort the completion results for non-interactive mode
- Dev: ra: Show parameters more clearly (#1733)
- Dev: boostrap: ssh_copy_id should not use keys from ssh-agent (#1663)
- Dev: remove use_ssh_ssh_agent() and always relay SSH_AUTH_SOCK (#1663)
- Dev: bootstrap geo: allow to fallback to keyfile when login with ssh-agent fails (#1663)
- Dev: bootstrap: should pass SSH_AUTH_SOCK when swapping keys (#1633)
- Dev: bootstrap join: implement setup_passwordless_with_other_nodes by merging authorized_keys (#1663)
- Fix: ssh_key: should not use ssh-copy-id -i when using keys from ssh-agent (#1633)
- Dev: bootstrap join: allow to fallback to keyfile when login with ssh-agent fails (#1663)
- Dev: bootstrap init -N: do not raise an error when no ssh key is available (#1663)
- Dev: bootstrap join: do not raise an error when no ssh key is available (#1663)
- Dev: ui_cluster: add `--no-use-ssh-agent` (#1663)
- Dev: utils: Enhance maintenance mode management with detection and type hints (#1760)
- Dev: ra: Refactor the code about how to show parameters
- Dev: ra: Show parameters more clear
- Dev: ui_sbd: Raise TerminateSubCommand if /etc/sysconfig/sbd is not found (#1755)
- Fix: ui_cluster: Return when cluster service on all nodes are already startd (bsc#1241358) (#1746)
- Dev: main: Ignore crm flag options to get completion
- Dev: ui_sbd: Raise utils.TerminateSubCommand if /etc/sysconfig/sbd is not found
- Dev: ui_cluster: Return False when run `crm cluster stop` raise NoSSHError
- Dev: sbd: Leverage maintenance mode when need to restart cluster (#1744)
- Dev: ui_sbd: Improve log info when adjust sbd related timeout
- Dev: doc: Update crm.8.adoc for using -F/--force option for leveraging maintenance mode
- Dev: ui_sbd: Configure crashdump watchdog timeout (#1732)
- Dev: ui_sbd: Show fence_sbd parameter in 'sbd configure show'
- Dev: doc: Update doc/crm.8.adoc to add crashdump option
- Dev: ui_sbd: Add 'crashdump' option for 'sbd purge' command
- Dev: ui_sbd: Refactor the condition for configuring crashdump
- Dev: ui_sbd: Compare crashdump watchdog timeout value if configured
- Dev: ui_sbd: Add warning to emphasize that kdump service is required
- Dev: ui_sbd: Update the re pattern to match the possible arguments
- Dev: ui_configure: Show the changes with diff like format (#1730)
- Dev: ra: Drop legacy codes to fetch ra informations
- Dev: Remove codes that include rhcs term
- Dev: Drop node type normal and ping
- Dev: Drop cluster-glue in multiple places (jsc#PED-8733) (#1712)
- Dev: pre-migration: use a unsupported list instead of supported list (jsc#PED-11808) (#1720)
- Dev: ui_corosync: fix completer for link remove (#1721)
- Dev: pre-migration: add checks for deprecated resource agents (jsc#PED-11808)
- Dev: pre-migration: update the unsupported list
- Dev: pre-migration: check lsb or service resource agents (jsc#PED-11808)
- Dev: ui_resource: Refactor do_trace function (#1709)
- Fix: idmgmt: Replace hashtag('#') with point('.') in id (bsc#1239782) (#1718)
- Dev: doc: Update the default value of <heartbeat_dir> in the documentation
- Dev: cibverify: Print output of crm_verify directly (#1673)
- Dev: bootstrap: Drop /var/lib/heartbeat in source code (jsc#PED-8733)
- Dev: ui_configure: Remove 'ms' sub-command (jsc#PED-8231) (#1663)
- Dev: Replace 'Master/Slave' with 'Promoted/Unpromoted' in multiple files
- Dev: scripts: Use promotable clone instead of ms command
- Dev: ui_configure: Enable -F option for 'configure upgrade' (#1710)
- Dev: doc: Mention that 'configure upgrade' supports -F option
- Dev: migration: implement corosync.conf migration for corosync 3 (jsc#PED-8252) (#1422)
- Drop OCF_1_1_SUPPORT option in crm.conf (jsc#PED-8550) (#1703)
- Dev: utils: Ignore config.core.OCF_1_1_SUPPORT option
- Dev: etc: Drop OCF_1_1_SUPPORT option in crm.conf (jsc#PED-8550)
- Dev: ssh_key: more robust error handling in KeyFileManager (bsc#1239084) (#1706)
- Dev: ui_configure: Improve 'configure upgrade' command (#1701)
- Refactor: migration: extract a function _migrate_totem_interface (jsc#PED-8252)
- Refactor: cibquery: extract a function to get cluster nodes without side effects (jsc#PED-8252)
- Dev: migration: fix incorrect bindnetaddr when migrating a multicast cluster (jsc#PED-8252)
- Fix: migration: IndexError when there is only one interface (jsc#PED-8252)
- Dev: migration: refine the message about unsupported component version (jsc#PED-8252)
- Dev: migration: add a message about corosync.conf.bak (jsc#PED-82582)
- Fix: migration: should not report need migration when the cluster has some non-fatal problems which need manual fix (jsc#PED-8252)
- Dev: migration: no need to check if cluster services is stopped (jsc#PED-8252)
- Dev: migration: add a checker for cib schema version (jsc#PED-8252)
- Dev: migration: split problem level and is_blocker (jsc#PED-8252)
- Dev: migration: check if the cluster is already migrated to SLES 16 (jsc#PED-8252)
- Fix: migration: should not show pre-migration check summary when called with `--fix` (jsc#PED-8252)
- Dev: migration: do not check pacemaker version (jsc#PED-8252)
- Dev: migration: refine message wording (jsc#PED-11808)
- Dev: pre-migration: add summary section to output (jsc#PED-11808)
- Refactor: cibquery: has_primitive_filesystem_ocfs2 to has_primitive_filesystem_with_fstype
- Fix: cibquery: grouped primitives is missing from query results (jsc#PED-11808)
- Doc: ui_cluster: add document for `crm cluster health hawk2|sles16`
- Dev: pre-migration: add message about removing stonith:external/sbd (jsc#PED-11808)
- Fix: ui_cluster: fix do_health usage output
- Dev: pre-migration: add completer for 'crm cluster health sles16' (jsc#PED-11808)
- Dev: pre-migration: do not colorize hostname header (jsc#PED-11808)
- Dev: add pre-migration checks for pacemaker version (jsc#PED-11808)
- Dev: pre-migration: check if ocfs2 is used (jsc#PED-11808)
- Dev: pre-migration: check removed fence agents (jsc#PED-11808)
- Dev: pre-migration: check removed resource agents (jsc#PED-11808)
- Dev: pre-migration: check SAPHanaSR Classic resource agents (jsc#PED-11808)
- Dev: pre-migration: add checks for used corosync features (jsc#PED-11808)
- Dev: migration: copy migrated corosync.conf to remote nodes (jsc#PED-8252)
- Dev: migration: run checks on remote nodes (jsc#PED-8252)
- Dev: prun: create event loop manually
- Dev: ui_cluster: add 'crm cluster health sles [--fix]' (jsc#PED-8252)
- Dev: profiles: set default crypto_hash to sha256 to follow corosync default
- Dev: migration: implement multicast to knet migration (jsc#PED-8252)
- Fix: corosync: use os.env instead of os.getenv for consistency (bsc#1205925)
- Dev: migration: populate node name in corosync node list for knet multilink (jsc#PED-8252)
- Dev: doc: Update the doc of 'configure upgrade' command
- Dev: utils: Add parentheses to if else statements (#1698)
- Change default DLM RA name (#1696)
- Dev: cluster_fs: Use 'dlm-controld-ra' as the default dlm ra name
- Dev: Add error log when cluster services fail to start (#1692)
- Improve `configure schema` command (#1690)
- Dev: doc: Improve documentation for `configure schema` command
- Dev: ui_configure: Get schema statically when cluster is not running
- Dev: schema: Make sure schema changed after setting new schema by `configure schema`
- Dev: ui_cib: crm_shadow reset requires '--force' option
- Fix: ci: test container image build failure in tumbleweed (#1689)
- Dev: doc: Drop the syntax mention of '@<id>:name' in crm.8.adoc
- Dev: Improve options of 'crm status' command (jsc#PED-8231)
- Dev: constants: Drop deprecated 'restart-type' resource option (jsc#PED-8231)
- Dev: Drop unsupported 'moon' in date_spec (jsc#PED-8231)
- Dev: Remove deprecated cibadmin --local option (jsc#PED-8231)
- Dev: crash_test.utils: Drop deprecated 'poweroff' value of 'stonith-action' option (jsc#PED-8231)
- Dev: constants: Drop deprecated "crmd-integration-timeout" and "crmd-finalization-timeout" (jsc#PED-8231)
- Dev: utils: Make change since 'crmd-transition-delay' already renamed to 'transition-delay' (jsc#PED-8231)
- Dev: bootstrap: Drop 'record-pending' operation option (jsc#PED-8231)
- Dev: Add cancel option when confirming to commit for the pending changes (#1686)
- Fix: sbd: Detect if sbd package is missing on peer nodes (#1636)
- Dev: ui_configure: Add completer for 'configure schema' command (#1677)
- Revert "Fix: ui_context: Don't complete for unknown argument" (#1682)
- Dev: Refactor: Introduce custom sort order enable/disable functions
- Dev: Replace "stonith:external/<agent>" to fence_agents in multiple places (jsc#PED-8733) (#1667)
- Fix: bootstrap: Local joining node should be included when merging known_hosts (bsc#1229419) (#1639)
- Dev: bootstrap: Check if core packages like corosync/pacemaker are installed (#1675)
- Fix: report: Check if mounted.ocfs2 command exists before using it (bsc#1236220) (#1669)
- Fix: sbd: Check if fence_sbd command exists before initializing device (bsc#1236184) (#1671)
- Dev: sbd: Remove the 'devices' parameter for fence_sbd agent (#1655)
- Fix: ui_context: crmsh still complete even for unknown command (#1618)
- Dev: bootstrap: Option -N should require option -y (#1656)
- Fix: report: Check corosync.service status before querying quorum status (bsc#1235930) (#1665)
- Fix: bootstrap: Improve sync_files_to_disk function (bsc#1219537) (#1653)
- Dev: ra: Drop legacy code to get metadata of the pacemaker daemons (#1647)
- Dev: help: Support '--help' option for cluster properties (#1643)
- Dev: ui_configure: Print all properties if no property is specified
- Dev: bootstrap: add gfs2 stage functionality (Technical Preview) (#1628)
- Dev: report: Support crm report to collect GFS2 information
- Dev: Rename ocfs2.py as cluster_fs.py
- Revert "Dev: ocfs2: Drop support for configuring ocfs2 (jsc#PED-11038)"
- Dev: utils: Change `get_dc` function as the behavior of `crmadmin -D` changed (#1632)
- Dev: ui_resource: Refine 'do_failcount' function (#1624)
- Collect ~/.config/crm/crm.conf in crm report result (#1622)
- Dev: doc: Add examples for the 'failcount' command
- Dev: report: Handle collect files with the same name
- Dev: report: Add ~/.config/crm/crm.conf to the list of collected files
- Add 'crm sbd' sub-level (jsc#PED-8256) (#1491)
- Dev: ui_sbd: Don't show stonith-watchdog-timeout for disk-based SBD
- Dev: sbd: Delete stonith-watchdog-timeout property when configuring
- Dev: sbd: Remove sbd delay start related diretories when running sbd purge
- Dev: Don't set and show SBD_WATCHDOG_TIMEOUT for disk-based SBD
- Dev: ui_sbd: Adjust output of `sbd status`
- Dev: ui_sbd: Adjust sbd configure subcommand
- Dev: ui_sbd: Print sbd cmdline content in `sbd status` command
- Dev: sbd: Split get_sbd_device_interactive into smaller functions
- Dev: doc: Upadate crm.8.adoc for SBD help text
- Dev: ui_sbd: Replace 'sbd disable' as 'sbd purge'
- Dev: sh: Add get_rc_output_without_input in ClusterShell
- Dev: sbd: Move constants.SHOW_SBD_START_TIMEOUT_CMD to sbd.py
- Dev: ui_sbd: Check if node is reachable when getting the node list
- Dev: ui_sbd: Reuse sbd.SBDManager.restart_cluster_if_possible
- Dev: bootstrap: Add a log info when starting pacemaker.service
- Dev: ui_sbd: Check if the adding device is already initialized
- Dev: ui_sbd: Adjust sbd confiure interface
- Dev: ui_sbd: Replace sbd remove as sbd disable sub-command
- Dev: ui_sbd: Add sbd device sub command
- Fix: ui_context: Don't complete for unknown argument
- Fix: ui_context: Don't complete for unknown command
- Dev: ui_sbd: No need to specify device="" when trying to modify properties under diskless sbd
- Dev: report: Dump output of 'crm sbd configure show' and 'crm sbd status' to the report result
- Dev: Refactor the code to avoid circular import
- Dev: ui_sbd: Refactor do_status method
- Dev: bootstrap: Check if sbd package is installed in the right place
- Dev: ui_sbd: Clean up existing fence_sbd resource before configure diskless SBD
- Dev: ui_sbd: Update regex for parsing SBD device by partlabel
- Dev: ui_sbd: Catch both stderr and stdout for crm resource status
- Dev: ui_sbd: No need to consider static case when calling crm configure show
- Dev: ui_sbd: Add property/sysconfig section header for sbd configure show
- Dev: doc: Add help info for crm sbd sublevel
- Dev: ui_sbd: Add new 'crm sbd' sublevel (jsc#PED-8256)
- Dev: utils: Introduced `detect_duplicate_device_path` function in utils
- Dev: utils: Avoid hardcoding the ssh key type as RSA (#1600)
- Dev: bootstrap: Remove import_ssh_key function
- Dev: ssh_key: Split fetch_public_key_list into two functions
- Dev: bootstrap: Improve shell script in generate_ssh_key_pair_on_remote
- Dev: bootstrap: Reuse AuthorizedKeyManager to add key to authorized_keys
- Dev: bootstrap: Adjust the docstring of configure_ssh_key function
- Dev: bootstrap: Change the parameter name in swap_public_ssh_key function
- Dev: bootstrap: Avoid hardcoding the ssh key type as RSA
- Dev: ssh_key: Avoid hardcoding the ssh key type as RSA
- Dev: bootstrap: more robust implementation for ssh_merge (bsc#1230530) (#1610)
- Fix: log: The report DEBUG log message is not displayed in the log file (#1608)
- Fix: report.utils: Fix the performance issue (bsc#1232821) (#1606)
- Dev: report.utils: For a sequence of archived log files, check the modify time
- Dev: report.utils: Add debug info for the log file types
- Fix: report.collect: Make sure the log is not None before using it (bsc#1232821)
- Dev: add pylint to check ill-formated string literals (#1603)
- Fix: Python 3.12: SyntaxWarning: invalid escape sequence (#1601)
- Dev: bootstrap: Refine remote_auth stage (#1598)
- Fix: scripts: health: failed to extract report when it is compressed in bz2 (#1595)
- Dev: beahve: refine messages in the test runner script
- Dev: test_container: replace iptables with iptables-nft (#1572)
- Fix: hahealth: return fail when report failed (bsc#1231840) (#1589)
- Dev: ocfs2: Drop support for configuring ocfs2 (jsc#PED-11038) (#1574)
- Fix: cibconfig: Disable auto add advise values for operations (bsc#1231386) (#1579)
- Fix: ui_cluster: Stop renaming cluster name when using qdevice (#1573)
- Dev: utils: Check node is reachable by using both ping and ssh (#1563)
- Fix: help: crm help <topic> does not work (#1567) (#1568)
- Fix: report: find_shell should accept hacluster user (bsc#1228899) (#1564)
- Dev: report: do not capture stderr when unarchiving tarballs
- Dev: report: make error messages easier to parse for hawk2 (bsc#1228899)
- Dev: ui_cluster: Change the completer for crm cluster health
- Dev: remove `upgradeutil` and add `crm cluster health hawk2 [--fix]` (bsc#1228899) (#1558)
- Fix: command: `do_help` does not work as a 3rd level subcommand (#1560)
- Dev: report: add a reminder to use `crm cluster health` (bsc#1228899)
- Dev: ui_cluster: add a reminder to use "crm cluster init/join ssh" to initialize ssh (bsc#1228899)
- Dev: scripts: add a reminder to use `crm cluster health` to fix hacluster passwordless ssh authentication (bsc#1228899)
- Dev: scripts: generate readable messages when ssh authentication fails (bsc#1228899)
- Fix: report: should not try interactive authentication when stdin is not a tty (bsc#1228899)
- Dev: main: remove upgradeutil (bsc#1228899)
- Fix: bootstrap: check is_nologin more robustly (bsc#1228251) (#1553)
- Dev: utils: Catch PermissionError when reading files (#1543)
- Fix: corosync: fix linknumber validation (#1546) (#1549)
- Fix: doc: fix broken links in crm.8.adoc (#1546) (#1548)
- Fix: ui_corosync: should raise LinkArgumentParser.SyntaxException when fails to validate linknumber (#1546)
- Fix: corosync: should validate linknumber (#1546)
- Dev: completers: Reuse node completer for cluster remove and health
- Dev: bootstrap: Enhance log clarity during crm cluster remove process
- Dev: corosync: add subcommands 'crm corosync link ...' for managing multi-links in knet (jsc#PED-8083) (#1471)
- Dev: ui_corosync: use corosync-cfgtool instead of corosync-cmaptool to retreive link status (jsc#PED-8083)
- Dev: ui_corosync: reject to remove a link if removing it breaks the cluster (jsc#PED-8083)
- Dev: corosync: allow linknumber not to start with 0
- Dev: ui_corosync: refine the error messages for missing or duplicated nodes (jsc#PED-8083)
- Dev: ui_corosync: sync and reload corosync.conf after changes (jsc#PED-8083)
- Dev: ui_corosync: refactor to reuse configuration loading and saving code
- Dev: bootstrap: refactor to reuse KNET_LINK_NUM_LIMIT from corosync module
- Dev: corosync: add the list of updatable options in the error message when an not updatable option is specified
- Fix: ui_corosync: should not allow empty option values when adding new links
- Dev: docs: add documents for `crm corosync link`
- Fix: corosync: does not detect last link correctly
- Dev: corosync_config_format: sort keys to put `ringX_addr`s together (jsc#PED-8083)
- Dev: ui_corosync: print a message when running link update without any arguement
- Fix: ui_corosync: should detect unconfigured addresses when adding/updating links
- Fix: corosync: show detect duplicated addresses when adding/updating links
- Dev: ui_corosync: add subcommand 'crm corosync link add' (jsc#PED-8083)
- Dev: corosync: implement adding links (jsc#PED-8083)
- Dev: corosync: implement removing links (jsc#PED-8083)
- Dev: corosync: implement updating node addresses (jsc#ped-8083)
- Dev: ui_corosync: add subcommand 'crm corosync link update' (jsc#PED-8083)
- Dev: corosync: implement updating link options (jsc#PED-8083)
- Dev: ui_corosync: add subcommand 'crm corosync link show' (jsc#PED-8083)
- Dev: corosync: implement collecting link info from config (jsc#PED-8083)
- Dev: corosync: refactor COROSYNC_KNOWN_SEC_NAMES_WITH_LIST
- Dev: help: support multi level subcommands (#1542)
- Dev: ui_node: Improve command 'clearstate <node>' (#1534)
- Refactor: help: rename HelpEntry.long to HelEntry.long_help
- Dev: help: capture error messages when `--help` fails rather
- Fix: help: should retrieve help for intermediate levels from _COMMAND_TREE
- Fix: help: append subcommand list to long descriptions
- Dev: help: add support for subcommand aliases
- Dev: help: multilevel subcommand tree rendering in help_overview()
- Dev: command: adapt annotation `command.help` to multilevel help
- Dev: help: use tree struture to store the help of subcommands
- Dev: help: replace seperator '_' in anchors with '.'
- Dev: help: refactor HelpEntry to put lazy loading implementation to a separated subclass
- Fix: Add a new option 'has_fa_advised_op' (bsc#1228858) (#1539)
- Fix: utils: Stop providing the detailed and precise sudoer rules to "hack" the privilege (bsc#1229093) (#1536)
- Dev: utils: Load CIB_file env before some readonly commands (#1540)
- Dev: Rename variables to make them look like boolean type
- Dev: Rename the option 'add_advised_op_values' to 'ra_advised_op_values'
- Dev: Add a new internal flag to control auto add time units on operation
- Fix: Add a new option 'fa_advised_op_values' (bsc#1228858)
- Fix: Raise an exception as a rapid return of ssh-related operations to prevent hang (bsc#1228899) (#1520)
- Fix: bootstrap: ssh public key should be copied to qnetd node when ssh-agent feature is not enabled (bsc#1228950) (#1516)
- Fix: hawk2 cannot call crm script as user hacluster (bsc#1228271) (#1533)
- Fix: completers: deferring calls to crm_mon until envsetup() is called (bsc#1228271)
- Fix: utils: allow haclient group to use cluster level commands (bsc#1228271)
- Fix: scripts: call commands as current user when running as hacluster (bsc#1228271)
- Fix: prun: allow pcopy_to_remote to use intercept (bsc#1228271)
- Fix: Don't add time units to values for existing CIB (bsc#1228817) (#1530)
- Fix: utils: group check failure when os.getgroups() returns empty (bsc#1229030) (#1529)
- Fix: report: When 'core.no_ssh' set to 'yes', crm report works in local mode (bsc#1228899)
- Fix: report: crm report will hang if CIB contains invalid configuraions (bsc#1229686) (#1519)
- Fix: upgradeutil: Immdiately return if config.core.no_ssh is set (bsc#1228899)
- Fix: ui_cluster: Handle 'crm cluster start --all' command (bsc#1228899)
- Fix: ui_cluster: Handle 'crm cluster stop --all' command (bsc#1228899)
- Fix: utils: Define utils.NoSSHError exception and ssh wrapper function (bsc#1228899)
- Fix: config: Add 'core.no_ssh' option (bsc#1228899)
- Dev: sh: Ensure CommandFailure Exception is Picklable Across Processes (bsc#1229686)
- Fix: report: Error output of crm_verify should be recorded in report result (bsc#1229686)
- Revert "Dev: ui_configure: Deprecate configure erase sub-command" (bsc#1228713) (#1501)
- Fix: bootstrap: drop environ SSH_AUTH_SOCK before checking passwordless ssh when it is not enabled (bsc#1228950)
- Fix: bootstrap: should check if sudo is available when running `cluster join -c` with a non-root destination user (bsc#1228950)
- Fix: bootstrap: should check if sudo is available when running `cluster init -N` with a non-root destination user (bsc#1228950)
- Add an option 'add_advised_op_values' to disable adding advised op values (#1494)
- Dev: Add option core.add_advised_op_values, default value is 'yes'
- Dev: Rename variable 'add_default_op_values' to 'add_advised_op_values'
- Dev: scripts/health/collect: use ansible to get sysinfo (#1500)
- Revert "Dev: doc: Add deprecated note for 'crm configure erase'"
- Fix: ui_context: enter_level() should not check requirements for non-functional subcommands (#1498)
- Dev: crm_rpmcheck: use ansible to get package versions (#1497)
- Fix: ui_context: enter_level() should not check requirements for non-functional subcommands
- Fix: DC lost during wait (#1483)
- Fix: qnetd fails to start when TLS is disabled (bsc#1227649) (#1489)
- Dev: qdevice: numbers automatically the steps to generate client certs
- Fix: cibconfig: Disable auto complete advised operation values when adding a rsc_template (#1454)
- Dev: Rename variables to distinguish the concept of adding default
- Dev: prun: add more possible libexec PATH for sftp-server
- Fix: qdevice: config "tls" should accept value "required" (bsc#1227649)
- Fix: bootstrap: refine the wording in the question asking TLS config for qdevice (bsc#1227649)
- Fix: qdevice: TLS certs should always be generated for qnetd (bsc#1227649)
- Dev: prun: replace deprecated stdlib API asyncio.get_event_loop()
- Dev: ui_cluster: refactor Cluster._wait_for_dc()
- Dev: utils: revert previous changes to get_dc()
- Dev: utils: rename wait4dc to wait_dc_stable
- Dev: Remove crmsh/ordereddict.py (#1485)
- Dev: bootstrap: Use the existing function to query cluster property (#1479)
- Fix: cibconfig: Disable complete advised operation values when adding a rsc_template
- Dev: refine change detection for `crm configure` (#1466) (#1486)
- Fix: cli: loading cib should be a soft depenedency
- Dev: ui_context: refactor NON_FUNCTIONAL_COMMAND and NON_FUNCTIONAL_OPTIONS
- Revert changes to `quit` and `up` in ui_context from #1300 (#1466)
- Fix: cibconfig: do not load cib to check if cib is changed (#1466)
- Dev: ui_configure: Complete required parameters first (#1461)
- Fix: ui_context: crm configure up prompt #1466 (#1481)
- Fix: ui_context: crm configure delete autocompletion #1403 #1460 (#1469)
- Dev: ra: Refine RAInfo.params interface to exclude some completion results
- Dev: ui_context: Don't append space when completion ends with equal sign
- Fix: ui_context: crm cluster delete autocompletion #1403 #1460
- Dev: sbd: Replace external/sbd as fence_sbd (#1462)
- Dev: Drop rkt container type in bundle (jsc#PED-5577) (#1427)
- Dev: ra: Guess stonith class type when using fence agents (#1463)
- Fix: upgradeutil: refine error handling (bsc#1226147, bsc#1223371) (#1456)
- Dev: doc: Adjust doc for deprecated multi-rule within a location constraint
- Dev: ui_corosync: Improve corosync.show and corosync.edit subcommands (#1264)
- Dev: doc: Remove 'moon' from doc
- Dev: Hide 'configure ms' command (jsc#PED-8550) (#1450)
- Dev: doc: Drop help info of 'configure ms' command
- Dev: doc: Move 'id-ref' usage into help primitive section
- Dev: Hide 'configure ms' command from UI (jsc#PED-8550)
- Dev: bootstrap: warn about cleartext traffic in corosync (#1448)
- Dev: Hide lsb and service resource agent class type from UI and doc (#1423)
- Dev: ui_resource: Improve completers for 'crm resource' command (#1443)
- Dev: ui_resource: Set role as Promoted/Unpromoted when promote/demote (jsc#PED-8550) (#1445)
- Dev: Parsing resource meta attributes dynamically (#1424)
- Dev: crash_test.utils: Reuse color constants from crmsh.constants
- Dev: config: Set OCF_1_1_SUPPORT to yes (jsc#PED-8550) (#1434)
- Fix: cmd_status: call crm_mon without shell (#1429) (#1430)
- interface network option improvement (#1421)
- Dev: log an error when fencing node without stonith device configured and running (#1425)
- Dev: bootstrap: Minor refactoring of the get_address_list function
- Dev: bootstrap: On join side, adjust the condition of comparing the link number
- Dev: utils: Give valid value list for the -i option when the value is invalid
- Fix: healthcheck: KeyError when local nodename not found in cib (bsc#1223438)
- Dev: Change the RA name string format (jsc#PED-106)
- Dev: utils: Add info when property is newly added
- Dev: corosync_config_format: Enable to parse comments
- Dev: corosync_config_format: Add new line between sections
- Dev: Drop nagios related code, the help text, and the man page (jsc#PED-8259, jsc#PED-8232)
- Fix: bootstrap: open corosync ports in firewalld
- Dev: Drop SuSEfirewall2 support
- Dev: corosync: Show corosync cpg status in `crm corosync status cpg`
- Fix: doc/toolchain: fix missing anchor in generated AIO doc (#1409)
- Dev: corosync: Add corosync.is_valid_corosync_conf function
- Fix: ui_cluster: do_start should parse cmdline args before doing any checks
- Revert "Fix: corosync: should not raise ValueError when failing to open config file"
- Dev: ui_context: make help subcommands to exit with 0 (#1374)
- Fix: corosync: should not raise ValueError when failing to open config file
- Dev: ui_context: ignore requirements when option --help is specified
- Fix: corosync: ConfigParser.get_all(nonexsistent) should return an empty list
- Dev: ui_context: Skip querying CIB when in a sublevel or help command
- Refactor: corosync: move conf_parser.ConfParser to corosync.ConfParser
- Dev: ui_corosync: add completer for `corosync get` and `corosync set`
- Dev: conf_parser: use the new implementation
- Fix: open_atomic: no need to fsync on exception
- Dev: corosync_config_format: new parser and serializer for corosync configuration file
- Dev: bootstrap: Setup the stage dependency on init and join side (bsc#1175865, bsc#1219940)
- Dev: bootstrap: Enhance stage validation
- Fix: healthcheck: Add crmsh.constants.SSH_OPTION when doing ssh in check_local
- Fix: healthcheck: Missing 'id_' prefix while checking the ssh key existence
- Dev: doc: Don't show the usage of 'crm ra info cluster'
- Fix: main: Set PATH environment first
- Dev: bash_completion: Enable complete 'id=' on non-interactive mode
- Dev: doc: update howto build the website (#1374)
- Dev: doc/toolchain: add asciidoc-py (#1374)
- Dev: doc/toolchain: implement adocaio (#1374)
- Dev: doc/toolchain: add asciidoctor (#1374)
- Dev: doc/toolchain: implement generating include statement for asciidoc (#1374)
- Dev: doc/toolchain: add Containerfile (#1374)
- Dev: doc/toolchain: implement adocxt (#1374)
- Dev: doc/toolchain: implement help2adoc (#1374)
- Fix: bootstrap: Detect cluster service on init node before saving the canonical hostname (bsc#1222714)
- Dev: doc: Drop the options for the old daemon names, pengine, crmd, cib and stonithd in the help/man
- Dev: ra: Show related info when "advanced", "generated" and "deprecated" detected in metadata
- Dev: ra: Parsing select values in cluster option metadata
- Dev: ra: Get cluster option metadata from crm_attribute command (jsc#PED-8037, jsc#PED-8016)
- Fix: ui_node: When `utils.list_cluster_nodes` return None, try to get ip list from corosync.conf
- Dev: report: Collect quorum/qdevice/qnetd status
- Dev: bootstrap: Add all nodes' keys to qnetd authroized_keys even init
- Dev: bootstrap: Give a warning when detecting $SSH_AUTH_SOCK but not use --use-ssh-agent option
- Dev: qdevice: Refactor init_qdevice function
- Dev: qdevice: Add all nodes' keys to qnetd authorized_keys
- Fix: sh: Return the value of AuthorizationError.diagnose if it is not None
- Dev: log: Set the log format for crmsh.log as rfc5424
- Fix: utils: set env `CIB_shadow` using `os.environ` (bsc#1205925)
- Fix: pass env to child process explicitly (bsc#1205925)
- Fix: term: unset env `COLUMNS` and `ROWS` (bsc#1205925)
- Fix: sh: pass env to child process explicitly (bsc#1205925)
- Dev: ssh_key: Extract duplicate code about list keys from ssh-agent to a function
- Dev: bootstrap: Refactor qdevice user parsing and finding
- Fix: report: Show different perspectives of cluster
- Fix: ui_node: prevent traceback on node online
- Fix: ui_node: prevent traceback on node standby
* Mon Mar 4 2024 Xin Liang <XLiang@suse.com>
- Release 5.0.0-pre
- Dev: utils: Add IP.is_valid_ip back
- Dev: report: Add config.report.compress_prog option
- Dev: utils: Add functools.wraps to memoize decorator
- Fix: add diagnostic messages when crm report cannot find ssh-agent (bsc#1219538)
- Dev: use ClusterShell for the changes in the previous commit
- Fix: crm report hangs in the root passwordless with ssh-agent
- Fix: report: use ClusterShell for ssh (bsc#1220170)
- Dev: Add 'packaging' dependency to crmsh for version comparison
- Dev: utils: Replace LooseVersion with packaging.version
- Fix: ui_node: clearstate command needs adjustment (bsc#1219831)
- Fix: bootstrap: fail to join a cluster with hostname alias
- Fix: bootstrap: clear stall data about ssh users left possiblely from previous setups (bsc#1219476)
- Fix: report: Escape special characters in pattern (bsc#1220022)
- Dev: ui_configure: verify all cib objects even if there is no primitive resource configured
- Dev: ui_configure: bundle: support podman container
- Dev: constants: Update the bundle help text
- Dev: parse: Assign meaningful id to the bundle's port-mapping and storage-mapping
- Dev: cibconfig: Hide the id of bundle port-mapping and storage-mapping
- Dev: cibconfig: Change the multiline format for bundle
- Dev: utils: Return empty list if corosync.conf does not exist
- Dev: report: Enable crm report even cib.xml does not exist
- Dev: utils: Query pacemaker_remote node correctly
- Import missing sys library in config.py
- Fix: ui_cluster: Can't start cluster with --all option if no cib (bsc#1219052)
- Fix: bootstrap: ssh key of the init node is duplicated in the authorized_keys files of other node (bsc#1218940)
- Fix: sh: guide users to setup key-based ssh authentication when non-interactive authentcation fails (bsc#1219045)
- Fix: parse: Automatically append 's' as default time unit for timeout and interval (#1304)
- Dev: ui_configure: Update the operation id after the monitor interval changed
- Add profile for AWS and GCP with recommended corosync token timeout
- Dev: utils: To prevent shell injection, manipulate the argument array instead of the command line string
- Dev: report: Redirect warning and error from remote node into stderr
- Fix: utils: Add 'sudo' only when there is a sudoer(bsc#1215549)
- Dev: xmlutil: refactor class CrmMonXmlParser
- Dev: completers: Add online_nodes and standby_nodes
- Dev: cmd_status: Show error correctly for crm status
- Dev: ui_utils: Supports '=' when setting node/resource attributes
- Fix: constants: Add several resource meta attributes (bsc#1215319)
- Dev: bootstrap: Check if the join side provides the corresponding network interface
- Dev: bootstrap: Move detect/create mountpoint code to a specific function
- Dev: bootstrap: A scaffold for crmsh to configure cluster with corosync3
- Dev: profiles: Add new 'knet-default' profile type to keep knet only parameters
- Dev: bootstrap: Validate network potions
- Dev: ui_cluster: Add -t/--transport option and change -i/--interface option
- Dev: Add new parser to parse corosync.conf
- Dev: bootstrap: Remove bootstrap.update_expected_votes
- Dev: ui_cluster: Drop deprecated options
- Dev: utils: strip new line when get_stdout_or_raise_error returns
- Dev: corosync: Enable logging.to_logfile
- Fix: prun: setsid to prevent ssh from asking a password from terminal
- Fix: upgradeutil: reduce the timeout for getting sequence from remote node (bsc#1213797)
- Fix: userdir: Get the effictive user name instead of using getpass.getuser (bsc#1213821)
- Dev: requirements: remove parallax
- Fix: upgradeutil: support the change of path of upgrade_seq in crmsh-4.5 (bsc#1213050)
- Fix: ui_context: wait4dc should assume a subcommand completes successfully if no exceptions are raised (bsc#1212992)
- Fix: upgradeutil: do not tried to upgrade when the cluster is partially set up
- Fix: bootstrap: fix the validation of option -N and -c (bsc#1212436)
- medium: ui_node: fix cib rollback race on node standby
- Dev: ui_cluster: Use 'CustomAppendAction' instead of 'append' argparse action
- Fix: geo_cluster: the behavior of choosing a default user in geo_join/geo_init_arbitrator is different with `cluster join` (bsc#1211817)
- Fix: utils: do not use sudoer user to create ssh session unless it is specified explicitly (bsc#1211817)
- Dev: bootstrap: Configure ssh key when fetch geo config
- Dev: ui_corosync: Remove add-node and del-node subcommands
- Dev: cmd_status: Use --output-as option instead of deprecated --as-html and --as-xml options
- Dev: cmd_status: Append 'with quorum' and 'WITHOUT quorum' to display keyword list
* Tue Jan 9 2024 Xin Liang <XLiang@suse.com>
- Release 4.6.0
- Fix: report: Unable to gather log files that are in the syslog format (bsc#1218491)
- Dev: ui_corosync: Add a completer for corosync.set to enumerate all current paths
- Dev: bootstrap: Assign hosts with _context.node_list_in_cluster in join_ssh_merge (bsc#1218331)
* Fri Dec 22 2023 Xin Liang <XLiang@suse.com>
- Release 4.6.0 rc2
- Dev: ui_cluster: Move --use-ssh-agent to optional arguments
- Fix: autoconf: --with-version does not override the variable used in `version.in`
- Dev: unify version string used in setup.py and autotools
- Fix: ui_cluster: Improve the process of 'crm cluster stop' (bsc#1213889)
- Fix: scripts.health: call `setup_logging()` before importing crmsh.reprot.utils
- Dev: log: save backtrace of ValueError in logfile and suppress it in console
* Thu Dec 7 2023 Xin Liang <XLiang@suse.com>
- Release 4.6.0 rc1
- Dev: doc: Unify contents of manpage and help info
- Dev: report: Rewrite crm report module
- Dev: utils: To prevent shell injection, manipulate the argument array instead of the command line string
- Fix: bootstrap: fix the owner and permission of file authorized_keys (bsc#1217279)
- Fix: prun: should not call user_pair_for_ssh() when target host is localhost (bsc#1217094)
- Dev: report: Redirect warning and error from remote node into stderr
- Fix: utils: Add 'sudo' only when there is a sudoer(bsc#1215549)
- Dev: xmlutil: refactor class CrmMonXmlParser
- Dev: completers: Add online_nodes and standby_nodes
- Fix: bootstrap: add informative logging for generating new ssh keypairs
- Fix: forward ssh-agent for `crm report __slave`
- Fix: sh: raise AuthorizationError and generate diagnose messages when ClusterShell fails with 255
- Dev: bootstrap: allow to authenticate interactively in `crm cluster join --use-ssh-agent`
- Dev: ssh-agent: add informative logging for adding keys to authorized_keys
- Dev: ssh-agent: add diagnose messages
- Dev: bootstrap: implement ssh-agent support for geo cluster (jsc#PED-5774)
- Dev: bootstrap: refine key swap for user `hacluster`
- Dev: bootstrap: implement ssh-agent support for qdevice (jsc#PED-5774)
- Dev: bootstrap: implement ssh-agent support (jsc#PED-5774)
- Dev: ui_utils: Supports '=' when setting node/resource attributes
- Fix: report: Pick up tarball suffix dynamically (bsc#1215438)
- Fix: report: Pick 'gzip' as the first compress prog for cross-platform compatibility(bsc#1215438)
- Fix: constants: Add several resource meta attributes (bsc#1215319)
- refactor: move get_stdout and get_stdout_stderr to crmsh.sh.ShellUtils
- Dev: refactor shell calling routines
- Dev: utils: strip new line when get_stdout_or_raise_error returns
- Fix: prun: setsid to prevent ssh from asking a password from terminal
- Fix: upgradeutil: reduce the timeout for getting sequence from remote node (bsc#1213797)
- Fix: userdir: Get the effictive user name instead of using getpass.getuser (bsc#1213821)
- Dev: requirements: remove parallax
- Fix: upgradeutil: support the change of path of upgrade_seq in crmsh-4.5 (bsc#1213050)
- Fix: ui_context: wait4dc should assume a subcommand completes successfully if no exceptions are raised (bsc#1212992)
- Fix: upgradeutil: do not tried to upgrade when the cluster is partially set up
- Fix: bootstrap: fix the validation of option -N and -c (bsc#1212436)
- Fix: geo_cluster: the behavior of choosing a default user in geo_join/geo_init_arbitrator is different with `cluster join` (bsc#1211817)
- Fix: utils: do not use sudoer user to create ssh session unless it is specified explicitly (bsc#1211817)
- medium: ui_node: fix cib rollback race on node standby
- Dev: ui_cluster: Use 'CustomAppendAction' instead of 'append' argparse action
- Dev: bootstrap: Configure ssh key when fetch geo config
- Dev: cmd_status: Use --output-as option instead of deprecated --as-html and --as-xml options
- Dev: cmd_status: Append 'with quorum' and 'WITHOUT quorum' to display keyword list
- Dev: spec: Remove python3-parallax from spec file
- Fix: bootstrap: failed to save username for localhost when initializing a cluster with a qnet server
- Fix: utils: fix `cluster diff --checksum`
- Dev: ui_cluster: refine messages for `cluster run` and `cluster coy`
- Dev: geo: implement non-root support for geo_fetch_config()
- Fix: bootstrap: failed to join when the cluster is initialized with skip_csync2
- Dev: prun: minor refactor and add comments
- Dev: prun: implement timeout
- Dev: prun: add an concurrency limiter
- Dev: remove python dependency parallax
- Dev: scripts: implement non-root support with crmsh.prun
- Dev: implement non-root support for crm_pssh with crmsh.prun
- Dev: remove some direct calls to parallax module
- Dev: prun: add special handling for localhost
- Dev: refine non-root sudoer support for crmsh.parallax.parallax_slurp
- Dev: refine non-root sudoer support for crmsh.parallax.parallax_copy
- Dev: upgradeutil: adapt to new parallax interface
- Dev: refine non-root sudoer support for crmsh.parallax.parallax_call (bsc#1210709)
- Fix: bootstrap: `init --qnetd-hostname` fails when username is not specified (bsc#1211200)
- Fix: bootstrap: crm cluster join default behavior change in ssh key handling (bsc#1210693)
- Fix: help: Long time to load and parse crm.8.adoc (bsc#1210198)
- Fix: cibconfig: use any existing rsc_defaults set rather than create another one (bsc#1210614)
- Fix: lock: Join node failed to wait init node finished (bsc#1210332)
- Dev: log_patterns: update patterns for pacemaker version 2.0+
- Dev: bootstrap: Support replacing sbd device via sbd stage
- Dev: utils: add auto_convert_role flag for handle_role_for_ocf_1_1 function
*Thu Mar 30 2023 Xin Liang <XLiang@suse.com>
- Release 4.5.0
- Dev: bootstrap: Remove /var/lib/crm and ~/.config/crm/crm.conf when removing node
- Dev: bootstrap: Generate the public key on the remote if it does not exist
- Fix: utils: qdevice initialization should user_pair_for_ssh() to get appreciated users (crmsh#1157)
- Fix: crm report: sustain if there are offline nodes (bsc#1209480)
- Dev: upgradeutil: Change 'upgrade' terminology to 'configuration fix'
- Dev: utils: Check passwordless between cluster nodes
- Dev: Dockerfile: Update pacemaker and libqb version
- Dev: remove 'sudo' prefix internally
- Fix: validate ssh session when the users is determined by guessing (bsc#1209193)
- Dev: bootstrap: Change user shell for hacluster on remote node, in init_ssh_impl function
- Fix: parallax: Use 'sudo bash -c' when executing commands via sudoer (bsc#1209192)
- Dev: qdevice: Add more debug messages for running commands
- Dev: log: For the log_only_to_file method, show debug log in debug mode
* Thu Mar 9 2023 Xin Liang <XLiang@suse.com>
- Release 4.5.0 rc2
- Dev: version: Bump crmsh version to 4.5.0
- Fix: bootstrap: Swap hacluster ssh key with other nodes
- Fix: report: Fix crm report issue under non-root user
- Fix: bootstrap: Don't save core.debug when saving core.hosts (bsc#1208991)
- Dev: log: Redirect debug messages into stderr
* Fri Mar 3 2023 Xin Liang <XLiang@suse.com>
- Release 4.5.0 rc1
- Fix: qdevice: Unable to setup qdevice under non-root user (bsc#1208770)
- Dev: upgradeutil: do upgrade silently (bsc#1208327)
- Fix: bootstrap: `crm cluster join ssh` raises TypeError (bsc#1208327)
- Dev: utils: Change the way to get pacemaker's version (bsc#1208216)
- Dev: bootstrap: guess and ask whether to operate in non-root mode (jsc#PED-290)
- Dev: bootstrap: allow the cluster to operate with ssh session under non-root sudoer (jsc#PED-290)
- Fix: hawk fails to parse the slash (bsc#1206217)
- Fix: extra logs while configuring passwordless (bsc#1207720)
- Dev: utils: Check current user's privilege and give hints to user
- Dev: ui_configure: Deprecate configure erase sub-command
- Fix: report: Catch read exception (bsc#1206606)
- Feature: replace root by a custom user with root privileges
- Fix: bootstrap: Unset SBD_DELAY_START when running 'crm cluster start' (bsc#1202177)
- Dev: ui_node: redirect `node delete` to `cluster remove`
- Feature: bootstrap: Add option -x to skip csync2 initialization stage during the whole cluster bootstrap
- Dev: parse: complete advised operation values for other actions beside monitor
- Dev: ui_context: redirect `foo -h`/`foo --help` to `help foo` (bsc#1205735)
- Fix: qdevice: Adjust SBD_WATCHDOG_TIMEOUT when configuring qdevice not using stage (bsc#1205727)
- Fix: cibconfig: Complete promotable=true and interlave=true for Promoted/Unpromoted resource (bsc#1205522)
- Fix: corosync: show corosync ring status if has fault (bsc#1205615)
- Dev: bootstrap: fix passwordless ssh authentication for hacluster automatically when a new node is joining the cluster (bsc#1201785)
- Dev: upgradeutil: automated init ssh passwordless auth for hacluster after upgrading (bsc#1201785)
- Dev: parse: cli_to_xml: populate advised monitor/start/stop operations values
- fix: log: fail to open log file even if user is in haclient group (bsc#1204670)
- Fix: sbd: Ask if overwrite when given sbd device on interactive mode(bsc#1201428)
- Dev: bootstrap: Adjust cluster properties including priority-fencing-delay
- Fix: ui_cluster: 'crm cluster stop' failed to stop services (bsc#1203601)
- Dev: bootstrap: Adjust pcmk_delay_max and stonith-timeout for all configured fence agents
- Dev: cibconfig: "crm config show related:xxx" provides partial search among class, provider, type fields
- Fix: crash_test: do not use firewalld to isolate a cluster node (bsc#1192467)
- Dev: bootstrap: Add delay to start corosync when node list larger than 5
- Dev: log: print begin and end marker in different lines in status_long
- Dev: parallax: Add LogLevel=error ssh option to filter out warnings (bsc#1196726)
- Revert "Fix: utils: Only raise exception when return code of systemctl command over ssh larger than 4 (bsc#1196726)" (bsc#1202655)
- fix: configure: refresh cib before showing or modifying if no pending changes has been made (bsc#1202465)
- Fix: bootstrap: Use crmsh.parallax instead of parallax module directly (bsc#1202006)
* Wed Aug 10 2022 Xin Liang <XLiang@suse.com>
- tag: 4.4.1 for bug fix
- Fix: utils: use -o and -n to compare files instead of strings for crm_diff (bsc#1201312)
- Dev: bootstrap: remove cluster add sub-command
- Fix: bootstrap: -N option setup the current node and peers all together (bsc#1175863)
- Dev: doc: add help info for related: prefix for 'configure show' command
- Dev: cinconfig: enable "related:" prefix to show the objects by given ra type
- Fix: crm report: use sudo when under non root and hacluster user (bsc#1199634)
- Fix: utils: wait4dc: Make change since output of 'crmadmin -S' changed(bsc#1199412)
- Fix: bootstrap: stop and disable csync2.socket on removed node (bsc#1199325)
- Fix: crm report: Read data in a save way, to avoid UnicodeDecodeError(bsc#1198180)
- Fix: qdevice: Add lock to protect init_db_on_qnetd function (bsc#1197323)
- Fix: utils: Only raise exception when return code of systemctl command over ssh larger than 4 (bsc#1196726)
* Thu Feb 17 2022 Xin Liang <XLiang@suse.com>
- Release 4.4.0
- Dev: README: update with unit tests steps
- Dev: crmsh-ci.yml: Add python3.6 and 3.10 into unit test list
- Dev: tox: Adjust tox.ini, add py36 and py310 in envlist
* Thu Feb 8 2022 Xin Liang <XLiang@suse.com>
- Release 4.4.0 rc2
- Fix: sbd: not overwrite SYSCONFIG_SBD and sbd-disk-metadata if input 'n'(bsc#1194870)
- Dev: bootstrap: the joining node retries an active cluster
- Dev: behave: Change docker cgroup driver as systemd
- Dev: ui_node: Use diff and patch instead of replace cib