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