coordination: Remove heartbeat_interval

This parameter was deprecated during the previous cycle[1].

[1] c7fa10285d

Change-Id: Ib253453b39ae7ac68b6e85db8b262cd201413a5c
This commit is contained in:
Takashi Kajinami 2024-04-25 13:55:18 +09:00
parent 2b676ccb61
commit 60a43f7745
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.