Deprecate support for [oslo_messaging_rabbit] heartbeat_in_pthread

... because the option has been deprecated.

Depends-on: https://review.opendev.org/925778
Change-Id: Ie29ece185b3efb25f7b251743b7a82f1108ce5c9
This commit is contained in:
Takashi Kajinami
2025-02-18 10:40:41 +09:00
parent f8bf203533
commit 3152900119
2 changed files with 19 additions and 11 deletions

View File

@@ -104,16 +104,6 @@
# we check the heartbeat. (integer value)
# Defaults to $facts['os_service_default']
#
# [*rabbit_heartbeat_in_pthread*]
# (Optional) EXPERIMENTAL: Run the health check heartbeat thread
# through a native python thread. By default if this
# option isn't provided the health check heartbeat will
# inherit the execution model from the parent process. By
# example if the parent process have monkey patched the
# stdlib by using eventlet/greenlet then the heartbeat
# will be run through a green thread.
# Defaults to $facts['os_service_default']
#
# [*rabbit_qos_prefetch_count*]
# (Optional) Specifies the number of messages to prefetch.
# Defaults to $facts['os_service_default']
@@ -172,6 +162,18 @@
# IP address.
# Defaults to $facts['os_service_default'].
#
# DEPRECATED PARAMETERS
#
# [*rabbit_heartbeat_in_pthread*]
# (Optional) EXPERIMENTAL: Run the health check heartbeat thread
# through a native python thread. By default if this
# option isn't provided the health check heartbeat will
# inherit the execution model from the parent process. By
# example if the parent process have monkey patched the
# stdlib by using eventlet/greenlet then the heartbeat
# will be run through a green thread.
# undef
#
class ceilometer(
$telemetry_secret,
$http_timeout = $facts['os_service_default'],
@@ -194,7 +196,6 @@ class ceilometer(
$rabbit_enable_cancel_on_failover = $facts['os_service_default'],
$rabbit_heartbeat_timeout_threshold = $facts['os_service_default'],
$rabbit_heartbeat_rate = $facts['os_service_default'],
$rabbit_heartbeat_in_pthread = $facts['os_service_default'],
$rabbit_qos_prefetch_count = $facts['os_service_default'],
$amqp_durable_queues = $facts['os_service_default'],
$rabbit_use_ssl = $facts['os_service_default'],
@@ -207,6 +208,8 @@ class ceilometer(
$kombu_compression = $facts['os_service_default'],
Boolean $purge_config = false,
$host = $facts['os_service_default'],
# DEPRECATED PARAMETERS
$rabbit_heartbeat_in_pthread = undef,
) {
include ceilometer::deps

View File

@@ -0,0 +1,5 @@
---
deprecations:
- |
The ``ceilometer::rabbit_heartbeat_in_pthread`` parameter has been
deprecated and will be removed in the future release.