Juju Charm - Manila fileshare service
Go to file
Alex Kavanagh 5cc75e1ff6 Fix local/remote assumptions in manila charm
When the remote plugin was developed it made the assumption that the
`enabled_share_backends` included the remote backends. This assumption
is wrong, and it should only contain the locally defined drivers; i.e.
ones that have a [driver] section in the manila.conf file. The cephfsnfs
driver doesn't have a local configuration as the share-server is runs on
the manila-ganesha unit and so shouldn't be local.

This patch splits the config in local/remote and then uses the local and
remote config in the correct places.

Closes-Bug: #2012457
Change-Id: I436452208aaeaf08d1655da4fccbd7a89549b404
(cherry picked from commit d0ad23950f)
2023-09-29 17:40:04 +00:00
src Fix local/remote assumptions in manila charm 2023-09-29 17:40:04 +00:00
unit_tests Fix local/remote assumptions in manila charm 2023-09-29 17:40:04 +00:00
.gitignore Add *.charm to gitignore 2022-05-09 15:37:38 +00:00
.gitreview Updates for zed stable branch creation 2022-10-20 18:43:54 -07:00
.stestr.conf Rebuild + .testr.conf -> .stestr.conf due to Bug #1718152 2017-11-23 14:22:24 +00:00
.zuul.yaml Add Kinetic and Zed support 2022-10-04 11:51:23 +00:00
HACKING.md First commit of manila charm 2016-12-02 13:50:04 +00:00
LICENSE First commit of manila charm 2016-12-02 13:50:04 +00:00
README.md Update docs to remove non-production notices 2020-01-30 17:22:53 +01:00
TODO.md First commit of manila charm 2016-12-02 13:50:04 +00:00
bindep.txt Build separately for each supported series and use binary builds 2022-10-04 00:20:22 +00:00
build-requirements.txt Update to build using charmcraft 2022-02-01 20:23:10 +00:00
charmcraft.yaml Add pkg-config to build-packages 2023-09-14 09:08:26 -03:00
metadata.yaml Migrate charm to charmhub latest/edge track 2022-01-27 20:40:57 +00:00
osci.yaml Add Kinetic and Zed support 2022-10-04 11:51:23 +00:00
pip.sh Add xena bundles 2021-10-07 11:55:15 +02:00
rebuild [zed] Ensure get_requests_for_local_unit doesn't fail on incomplete relation 2023-08-18 17:41:34 +01:00
rename.sh Update to build using charmcraft 2022-02-01 20:23:10 +00:00
requirements.txt Updates for zed stable branch creation 2022-10-20 18:43:54 -07:00
test-requirements.txt Fix local/remote assumptions in manila charm 2023-09-29 17:40:04 +00:00
tox.ini [zed] Ensure get_requests_for_local_unit doesn't fail on incomplete relation 2023-08-18 17:41:34 +01:00

README.md

Manila Source Charm

This repository is for the reactive, layered, Manila source charm.

Please see the src/README.md for details on the built Manila charm and how to use it.

Building the charm

To build the charm run the following command in the root of the repository:

$ tox -e build

The resultant built charm will be in the builds directory.

Development/Hacking of the charm

Please see HACKING.md in this directory.