I am happy to announce the latest release of PCS, version 0.12.2.

Source code is available at:
https://github.com/ClusterLabs/pcs/archive/refs/tags/v0.12.2.tar.gz
or
https://github.com/ClusterLabs/pcs/archive/refs/tags/v0.12.2.zip

The 0.12.2 release adds a new ‘--no-stop’ flag for deleting resources.
This separates the action of skipping stopping of resources before
deletion from overriding validation errors, which is the current
combined behavior of the ‘--force’ flag. For instance, when removing the
last fence device, PCS suggests using ‘--force’ to bypass the validation
error, not mentioning the side effect of not stopping the device. Now,
you can use ‘"--future --force’" to only bypass validation errors while
still stopping resources before deletion. Note that nothing changes in
the ‘--force’ flag behavior for now, but in the next major version,
‘--force’ will not skip stopping of resources before deletion.

Other notable improvements also include verifying meta attribute names
when updating primitive resources to avoid misconfiguration.
Additionally, adding descriptions to CIB elements is now possible via
new commands ‘pcs cib element description’, with a shortcut for
resources - ‘pcs resource|stonith description’.

Complete changelog for this release:
### Added
- Commands `pcs resource|stonith|booth delete|remove` and `pcs cluster
  node delete-remote|remove-remote|delete-guest|remove-guest` now warn
  about omitting live cluster actions when '-f' is used ([RHEL-76157])
- Command `pcs cib element description` to manage descriptions of CIB
  elements, and aliases `pcs resource|stonith description` ([RHEL-7670])
- Commands `pcs resource|stonith create`, `pcs resource|stonith meta`
  and `pcs resource|stonith defaults` print warning about primitive
  resource meta attributes which have no effect on cluster resource
  handling ([RHEL-7673])
- Warning when Corosync configuration fails to reload ([RHEL-47300])
- Added warning that setting cluster property `stonith-enabled` to a
  falsy value can leave the cluster with no enabled means to fence nodes
  ([RHEL-84120])

### Fixed
- Commands `pcs acl role create` and `pcs acl permission add` now print
  specific error messages in case of invalid input instead of command
  usage
- Do not display a warning in `pcs status` when a fence_heuristics_ping
  stonith device has its `method` option set to `cycle` ([RHEL-73527])
- Add missing check to prevent the root user to run `pcs client
  local-auth` command
- Setting ping_interval and ping_timeout knet options to less than 200ms
  is no longer allowed to prevent cluster misconfiguration
  ([RHEL-21879])
- Prevent an unhandled exception when accessing pcsd `/remote/...` urls
  on nodes with an invalid local corosync configuration

### Changed
- Lib command `cib.remove_elements` does not stop resources before
  deletion. The resources should be stopped before calling this command
- Commands `pcs resource|booth delete|remove` and `pcs cluster node
  delete-remote|remove-remote` will now end with an error when trying to
  delete unmanaged started resources ([RHEL-76162])
- Do not wrap resource and stonith agent description to preserve
  existing formatting ([RHEL-111451])

### Deprecated
- Using `--force` in `pcs resource|booth delete|remove` and `pcs cluster
  node delete-remote|remove-remote` to skip resource stopping before
  their deletion. Use the new `--no-stop` flag instead. You can use
  `--future` flag if you need to use `--force` and you do not wish to
  skip the resource stopping.
- Value `sctp` of the knet link option `transport` is deprecated in
  corosync / knet and might be removed in a future release
  ([RHEL-126839])


Thanks / congratulations to everyone who contributed to this release,
including Ivan Devat, Michal Pospíšil, Miro Hrončok, Miroslav Lisik,
Peter Romančík and Tomas Jelinek.

Cheers,
Michal


[RHEL-7670]: https://issues.redhat.com/browse/RHEL-7670
[RHEL-7673]: https://issues.redhat.com/browse/RHEL-7673
[RHEL-21879]: https://issues.redhat.com/browse/RHEL-21879
[RHEL-47300]: https://issues.redhat.com/browse/RHEL-47300
[RHEL-73527]: https://issues.redhat.com/browse/RHEL-73527
[RHEL-76157]: https://issues.redhat.com/browse/RHEL-76157
[RHEL-76162]: https://issues.redhat.com/browse/RHEL-76162
[RHEL-84120]: https://issues.redhat.com/browse/RHEL-84120
[RHEL-111451]: https://issues.redhat.com/browse/RHEL-111451
[RHEL-126839]: https://issues.redhat.com/browse/RHEL-126839

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to