Charm Layer - OpenStack base layer
Go to file
Frode Nordahl 93bc9e1837
Do not execute certificate handlers in update-status hook
The certificate handler code does a bit of work and should not
run during the update-status hook.

As documented in the charms.reactive dispatch [0] function
handlers registered with the @hook decorator will execute before
other handlers.  So we can rely on the 'is-update-status-hook'
flag being consistently set when in update-status hook before
other handlers are evaluated for dispatch.

0: 3d27f3d24a/charms/reactive/bus.py (L325)

Closes-Bug: #1954748
Change-Id: I4a3aa544f98049c83db576f95de826038e8e1afc
2021-12-14 11:48:39 +01:00
actions Ensure endpoints are populated within actions 2021-05-11 08:06:09 +00:00
exec.d/openstack Ensure git is installed for all reactive openstack charms 2018-05-10 12:36:36 +01:00
reactive Do not execute certificate handlers in update-status hook 2021-12-14 11:48:39 +01:00
templates Align haproxy logging config with charm-helpers 2021-10-15 18:14:15 +09: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
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 list of files to exclude on layer consumption 2019-11-13 14:05:18 +01:00
LICENSE Rework licensing, update README a bit 2016-07-01 10:04:45 +01:00
metadata.yaml Add default certificates relation handlers 2019-08-29 12:44:49 +02:00
pip.sh Wrap pip to force pip<20.3 and setuptools<50.0.0 2021-10-13 10:15:47 +02:00
README.md Update readme doc 2017-08-28 21:20:46 +00: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 Wrap pip to force pip<20.3 and setuptools<50.0.0 2021-10-13 10:15:47 +02:00
wheelhouse.txt Fix installation of dnspython on python 3.5 2020-07-21 11:19:21 +02:00

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: