Deprecate openstack_extras::pacemaker::service

The latest release of puppet-corosync does not yet support pcs 0.10.0,
which is now available in CentOS 8/9 or Ubuntu Focal/Jammy.

The unreleased change to adapt to pcs 0.10.0[1] made some breaking
interface change and our current implementation has not yet fully
adapt to it.

Because we haven't see any bug report or request to resolve this
situation, we can assume this implementation is not really used.
Furthermore we don't really have to use pacemaker for most of OpenStack
services, and we can use native resource agents such as systemd
resource agent instead of injecting own scripts.

Let's deprecate it so that we can remove it in a future release.

Change-Id: If90e21e41da40171a766c4740ef93d9c05ecd1c7
This commit is contained in:
Takashi Kajinami 2023-08-04 00:11:39 +09:00
parent 2cf190f3f5
commit b7466e5829
2 changed files with 7 additions and 0 deletions

View File

@ -127,6 +127,8 @@ define openstack_extras::pacemaker::service (
$clone = false,
) {
warning('This defined resource type has been deprecated and will be removed in a future release')
$service_name = $title
$primitive_name = "p_${service_name}"
$ocf_script_name = "${service_name}-ocf-file"

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``openstack_extras::pacemaker::serices`` defined resource type has been
deprecated and will be removed in a future release.