fade5da51b
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
17 lines
538 B
Plaintext
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
|