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 d0ad23950ffbbc87c176c008cd0180a0d579ddcd)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- manila/ +/896854 /opendev. org/openstack/ charm-manila/ commit/ 6ec78dd3dbfbe09 63a3f11f5856296 6ddb8248a9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 6ec78dd3dbfbe09 63a3f11f5856296 6ddb8248a9
Author: Alex Kavanagh <email address hidden>
Date: Mon Sep 18 15:01:41 2023 +0100
Fix local/remote assumptions in manila charm
When the remote plugin was developed it made the assumption that the share_backends` included the remote backends. This assumption
`enabled_
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 08d1655da4fccbd 7a89549b404 7c176c008cd0180 a0d579ddcd)
Change-Id: I436452208aaeaf
(cherry picked from commit d0ad23950ffbbc8