Commit Graph

11 Commits

Author SHA1 Message Date
Cornellius Metto 9fd4ea0a39 Add configurability to polling.yaml.
The ceilometer compute agent uses the default polling.yaml
from the installed packages without the ability to configure its contents.

This change adds two configuration options: 'polling-interval' and
'enable-all-pollsters', borrowing from the implementation in
charm-ceilometer. We start off with a limited set of meters as before
and if these are not enough, the user can set 'enable-all-pollsters' to
'true' to collect all available 'Pollster' metrics as listed in the
documentation [1].

Verification:
I tested this change on a cluster built from the OpenStack base bundle
and the ceilometer and gnocchi charms. I confirmed that extra metrics
that originate from the Compute Agent pollster (e.g. disk.device.read.latency)
are available in gnocchi after setting 'enable-all-pollsters' to true.

[1] https://docs.openstack.org/ceilometer/latest/admin/telemetry-measurements.html

Closes-Bug: #1914442
Change-Id: I21c9a93e7dd91bced9365e44f3e6a5315976c3bb
2021-05-12 17:30:00 +03:00
James Page 54530ab595 Refactor RabbitMQ integration
Prior to this change, the ceilometer-agent charm receives RMQ
configuration details via the ceilometer charm.  This makes it
a bit of a snowflake.

Refactor RMQ integration to require a direct relation to the
rabbitmq-server charm; information provided on this relation
will superceed any information currently provided via the
charms relation with ceilometer, ensuring that there is no
disruption to service during a charm upgrade before the new
relation is added.

Switch to using [DEFAULT]transport_url for RMQ configuration,
making use of the new ch template for SSL and HA configuration
in [oslo_messaging_rabbit].

Change-Id: Ie637ec5162461826505cea39bde6829e036fa1f2
Closes-Bug: 1817672
2019-02-26 15:11:23 +01:00
Liam Young 1a40c275d5 Remove independent OpenStack upgrade
Ceilometer has had an openstack-origin and supported upgrading
the Ceilometer version independently of the principle that it is
associated with. This can cause issues with clashes in package
dependencies between the two. This change makes the
ability for the agent to be upgraded independently of the principle
and instead has the upgrade triggered by the principle. This brings
this charm inline with the other OpenStack subordinate charms.

Change-Id: I641ac2168ac705191d916eaa0624214791e1745d
Closes-Bug: #1802400
2018-11-11 18:44:29 +00:00
Mario Splivalo cc8dcb7d94 Cleanup config.yaml
Change-Id: I28cd68ea52eae2d655cf64c2c297c79087f28d48
2017-10-02 12:22:20 +01:00
Edward Hope-Morley 959d6e7f12 Support using internal network for clients
Openstack mostly defaults to using public endpoints for
internal communication between services. This patch adds
a new option use-internal-endpoints which, if set to True,
will configure services to use internal endpoints where
possible.

Change-Id: I170e5e1eef3d2e3bb28d37606a468328005609d0
Closes-Bug: 1456876
2016-04-14 11:24:43 +01:00
Corey Bryant 42a75be9be Action managed openstack upgrade support 2015-09-14 21:02:50 +00:00
Edward Hope-Morley 3b3ec246f7 [trivial] Cleanup config.yaml
Partially-Closes-Bug: 1473426
2015-07-10 15:21:27 +01:00
Brad Marshall 8bc83678c5 [bradm] Add nagios_servicegroups config option 2015-02-19 12:04:24 +10:00
Brad Marshall cd7d5b1168 [bradm] Added nagios checks 2014-11-18 15:51:05 +10:00
James Page 932c04fc81 Rejig source to support default of distro 2014-03-31 14:51:46 +01:00
yolanda.robla@canonical.com 36a0f02471 first version of charm 2013-02-12 14:53:39 +01:00