Hemanth Nakkina bf2bdc90b7 Wait for gnocchi service before configuring ceilometer
Currently the ceilometer services are configured and
ceilometer dbsync is run as an action.
A new interface gnocchi_service is introduced that
updates relation data when gnocchi service is up.
Add new relation gnocchi_service in metadata.yaml
as a mandatory relation.
Update dbsync commands so that they are run as part
of configure_charm.
Remove the action ceilometer-upgrade that does the
dbsync as it is no more required.

Change-Id: Iba72250f3d31ef9dafa5b3bd16abefd43a74366a
2023-10-11 09:00:57 +05:30

9 lines
355 B
Bash
Executable File

#!/bin/bash
echo "INFO: Fetching libs from charmhub."
charmcraft fetch-lib charms.gnocchi_k8s.v0.gnocchi_service
# charmcraft fetch-lib charms.data_platform_libs.v0.database_requires
# charmcraft fetch-lib charms.keystone_k8s.v1.identity_service
# charmcraft fetch-lib charms.rabbitmq_k8s.v0.rabbitmq
# charmcraft fetch-lib charms.traefik_k8s.v1.ingress