charm-manila/unit_tests
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
..
__init__.py Use unittest.mock instead of mock 2021-12-15 09:45:22 +00:00
test_lib_charm_openstack_manila.py Fix local/remote assumptions in manila charm 2023-09-29 09:52:46 +01:00
test_manila_handlers.py Ensure that local and remote plugins can be used concurrently 2023-02-24 09:50:26 -05:00