Add secondary lvm backend for manila
This change is nesessary for manila scenario tempest tests
manila_tempest_tests.tests.scenario.test_share_basic_ops.TestShareBasicOpsNFS
For more ditails please take a look
https://mirantis.jira.com/browse/PROD-19169
Change-Id: Ib3db105dd3f6346cde262cae7e5b6f44b01ec766
Closes-Issue: https://mirantis.jira.com/browse/PROD-19169
diff --git a/classes/cluster/virtual-offline-ssl/openstack/share.yml b/classes/cluster/virtual-offline-ssl/openstack/share.yml
index 9a2d765..1d083f3 100644
--- a/classes/cluster/virtual-offline-ssl/openstack/share.yml
+++ b/classes/cluster/virtual-offline-ssl/openstack/share.yml
@@ -17,4 +17,21 @@
common:
identity:
protocol: https
- default_share_type: default
\ No newline at end of file
+ default_share_type: default
+ share:
+ enabled_share_backends:
+ lvm: # Explicitly redefine default 'lvm' element from reclass-system
+ name: lvm
+ type: lvm
+ enabled: true
+ dhss: false
+ share_driver: manila.share.drivers.lvm.LVMShareDriver
+ lvm1: # Second backend is needed only to test multibeckend scenario
+ name: lvm1
+ type: lvm
+ enabled: true
+ lvm_share_export_ips:
+ - "${_param:manila_share_address}"
+ dhss: false
+ share_driver: manila.share.drivers.lvm.LVMShareDriver
+ lvm_share_volume_group: manila-volume