John A Meinel cb0cb32156 fix: actions need hooks/
Some charm builds will put additional functionality into a subdirectory
of hooks/ (eg designate-bind creates a hooks/relations directory.)

However, when running an action, those are run from "actions/pause" not
as "hooks/config-changed". Which means that they cannot find the
"relations" directory to import it.

We could:
a) symlink all the extra things from actions/* to point at hooks/*
b) include hooks as part of the import path
c) change so that all of those extra libraries are put into somewhere in
'lib' instead of somewhere in hooks/*.

This patch chooses (b).

This should fix:
https://bugs.launchpad.net/charm-designate-bind/+bug/2107591

once it is rebuilt with this version of layer openstack.

Closes-Bug: 2107591
Change-Id: Ib1f0893bbff00ffc28a80162dd5472bfb64a3033
Signed-off-by: Arif Ali <[email protected]>
2026-05-19 16:30:31 +01:00
2026-05-19 16:30:31 +01:00
2016-07-01 10:29:08 +01:00
2019-04-19 19:33:01 +00:00
2018-11-30 15:36:26 +00:00
2016-07-01 10:04:45 +01:00
2017-08-28 21:20:46 +00:00
2026-05-19 16:30:31 +01:00
2016-07-13 08:29:24 +00:00
2023-02-03 18:19:20 -03:00
2026-05-19 16:30:31 +01: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:

S
Description
Charm Layer - OpenStack base layer
Readme 642 KiB
Languages
Python 96.1%
Shell 3.9%