Ensure redis-sentinel is also ready

We already ensure that the redis is ready before starting services
which use redis as coordination backend, but we also have to make sure
that redis sentinel is up because we use sentinel now in a few
scenarios.

Change-Id: Icdfdfc8f5d501ed67094f5c6b77db81577cbaba5
This commit is contained in:
Takashi Kajinami 2024-04-18 13:43:26 +09:00
parent 3392f8555a
commit cb7655f0d7
5 changed files with 5 additions and 5 deletions

View File

@ -105,7 +105,7 @@ class openstack_integration::aodh (
class { 'aodh::coordination':
backend_url => $::openstack_integration::config::tooz_url,
}
Class['redis::service'] -> Anchor['aodh::service::begin']
Class['openstack_integration::redis'] -> Anchor['aodh::service::begin']
class { 'aodh::evaluator':
evaluation_interval => 10,
workers => 2,

View File

@ -76,7 +76,7 @@ class openstack_integration::ceilometer (
class { 'ceilometer::coordination':
backend_url => $::openstack_integration::config::tooz_url,
}
Class['redis::service'] -> Anchor['ceilometer::service::begin']
Class['openstack_integration::redis'] -> Anchor['ceilometer::service::begin']
class { 'ceilometer::agent::notification':
workers => 2,
manage_pipeline => true,

View File

@ -67,7 +67,7 @@ class openstack_integration::designate (
class { 'designate::coordination':
backend_url => $::openstack_integration::config::tooz_url,
}
Class['redis::service'] -> Anchor['designate::service::begin']
Class['openstack_integration::redis'] -> Anchor['designate::service::begin']
include 'designate::client'

View File

@ -36,7 +36,7 @@ class openstack_integration::gnocchi (
class { 'gnocchi':
coordination_url => $::openstack_integration::config::tooz_url,
}
Class['redis::service'] -> Anchor['gnocchi::service::begin']
Class['openstack_integration::redis'] -> Anchor['gnocchi::service::begin']
class { 'gnocchi::db::mysql':
charset => $::openstack_integration::params::mysql_charset,
collate => $::openstack_integration::params::mysql_collate,

View File

@ -101,7 +101,7 @@ class openstack_integration::vitrage {
class { 'vitrage::coordination':
backend_url => $::openstack_integration::config::tooz_url,
}
Class['redis::service'] -> Anchor['vitrage::service::begin']
Class['openstack_integration::redis'] -> Anchor['vitrage::service::begin']
class { 'vitrage::client': }
}