Charm Layer - OpenStack base layer
Go to file
Frode Nordahl 1df85ff800
Add default certificates relation handlers
These where moved up to this layer from ``layer-openstack-api``,
removal counterpart: I007275c041ca5465664a6b5d441e56c0316c405d

Guard the default handlers behind check for
'charms.openstack.do-default-certificates.available' flag.  This
flag is activated when the consumer charm makes a call to
charm.use_defaults('certificates.available') from its reactive
handler.  Previously it was always activated for all consumers of
the ``openstack-api`` layer, it should be up to the charm
implementation to choose.

We do not add back ``layer-tls-client``, the reason being that
the reactive bits in ``layer-openstack`` in conjunction with
helpers in ``charms.openstack`` is managing both the server and CA
certificates and rely on the same flags to detect changes.

If we one day offload those tasks to the ``layer-tls-client``
we should add it back in conjunction with removing our code for
this.  At the time of this writing it would not be possible as
``layer-tls-client`` is not spaces aware.

With the above mentioned change we can stop relying on the now
deprecated ``certificates.batch.cert.available`` flag.

We also do not add back the Keystone certificates handling code
as this has been removed from the Keystone charm reference:
openstack/charm-keystone/commit/17b24e7fde8e4c8c276a4f392cbae0d1d0ed2615

Needed-By: I007275c041ca5465664a6b5d441e56c0316c405d
Needed-By: I8a72acd451dd21e1b042b7f71f6d98e164737ac1
Closes-Bug: #1840899
Change-Id: I12f45236632b608e07fdd35d31b90b84ca92eb1f
2019-08-29 12:44:49 +02:00
actions Add action to restart services 2018-11-30 15:36:26 +00:00
exec.d/openstack Ensure git is installed for all reactive openstack charms 2018-05-10 12:36:36 +01:00
reactive Add default certificates relation handlers 2019-08-29 12:44:49 +02:00
templates Use ``uri`` property 2019-04-08 20:15:17 +02:00
.gitignore Add basic tox targets 2016-07-01 10:29:08 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:33:01 +00:00
.zuul.yaml import zuul job settings from project-config 2018-09-11 13:15:14 -04:00
LICENSE Rework licensing, update README a bit 2016-07-01 10:04:45 +01:00
README.md Update readme doc 2017-08-28 21:20:46 +00:00
actions.yaml Add action to restart services 2018-11-30 15:36:26 +00:00
config.yaml Add default certificates relation handlers 2019-08-29 12:44:49 +02:00
layer.yaml Add default certificates relation handlers 2019-08-29 12:44:49 +02:00
metadata.yaml Add default certificates relation handlers 2019-08-29 12:44:49 +02:00
requirements.txt Update layer wheelhouse with common dependencies 2019-08-21 16:11:42 +02:00
test-requirements.txt Tidy/Fix Apache template 2016-07-13 08:29:24 +00:00
tox.ini Update layer wheelhouse with common dependencies 2019-08-21 16:11:42 +02:00
wheelhouse.txt Update layer wheelhouse with common dependencies 2019-08-21 16:11:42 +02:00

README.md

Overview

This layer provides the base OpenStack configuration options and dependencies for authoring OpenStack Charms. Typically you won't use this layer directly. The openstack-api or openstack-principle layers which consume this layer are probably more interesting as layers to directly use.

Where is the code?

The code for this module is held in the charms.openstack module which is developed at the following location: