Juju Charm - Manila fileshare service
Go to file
Alex Kavanagh d0ad23950f 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
2023-09-29 09:52:46 +01:00
src Fix local/remote assumptions in manila charm 2023-09-29 09:52:46 +01:00
unit_tests Fix local/remote assumptions in manila charm 2023-09-29 09:52:46 +01:00
.gitignore Add *.charm to gitignore 2022-05-09 15:37:38 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:44:39 +00:00
.stestr.conf Rebuild + .testr.conf -> .stestr.conf due to Bug #1718152 2017-11-23 14:22:24 +00:00
.zuul.yaml Add Antelope support 2023-03-08 15:42:42 +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
charmcraft.yaml Add pkg-config to build-packages 2023-09-13 21:50:25 -03:00
metadata.yaml Migrate charm to charmhub latest/edge track 2022-01-27 20:40:57 +00:00
osci.yaml Add 2023.2 Bobcat support 2023-08-03 13:58:54 -04:00
rebuild Ensure get_requests_for_local_unit doesn't fail on incomplete relation 2023-08-04 18:47:58 +01:00
requirements.txt Add Kinetic and Zed support 2022-10-04 11:51:23 +00:00
test-requirements.txt Fix local/remote assumptions in manila charm 2023-09-29 09:52:46 +01:00
tox.ini Fix charm for tox4 compatibility 2023-01-20 12:15:51 -05: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.