[ClusterLabs] pcs 0.12.0b1 released

Tomas Jelinek tojeline at redhat.com
Thu Nov 21 08:55:36 UTC 2024


I am happy to announce the first BETA release of the new major pcs
version - 0.12.0b1.

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

Please 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` and `cmd` to `pcs tag config`
   command ([RHEL-21047])
- Add lib commands `cluster.get_corosync_conf_struct` and
   `resource.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` and `cmd` formats in
   commands `pcs stonith config` and `pcs 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` and `pcs 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. The `pcs cluster node delete-remote |
   remove-remote` or `pcs 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 its `method` option set to `cycle` ([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.

Cheers,
Tomas


[RHEL-21047]: https://issues.redhat.com/browse/RHEL-21047
[RHEL-33386]: https://issues.redhat.com/browse/RHEL-33386
[RHEL-38483]: https://issues.redhat.com/browse/RHEL-38483
[RHEL-44432]: https://issues.redhat.com/browse/RHEL-44432
[RHEL-49520]: https://issues.redhat.com/browse/RHEL-49520
[RHEL-49521]: https://issues.redhat.com/browse/RHEL-49521
[RHEL-49524]: https://issues.redhat.com/browse/RHEL-49524
[RHEL-49527]: https://issues.redhat.com/browse/RHEL-49527
[RHEL-55723]: https://issues.redhat.com/browse/RHEL-55723
[RHEL-61747]: https://issues.redhat.com/browse/RHEL-61747
[RHEL-61889]: https://issues.redhat.com/browse/RHEL-61889
[RHEL-62719]: https://issues.redhat.com/browse/RHEL-62719



More information about the Users mailing list