Skip to content

pcs-0.12.2

Latest

Choose a tag to compare

@CtrlZmaster CtrlZmaster released this 14 Jan 17:03
· 118 commits to main since this release

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’.

Changelog

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.