Merge "coordination: Remove heartbeat_interval"

This commit is contained in:
Zuul 2024-04-26 08:54:44 +00:00 committed by Gerrit Code Review
commit 81d8a8ac18
2 changed files with 6 additions and 17 deletions

View File

@ -8,32 +8,16 @@
# (Optional) Coordination backend URL.
# Defaults to $facts['os_service_default']
#
# DEPRECATED PARAMETERS
#
# [*heartbeat_interval*]
# (Optional) Number of seconds between heartbeats for coordination.
# Defaults to undef
#
class mistral::coordination (
$backend_url = $facts['os_service_default'],
# DEPRECATED PARAMETERS
$heartbeat_interval = undef,
$backend_url = $facts['os_service_default'],
) {
include mistral::deps
if $heartbeat_interval != undef {
warning('The heartbeat_interval parameter has been deprecated and has no effect.')
}
oslo::coordination{ 'mistral_config':
backend_url => $backend_url
}
mistral_config {
'coordination/heartbeat_interval': ensure => absent;
}
# all coordination settings should be applied and all packages should be
# installed before service startup
Oslo::Coordination['mistral_config'] -> Anchor['mistral::service::begin']

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The deprecated ``mistral::coordination::heartbeat_interval`` parameter has
been removed.