Releases: ClusterLabs/crmsh
Release crmsh 4.6.1
Features since tag 4.6.0
- Dev: report: Collect qdevice/qnetd status by @liangxin1300 in #1376
- Dev: doc: implement help2adoc (#1374) by @nicholasyang2022 in #1380
- Setup bootstrap stages dependency by @liangxin1300 in #1401
- Dev: ui_configure: Complete required parameters first by @liangxin1300 in #1484
- Add an option 'add_advised_op_values' to disable adding advised op values by @liangxin1300 in #1514
- Dev: remove
upgradeutil
and addcrm cluster health hawk2 [--fix]
(bsc#1228899) by @nicholasyang2022 in #1559
Major fixes since tag 4.6.0
- Fix: bootstrap: ssh key of the init node is duplicated in the authorized_keys files of other node (bsc#1218940) by @nicholasyang2022 in #1311
- Fix: sh: guide users to setup key-based ssh authentication when non-interactive authentcation fails (bsc#1219045) by @nicholasyang2022 in #1309
- Fix: ui_cluster: Can't start cluster with --all option if no cib (bsc#1219052) by @liangxin1300 in #1312
- Fix: report: Escape special characters in pattern (bsc#1220022) by @liangxin1300 in #1329
- Fix: ui_node: clearstate command needs adjustment (bsc#1219831) by @aleksei-burlakov in #1334
- Fix: bootstrap: clear stall data about ssh users left possiblely from previous setups (bsc#1219476) by @nicholasyang2022 in #1321
- Fix: report: use ClusterShell for ssh (bsc#1220170) by @nicholasyang2022 in #1335
- Fix: add diagnostic messages when crm report cannot find ssh-agent (bsc#1219538) by @nicholasyang2022 in #1336
- Fix: report: Show different perspectives of cluster status with multiple 'crm_mon' options (bsc#1204273) by @liangxin1300 in #1345
- Fix: bootstrap: Remove unused -i option when calling csync2_remote and ssh_remote stage (bsc#1212080) by @liangxin1300 in #1348
- Fix: sh: pass env to child process explicitly (bsc#1205925) by @nicholasyang2022 in #1356
- Fix: sh: Return the value of AuthorizationError.diagnose if it is not None by @liangxin1300 in #1365
- Fix: ui_node: prevent traceback on node standby by @liangxin1300 in #1338
- Fix: ui_node: When
utils.list_cluster_nodes
return None, try to get ip list from corosync.conf by @liangxin1300 in #1378 - Fix: bootstrap: Detect cluster service on init node before saving the canonical hostname (bsc#1222714) by @liangxin1300 in #1387
- Fix: healthcheck: Missing 'id_' prefix while checking the ssh key exi… by @liangxin1300 in #1395
- Fix: doc/toolchain: fix missing anchor in generated AIO doc (#1409) by @nicholasyang2022 in #1412
- Fix: healthcheck: KeyError when local nodename not found in cib (bsc#1223438) by @nicholasyang2022 in #1420
- Fix: cmd_status: call crm_mon without shell (#1429) by @nicholasyang2022 in #1432
- Fix: upgradeutil: refine error handling (bsc#1226147, bsc#1223371) by @nicholasyang2022 in #1457
- Fix: github-actions: should pass secrets to reusable workflows by @nicholasyang2022 in #1476
- Fix: ui_context: crm cluster delete autocompletion #1403 #1460 by @aleksei-burlakov in #1480
- Fix: ui_context: crm configure up prompt #1466 by @aleksei-burlakov in #1482
- Fix: cibconfig: Disable auto complete advised operation values when adding a rsc_template by @liangxin1300 in #1455
- Fix: qnetd fails to start when TLS is disabled (bsc#1227649) by @nicholasyang2022 in #1492
- Fix: hahealth.py script (bsc#1228271) by @liangxin1300 in #1495
- Fix: bootstrap: ssh public key should be copied to qnetd node when ssh-agent feature is not enabled (bsc#1228950) by @nicholasyang2022 in #1515
- Fix: report: crm report will hang if CIB contains invalid configuraions (bsc#1229686) by @liangxin1300 in #1518
- Fix: Don't add time units to values for existing CIB (bsc#1228817) by @liangxin1300 in #1506
- Fix: hawk2 cannot call
crm script
as user hacluster (bsc#1228271) by @nicholasyang2022 in #1522 - Fix: Raise an exception as a rapid return of ssh-related operations to prevent hang (bsc#1228899) by @liangxin1300 in #1521
- Fix: utils: group check failure when os.getgroups() returns empty (bsc#1229030) by @liangxin1300 in #1528
- Fix: Add a new option 'has_fa_advised_op' (bsc#1228858) by @liangxin1300 in #1531
- Fix: utils: Stop providing the detailed and precise sudoer rules to "hack" the privilege (bsc#1229093) by @liangxin1300 in #1538
- Fix: bootstrap: check is_nologin more robustly (bsc#1228251) by @nicholasyang2022 in #1556
- Fix: report: find_shell should accept hacluster user (bsc#1228899) by @nicholasyang2022 in #1566
- Fix: cibconfig: Disable auto add advise values for operations (bsc#1231386) by @liangxin1300 in #1580
- Fix: ui_cluster: Stop renaming cluster name when using qdevice by @liangxin1300 in #1576
- Fix: report.utils: Fix the performance issue (bsc#1232821) by @liangxin1300 in #1605
- Fix: log: The report DEBUG log message is not displayed in the log file by @liangxin1300 in #1609
Full Changelog: 4.6.0...4.6.1
Release crmsh 4.6.0
Changes since tag 4.5.0
Features:
- bootstrap: support ssh-agent and crmsh could no longer rely on the private key in the cluster nodes (#1261)
- prun: replace parallax with crmsh.prun to support non-root sudoer (#1147)
- report: rewrite crm report and improve performance noticeably (#1246)
Major fixes:
- 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)
- Fix: utils: Add 'sudo' only when there is a sudoer(bsc#1215549)
- 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)
- 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)
- 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: 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)
- 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: unify version string used in setup.py and autotools (#943)
- Fix: ui_cluster: Improve the process of 'crm cluster stop' (bsc#1213889)
- Dev: log: save backtrace of ValueError in logfile and suppress it in console (#1281)
- Fix: report: Unable to gather log files that are in the syslog format (bsc#1218491)
- Dev: bootstrap: Assign hosts with _context.node_list_in_cluster in join_ssh_merge (bsc#1218331)
More changes details please see https://github.com/ClusterLabs/crmsh/blob/crmsh-4.6/ChangeLog
Release crmsh 4.6.0 - rc2
Changes since tag 4.6.0-rc1
Major fixes:
- Dev: unify version string used in setup.py and autotools (#943)
- Fix: ui_cluster: Improve the process of 'crm cluster stop' (bsc#1213889)
- Dev: log: save backtrace of ValueError in logfile and suppress it in console (#1281)
For more change details please see https://github.com/ClusterLabs/crmsh/blob/crmsh-4.6/ChangeLog
Release crmsh 4.5.1
Changes since tag 4.5.0
Features:
- prun: replace parallax with crmsh.prun to support non-root sudoer (#1147)
Major fixes:
- Fix: ui_cluster: Improve the process of 'crm cluster stop' (bsc#1213889)
- Fix: bootstrap: fix the owner and permission of file authorized_keys (bsc#1217279)
- Fix: utils: Add 'sudo' only when there is a sudoer(bsc#1215549)
- Fix: prun: should not call user_pair_for_ssh() when target host is localhost (bsc#1217094)
- 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)
- 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)
- 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: 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)
- 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)
More change details please see https://github.com/ClusterLabs/crmsh/blob/crmsh-4.5/ChangeLog
Release crmsh 4.6.0 - rc1
Changes since tag 4.5.0
Features:
- bootstrap: support ssh-agent and crmsh could no longer rely on the private key in the cluster nodes (#1261)
- prun: replace parallax with crmsh.prun to support non-root sudoer (#1147)
- report: rewrite crm report and improve performance noticeably (#1246)
Major fixes:
- 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)
- Fix: utils: Add 'sudo' only when there is a sudoer(bsc#1215549)
- 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)
- 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)
- 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: 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)
- 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)
More changes details please see https://github.com/ClusterLabs/crmsh/blob/crmsh-4.6/ChangeLog
Release crmsh 4.5.0
Changes since tag 4.4.1
Features:
- Enable setup and manage cluster via non-root user (#1009,#1123,#1135)
- Gradually start the large cluster (#985)
- Populate advised monitor/start/stop operations values (#1038)
- Adjust cluster property priority-fencing-delay automatically (#1017)
- Add option -x to skip csync2 while bootstrapping (#1035)
Major fixes:
- Fix: crm report: sustain if there are offline nodes (bsc#1209480)
- Fix: validate ssh session when the users is determined by guessing (bsc#1209193)
- Fix: parallax: Use 'sudo bash -c' when executing commands via sudoer (bsc#1209192)
- Fix: qdevice: Unable to setup qdevice under non-root user (bsc#1208770)
- Fix: upgradeutil: do upgrade silently (bsc#1208327)
- Fix: bootstrap:
crm cluster join ssh
raises TypeError (bsc#1208327) - Fix: utils: Change the way to get pacemaker's version (bsc#1208216)
- Fix: hawk fails to parse the slash (bsc#1206217)
- Fix: extra logs while configuring passwordless (bsc#1207720)
- Fix: report: Catch read exception (bsc#1206606)
- Fix: bootstrap: Unset SBD_DELAY_START when running 'crm cluster start' (bsc#1202177)
- Fix: ui_context: redirect
foo -h
/foo --help
tohelp 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)
- Fix: bootstrap: fix passwordless ssh authentication for hacluster automatically when a new node is joining the cluster (bsc#1201785)
- Fix: upgradeutil: automated init ssh passwordless auth for hacluster after upgrading (bsc#1201785)
- 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)
- Fix: ui_cluster: 'crm cluster stop' failed to stop services (bsc#1203601)
- Fix: crash_test: do not use firewalld to isolate a cluster node (bsc#1192467)
- Fix: 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)
More changes details please see https://github.com/ClusterLabs/crmsh/blob/master/ChangeLog
Release crmsh 4.5.0 - rc2
Changes since tag 4.5.0-rc1
Major fixes:
- 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
Release crmsh 4.5.0 - rc1
Changes since tag 4.4.1
Features:
- Enable setup and manage cluster via non-root user (#1009,#1123,#1135)
- Gradually start the large cluster (#985)
- Populate advised monitor/start/stop operations values (#1038)
- Adjust cluster property priority-fencing-delay automatically (#1017)
- Add option -x to skip csync2 while bootstrapping (#1035)
Major fixes:
- Fix: qdevice: Unable to setup qdevice under non-root user (bsc#1208770)
- Fix: upgradeutil: do upgrade silently (bsc#1208327)
- Fix: bootstrap:
crm cluster join ssh
raises TypeError (bsc#1208327) - Fix: utils: Change the way to get pacemaker's version (bsc#1208216)
- Fix: hawk fails to parse the slash (bsc#1206217)
- Fix: extra logs while configuring passwordless (bsc#1207720)
- Fix: report: Catch read exception (bsc#1206606)
- Fix: bootstrap: Unset SBD_DELAY_START when running 'crm cluster start' (bsc#1202177)
- Fix: ui_context: redirect
foo -h
/foo --help
tohelp 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)
- Fix: bootstrap: fix passwordless ssh authentication for hacluster automatically when a new node is joining the cluster (bsc#1201785)
- Fix: upgradeutil: automated init ssh passwordless auth for hacluster after upgrading (bsc#1201785)
- 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)
- Fix: ui_cluster: 'crm cluster stop' failed to stop services (bsc#1203601)
- Fix: crash_test: do not use firewalld to isolate a cluster node (bsc#1192467)
- Fix: 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)
More changes details please see https://github.com/ClusterLabs/crmsh/blob/master/ChangeLog
Release crmsh 4.4.1
Changes since tag 4.4.0
Features:
- Enable "crm configure show related:<ra_type>" to show the objects by given ra type (#978)
- Parametrize the ra trace log dir (#939)
- Enable -N option setup the current node and peers all together (#961)
Major fixes:
- Fix: utils: use -o and -n to compare files instead of strings for crm_diff (bsc#1201312)
- 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)
More changes details please see https://github.com/ClusterLabs/crmsh/blob/master/ChangeLog
Release crmsh 4.4.0
Changes since tag 4.3.1
Features:
- Support OCF 1.1 when detected and OCF_1_1_SUPPORT flag is on (#914)
- Change default transport type as udpu(unicast) (#918)
- Support multi sub-commands with --all option or specific node (#797)
- Adjust corosync and sbd parameters according to the profile environment detected (#890) (#842)
- Rename hb_report as "crm report" (#883)
- Improve crm report performance (#880)
- Using python logging as crmsh logging system (#614)
Major fixes:
- Fix: sbd: not overwrite SYSCONFIG_SBD and sbd-disk-metadata if input 'n'
- Dev: behave: Change docker cgroup driver as systemd
- Dev: bootstrap: the joining node retries an active cluster
- Dev: ui_node: Use diff and patch instead of replace cib
- Fix: bootstrap: Don't change pacemaker.service bootup preference
- Fix: log: Change the log file owner as hacluster:haclient
- Fix: crash_test: Adjust help output of 'crm cluster crash_test -h'
- Fix: ui_configure: Give a deprecated warning when using "ms" subcommand
- Fix: xmlutil: Parse promotable clone correctly and also consider compatibility
- Fix: crm: To avoid the potential "permission denied" error under other users
- Fix: ui_resource: Parse node and lifetime correctly
- Fix: ui_resource: Parse lifetime option correctly
- Fix: bootstrap: Add /etc/crm/crm.conf and /etc/crm/profiles.yml into /etc/csync2/csync2.cfg
- Fix: hb_report: Using python way to collect ra trace files
- Fix: doc: Note that resource tracing is only supported by OCF RAs
- Fix: bootstrap: adjust host list for parallax to get and copy known_hosts file
- Fix: parse: Should still be able to show the empty property if it already exists
- Fix: bootstrap: check for missing fields in 'crm_node -l' output
- Fix: resource: make untrace consistent with trace
- Fix: ocfs2: Skip verifying UUID for ocfs2 device on top of raid or lvm on the join node
More changes details please see https://github.com/ClusterLabs/crmsh/blob/master/ChangeLog