Updates to support in Ceph local.conf sample

to make user devstack deployment a bit easier.

Since snapshot_support is now on by default for Ceph
backends, enable it in the default share type extra
specs.

Also specify the SHARE_DRIVER so the manila devstack
plugin doesn't think we're running the generic driver
and try to install kernel NFS and samba servers.

Change-Id: I636a047cacba7c5960df15a99fc79a35a818f45d
This commit is contained in:
Tom Barron 2020-12-08 11:22:06 -05:00
parent d8dab2d077
commit 8d1dcb1e0c

View File

@ -34,9 +34,11 @@ MANILA_CEPH_DRIVER=cephfsnfs
# CEPHFS backend options # CEPHFS backend options
SHARE_DRIVER=manila.share.drivers.cephfs.driver.CephFSDriver
MANILA_SERVICE_IMAGE_ENABLED=False MANILA_SERVICE_IMAGE_ENABLED=False
MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=False' MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS='snapshot_support=True'
MANILA_CONFIGURE_DEFAULT_TYPES=True MANILA_CONFIGURE_DEFAULT_TYPES=True
# Required for mounting shares # Required for mounting shares
MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST=True MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST=True