pcs-0.12.0 beta1
Pre-releasePlease be advised that this is a beta release which is not feature and bug fix complete. The pcs 0.12 series is designed to be compatible with Pacemaker 3.x on top of Corosync 3.x. This release therefore brings a lot of deprecations and also removals of previously deprecated features. This milestone also marks slowing down of feature development for the pcs 0.11 series and stopping maintenance of the pcs 0.10 series.
The most notable changes are:
Minimal supported version of Pacemaker is 3.0. Minimal required version of Python is 3.12. Minimal required version of python3-pyparsing is 3.0.0. Minimal required version of Ruby is 3.1.
With deprecation of installation using setup.py, the project was migrated to standard PEP517, PEP518 and PEP621 packaging mechanism. Setuptools is used as a build backend and pip as a build frontend. If you build pcs from source (not using a package), look at the changes in Makefile.am and rpm/spec.in. Update of your building processes might be needed.
Following Pacemaker 3, support for following features has been removed:
- nagios and upstart resource classes
- rkt containers in bundle resources
- multiple rules in a single location constraint
Also, date-spec and duration options in rules have been changed to match Pacemaker 3.
Pacemaker tags and stonith levels (AKA fencing topology) can now be exported as JSON or pcs commands.
Command 'pcs resource delete' has been overhauled. It now allows removing multiple resources in one go. It is also newly capable of removing resources or stonith resources referenced in Pacemaker tags. It can no longer remove remote and guest nodes, there are special commands for that.
Check out changes described in pcs-0.12.0a1 Alhpa release, as they are valid for this release as well.
Complete change log for this release:
Removed
- Following pacemaker 3, support for nagios and upstart resource classes has been removed (RHEL-49520)
- Following pacemaker 3, support for rkt containers in bundle resources has been removed (RHEL-49521)
- Following pacemaker 3, support for multiple rules in a single location constraint has been removed (RHEL-62719)
- Removed pcsd configuration option
PCSD_DISABLE_GUI
. It is possible not to install webui support by running./configure
without flag--enable-webui
.
Added
- Support for output formats
json
andcmd
topcs tag config
command (RHEL-21047) - Add lib commands
cluster.get_corosync_conf_struct
andresource.get_configured_resources
to API v2 - Lib command
cib.remove_elements
can now remove resources - Add lib command
status.full_cluster_status_plaintext
to API v1 (RHEL-61747) - Support for exporting stonith levels in
json
andcmd
formats in commandspcs stonith config
andpcs stonith level config
commands (RHEL-38483)
Changed
- Minimal supported version of pacemaker is 3.0
- Minimal required version of python has been changed to 3.12
- Minimal required version of ruby has been changed to 3.1
- Commands
pcs resource delete | remove
andpcs stonith delete | remove
now allow (RHEL-61889):- deletion of multiple resources or stonith resources with one command
- deletion of resources or stonith resources included in tags
- Commands
pcs resource delete | remove
can no longer remove remote and guest node resources. Thepcs cluster node delete-remote | remove-remote
orpcs cluster node delete-guest | remove-guest
should be used to properly delete remote or guest nodes. (RHEL-61889) - Commands
pcs cluster node delete-remote | remove-remote
no longer remove location constraints referencing the node name of the removed node. This new behavior is consistent with the other node removal commands. - Minimal required version of python3-pyparsing has been changed to 3.0.0
- With deprecation of installation using setup.py, the project was migrated to standard PEP517, PEP518 and PEP621 packaging mechanism. Setuptools is used as a build backend and pip as a build frontend. If you build pcs from source (not using a package), look at the changes in Makefile.am and rpm/spec.in. Update of your building processes might be needed.
- Following pacemaker 3, date-spec and duration options in rules have been changed (RHEL-49524, RHEL-49527)
Fixed
- Do not end with error when using the instances quantifier in
pcs status query resource is-state
command (RHEL-55723) - Do not display a warning in
pcs status
when a fence_sbd stonith device has itsmethod
option set tocycle
(RHEL-44432) - Do not display expired constraints in
pcs constraint location config resources
unless--all
is specified (RHEL-33386) - Displaying status of local and remote cluster sites in
pcs dr status
command. (RHEL-61747)
Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Michal Pospisil, Michal Pospíšil, Miroslav Lisik, Peter Romancik and Tomas Jelinek.