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
This commit is contained in:
Takashi Kajinami 2023-11-20 02:06:10 +09:00
parent ab56d3762d
commit ff0ab3b9e7

View File

@ -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':