charm-ceilometer:stable/20.02

Last commit made on 2020-02-17
Get this branch:
git clone -b stable/20.02 https://git.launchpad.net/charm-ceilometer

Branch merges

Branch information

Name:
stable/20.02
Repository:
lp:charm-ceilometer

Recent commits

3c29f13... by Liam Young

Updates for stable branch creation

Set default branch for git review/gerrit.

Switch amulet tests to stable.

Switch zaza bundles to stable charms.

Switch to using stable charm-helpers branch.

Change-Id: Ie2acf9f374f1866afa3050bf1f3ba8cab9687e48

6ddb81f... by Liam Young

Charmhelper sync for 20.02

Remove disco

Change-Id: Iea8aa135267d1409defa24cc3b74472f05aad26e

2c6a742... by Corey Bryant

Sync charm-helpers for Ussuri/Focal release and version details

Change-Id: I7bd27287c0334b22fc3db6934f595764a35b9f6a

5255fca... by Zuul <email address hidden>

Merge "Switch to Ussuri jobs"

f6206f9... by Liam Young

Reload systemd when configuring SSL for Newton.

At Newton when the certificates relation is joined the ceilometer-api
systemd override file is written with an updated port but systemd is
not reloaded. This causes ceilometer-api to bind to the wrong port
which fails since it is already in use.

Change-Id: I56579368173c6a269fcbad897649f92001cf539e
Closes-Bug: #1852050

cda8c3b... by Liam Young

Add placement charm for tests for train+

Change-Id: Ibdacf37b7ddacb145e4bca0757b2691a26778200

b66b793... by Stamatis Katsaounis

Update ceilometer-upgrade action

This patch adds debug option to ceilometer-upgrade to be more
explanatory in case of failure. Furthermore, it adds the option of a
sane number of retries because in case of failure at the current
master branch the ceilometer-upgrade action hangs forever.

Change-Id: Ib992eea42c4b085387b19b92798bc88ef0e1589e
Signed-off-by: Stamatis Katsaounis <email address hidden>

dcab152... by kangyufei

Switch to Ussuri jobs

Change-Id: I7a12098d2ad83459596c83e91c50ec3f62dd90d7

1c5865f... by Liam Young

Fix service_name in process_certificates call

Fix service_name when calling process_certificates so it matches
what ApacheSSLContext expects.

Ceilometers Apache config is rendered using
ceilometer_contexts.ApacheSSLContext. This class is a subclass of
charmhelpers.contrib.openstack.context.ApacheSSLContext. The
ceilometer specialised class sets 'service_namespace = "ceilometer"'.
This is then used by parent class to set the destination for certs
and keys to:

ssl_dir = os.path.join('/etc/apache2/ssl/', self.service_namespace)

The code to process incoming certificates from the certificates
relation does something very similar.
charmhelpers.contrib.openstack.cert_utils.process_certificates
takes a service_name parameter. It uses this to set the destination
directory that incoming certificates will be stored in:

ssl_dir = os.path.join('/etc/apache2/ssl/', service_name)

Obviously these two ssl directories need to match. But they do not
because process_certificates is currently called like this:

cert_utils.process_certificates('ceilometer-api', relation_id, unit)

Change-Id: I41a26d00b4d2b22a5cfd2ef38ec76f2efd13f75b
Closes-Bug: #1849292

9cb5185... by Sahid Orentino

Enable functional tests for train

This patch also updates the smoke test to run train.

Change-Id: I6cf2fb970bd47a93033a95100720bc4c87529aed
Signed-off-by: Sahid Orentino Ferdjaoui <email address hidden>