From ff0ab3b9e7efbaef457a11da1cde64e7229e4496 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 20 Nov 2023 02:06:10 +0900 Subject: [PATCH] Ensure keystone resources are created before starting services Some services such as ceilometer-polling requires valid identity, so we should ensure the identity resources are created before the services are started. Change-Id: Ifff2d097efa97156023b9bdc5ff62332f7875cac --- manifests/keystone/auth.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index f0498434..8271a58a 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -64,6 +64,10 @@ class ceilometer::keystone::auth ( include ceilometer::deps + # NOTE(tkajinam): ceilometer does not have api service, so we can use + # the begin anchor without causing circular dependencies + Keystone::Resource::Service_identity['ceilometer'] -> Anchor['ceilometer::service::begin'] + # Ceilometer requires only its user, project, and role assignment. # service and endpoint should be disabled since ceilometer-api has been removed. keystone::resource::service_identity { 'ceilometer':