Ceilometer
- OpenStack Charmers
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/edge | 569 | 17 Nov 2024 | |
latest/edge | 568 | 17 Nov 2024 | |
latest/edge | 567 | 17 Nov 2024 | |
latest/edge | 566 | 17 Nov 2024 | |
latest/edge | 562 | 29 May 2024 | |
latest/edge | 560 | 20 Feb 2024 | |
latest/edge | 538 | 09 Aug 2023 | |
latest/edge | 508 | 07 Apr 2022 | |
latest/edge | 263 | 17 Dec 2020 | |
latest/edge | 38 | 17 Dec 2020 | |
yoga/stable | 553 | 28 Nov 2023 | |
zed/stable | 555 | 29 Nov 2023 | |
xena/stable | 556 | 30 Nov 2023 | |
wallaby/stable | 559 | 30 Nov 2023 | |
victoria/stable | 558 | 30 Nov 2023 | |
ussuri/stable | 557 | 30 Nov 2023 | |
train/candidate | 521 | 13 Dec 2022 | |
train/edge | 543 | 20 Sep 2023 | |
stein/candidate | 521 | 13 Dec 2022 | |
stein/edge | 543 | 20 Sep 2023 | |
rocky/candidate | 521 | 13 Dec 2022 | |
rocky/edge | 543 | 20 Sep 2023 | |
queens/candidate | 521 | 13 Dec 2022 | |
queens/edge | 543 | 20 Sep 2023 | |
2024.1/candidate | 563 | 31 May 2024 | |
2024.1/candidate | 551 | 24 Jan 2024 | |
2023.2/stable | 552 | 30 Nov 2023 | |
2023.1/stable | 554 | 28 Nov 2023 |
juju deploy ceilometer --channel yoga/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
Overview
This charm provides the Ceilometer service for OpenStack.
Ceilometer is made up of 2 separate services: an API service, and a collector service. This charm allows them to be deployed in different combination, depending on user preference and requirements.
Important: This documentation supports version 3.x
of the Juju client.
See the OpenStack Charm
guide if you are using the 2.9.x
client.
Usage
In order to deploy Ceilometer service (prior to Queens), the MongoDB service is required:
juju deploy mongodb
juju deploy ceilometer
juju integrate ceilometer mongodb
For OpenStack Queens or later, Gnocchi should be used instead of MongoDB for resource, metrics and measure storage:
juju integrate ceilometer gnocchi
Note: When ceilometer is related to gnocchi the ceilometer-upgrade action must be run post deployment in order to update its data store in gnocchi. It is not strictly necessary to re-run this action on every charm or OpenStack release upgrade. If re-running it, be aware that it may override any gnocchi resource-type adjustments that would have been made.
juju run ceilometer/0 ceilometer-upgrade
then Keystone and Rabbit relationships need to be established:
juju integrate ceilometer:amqp rabbitmq
juju integrate ceilometer keystone:identity-service
juju integrate ceilometer keystone:identity-notifications
For OpenStack Queens, the identity-service relation must be replaced with the identity-credentials relation:
juju integrate ceilometer keystone:identity-credentials
Ceilometer@Queens does not provide an API service.
In order to capture the calculations, a Ceilometer compute agent needs to be installed in each nova node, and be related with Ceilometer service:
juju deploy ceilometer-agent
juju integrate ceilometer-agent nova-compute
juju integrate ceilometer-agent:amqp rabbitmq-server:amqp
juju integrate ceilometer:ceilometer-service ceilometer-agent:ceilometer-service
Ceilometer provides an API service that can be used to retrieve Openstack metrics.
If ceilometer needs to listen to multiple message queues then use the amqp interface to relate ceilometer to the message broker that it should publish to and use the amqp-listener interface for all message brokers ceilometer should monitor.
juju integrate ceilometer:amqp rabbitmq-central
juju integrate ceilometer:amqp-listener rabbitmq-neutron
juju integrate ceilometer:amqp-listener rabbitmq-nova-cell2
High availability
When more than one unit is deployed with the hacluster application the charm will bring up an HA active/active cluster.
There are two mutually exclusive high availability options: using virtual IP(s) or DNS. In both cases the hacluster subordinate charm is used to provide the Corosync and Pacemaker backend HA functionality.
See OpenStack high availability in the OpenStack Charms Deployment Guide for details.
Network Space support
This charm supports the use of Juju Network Spaces, allowing the charm to be bound to network space configurations managed directly by Juju. This is only supported with Juju 2.0 and above.
API endpoints can be bound to distinct network spaces supporting the network separation of public, internal and admin endpoints.
To use this feature, use the --bind option when deploying the charm:
juju deploy ceilometer --bind "public=public-space internal=internal-space admin=admin-space"
alternatively these can also be provided as part of a juju native bundle configuration:
ceilometer:
charm: cs:ceilometer
bindings:
public: public-space
admin: admin-space
internal: internal-space
NOTE: Spaces must be configured in the underlying provider prior to attempting to use them.
NOTE: Existing deployments using os-*-network configuration options will continue to function; these options are preferred over any network space binding provided if set.