Manila Charm does not support multiple share backends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila Charm |
Fix Released
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
Undecided
|
Unassigned | ||
Zed |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In my current deployment, the customer wants to use netapp as a share backend by default but wants the option to use cephfs as a backend.
I deployed manila and manila-ganesha and related them together and the manila shares were working properly.
I then added manila-netapp and related it to manila. The manila-netapp subordinate charm deployed without issue but the manila charm became blocked saying there default-
Expected result: Both backend should be defined in manila.conf.
I removed the manila-
The manila charm uses get_adapter(
There doesn't seem to be an easy way to revamp this structure to allow multiple backends.
Changed in charm-manila: | |
status: | New → In Progress |
Changed in charm-manila: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. opendev. org/c/openstack /charm- manila/ +/867047 /opendev. org/openstack/ charm-manila/ commit/ eb6437174a63130 b21f2404876ac4e 840e9e9314
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit eb6437174a63130 b21f2404876ac4e 840e9e9314
Author: Chris MacNaughton <email address hidden>
Date: Thu Dec 8 14:00:05 2022 -0500
Ensure that local and remote plugins can be used concurrently
To ensure that it works, this change also updates the functional
test bundles to include manila-netapp and manila-netapp-dhss in
the gate.
This change also picks up a drive-by change to fix a tox
dependency change.
Closes-Bug: #1996962 220b70a16539b41 813b0feb3be
Change-Id: Ic5a2b2fcced129