sunbeam-charms/charms/ceilometer-k8s/metadata.yaml
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

56 lines
1.5 KiB
YAML

name: ceilometer-k8s
summary: OpenStack ceilometer service
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
description: |
OpenStack ceilometer provides an HTTP service for managing, selecting,
and claiming providers of classes of inventory representing available
resources in a cloud.
.
version: 3
bases:
- name: ubuntu
channel: 22.04/stable
assumes:
- k8s-api
- juju >= 3.1
tags:
- openstack
source: https://opendev.org/openstack/charm-ceilometer-k8s
issues: https://bugs.launchpad.net/charm-ceilometer-k8s
containers:
ceilometer-central:
resource: ceilometer-central-image
ceilometer-notification:
resource: ceilometer-notification-image
resources:
ceilometer-central-image:
type: oci-image
description: OCI image for OpenStack ceilometer central
# ghcr.io/canonical/ceilometer-central:2023.2
upstream-source: ghcr.io/canonical/ceilometer-consolidated:2023.2
ceilometer-notification-image:
type: oci-image
description: OCI image for OpenStack ceilometer notification
# ghcr.io/canonical/ceilometer-notification:2023.2
description: OCI image for OpenStack ceilometer
upstream-source: ghcr.io/canonical/ceilometer-consolidated:2023.2
provides:
ceilometer-service:
interface: ceilometer
requires:
amqp:
interface: rabbitmq
identity-credentials:
interface: keystone-credentials
limit: 1
gnocchi-db:
interface: gnocchi
peers:
peers:
interface: ceilometer-peer