Set protocol for Manila with cephfs native driver

When Manila is enabled with cephfs native driver, the plugin fails to
enable protocol 'cephfs' in Manila's configuration file. Correct
this failure.

Change-Id: I145c5628f781a807231bcf1a77d5e3010a7185ca
Closes-Bug: #1536625
This commit is contained in:
Ramana Raja
2016-01-21 19:09:35 +05:30
parent 592c7d5711
commit 1c46b28dde

View File

@@ -21,7 +21,7 @@ source $CEPH_PLUGIN_DIR/lib/ceph
if (is_ceph_enabled_for_service manila) && \
[[ $MANILA_CEPH_DRIVER == 'cephfsnative' ]]; then
MANILA_DHSS=$(trueorfalse False MANILA_DHSS)
ENABLED_SHARE_PROTOCOLS="CEPHFS"
MANILA_ENABLED_SHARE_PROTOCOLS=CEPHFS
MANILA_DEFAULT_SHARE_TYPE=cephfstype
# CephFSNative Driver does not yet support creation of shares from
# snapshot.