Skip to content

pcs-0.12.1

Latest
Compare
Choose a tag to compare
@CtrlZmaster CtrlZmaster released this 17 Jul 13:47
· 55 commits to main since this release

This release contains a regression fix for commands that delete resources, booth resources, stonith devices and remote nodes. The commands would fail when capitalization of target-role meta attribute value didn't follow the Pacemaker specification. The booth command has been broken since 0.12.0 and the remaining commands since 0.12.0b1.

On the news functionality front, pcs now allows you to rename clusters with the new cluster rename command. Also, exporting cluster configuration was further expanded to alerts, node utilization and attributes.

Configuration errors not caught by the CIB schema are now easier to spot as pcs runs additional CIB checks in cluster cib-push and cluster edit commands. These warnings are now also part of the pcs status output.

The resource meta and stonith meta commands were fully reimplemented. The resource meta command also now supports bundle resources. Additional checks were added to prevent inadvertent updates of remote-node and remote-addr meta attributes.

Complete change log for this release:

Added

  • Commands pcs cluster cib-push and pcs cluster edit now print more info when new CIB does not conform to the CIB schema (RHEL-63186)
  • Commands pcs cluster cib-push and pcs cluster edit now print info about problems in pushed CIB even if it conforms to the CIB schema (RHEL-7681)
  • Command pcs cluster rename for changing cluster name (RHEL-22423)
  • Command pcs stonith sbd watchdog list now prints watchdogs' identity and driver (RHEL-76176)
  • Prevent removing or disabling stonith devices or disabling SBD if the cluster would be left with disabled SBD and no stonith devices (RHEL-66607)
  • Support for exporting alerts in json and cmd formats (RHEL-44347)
  • Output of pcs status now contains messages about CIB misconfiguration provided by crm_verify pacemaker tool (RHEL-7681)
  • Support for bundle resources in pcs resource meta, disallow updating remote-node and remote-addr without --force, add lib command resource.update_meta to API v2 ([RHEL-35407])
  • Support for exporting node attributes and utilization in json and cmd formats (RHEL-21050)
  • Support for reading sate and logs directories from systemd environment variables STATE_DIRECTORY and LOGS_DIRECTORY (RHEL-96074)

Fixed

  • Fixed a traceback when removing a resource fails in web UI
  • It is now possible to override errors when editing cluster properties in web UI
  • Display node-attribute in colocation constraints configuration (RHEL-81938)
  • Fixed cluster status parsing when the target-role meta attribute is not properly capitalized as defined by pacemaker specification. Affected commands:
    • pcs resource|stonith delete|remove, pcs booth delete|remove, and pcs cluster node delete-remote|remove-remote (broken since 0.12.0) (RHEL-92043)
    • pcs status query resource (broken since 0.12.0)
  • Handle query limit errors coming from rubygem-rack (RHEL-90151)