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|removeandpcs cluster node delete-remote|remove-remote|delete-guest|remove-guestnow warn about omitting live cluster actions when '-f' is used (RHEL-76157) - Command
pcs cib element descriptionto manage descriptions of CIB elements, and aliasespcs resource|stonith description(RHEL-7670) - Commands
pcs resource|stonith create,pcs resource|stonith metaandpcs resource|stonith defaultsprint 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-enabledto a falsy value can leave the cluster with no enabled means to fence nodes (RHEL-84120)
Fixed
- Commands
pcs acl role createandpcs acl permission addnow print specific error messages in case of invalid input instead of command usage - Do not display a warning in
pcs statuswhen a fence_heuristics_ping stonith device has itsmethodoption set tocycle(RHEL-73527) - Add missing check to prevent the root user to run
pcs client local-authcommand - 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_elementsdoes not stop resources before deletion. The resources should be stopped before calling this command - Commands
pcs resource|booth delete|removeandpcs cluster node delete-remote|remove-remotewill 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
--forceinpcs resource|booth delete|removeandpcs cluster node delete-remote|remove-remoteto skip resource stopping before their deletion. Use the new--no-stopflag instead. You can use--futureflag if you need to use--forceand you do not wish to skip the resource stopping. - Value
sctpof the knet link optiontransportis 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.