devstack-plugin-nfs/devstack/override-defaults
Erlon R. Cruz fade5da51b Allow multiple devstack Cinder plugins
This commit allows this plugin to be run in parallel with other devstack plugins
like glusterfs, ceph, etc. This is needed to allow gate jobs that test
multibackend features.

Change-Id: I79c5ee753607953ffad7e78b96ffea506d84fc21
2016-11-28 15:25:26 -02:00

17 lines
538 B
Plaintext

ENABLE_NFS_CINDER=$(trueorfalse True ENABLE_NFS_CINDER)
if [[ $ENABLE_NFS_CINDER == "True" ]]; then
CINDER_DRIVER=nfs
CINDER_ENABLED_BACKENDS=${CINDER_ENABLED_BACKENDS:-nfs:nfs}
# NOTE(mriedem): This is a workaround for Cinder bug 1642394.
CINDER_IMG_CACHE_ENABLED=False
# Always make sure that once the plugin is enabled, the backend will be
# properly activated.
if [[ ! $CINDER_ENABLED_BACKENDS == *nfs:nfs* ]]; then
CINDER_ENABLED_BACKENDS+=',nfs:nfs'
fi
TEMPEST_STORAGE_PROTOCOL=nfs
fi