Ensure coordination backend is started

... before starting the services requiring the backend. Some of these
services crash in case its coordination backend is not available.

Change-Id: Iaf7379bdd7d144d8a71e5f00358beb1dee442cba
This commit is contained in:
Takashi Kajinami 2023-12-13 00:24:55 +09:00
parent 5794760a69
commit ab2a9ace6d
6 changed files with 6 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -161,6 +161,7 @@ class openstack_integration::ironic (
workers => 2,
}
$standalone = false
Service['memcached'] -> Anchor['ironic-inspector::service::begin']
} else {
$standalone = true
}

View File

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