DevStack plugin to configure Ceph backend.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devstack-plugin-ceph/devstack/override-defaults

20 lines
830 B

# Plug-in overrides
ENABLE_CEPH_CINDER=$(trueorfalse True ENABLE_CEPH_CINDER)
ENABLE_CEPH_C_BAK=$(trueorfalse True ENABLE_CEPH_C_BAK)
ENABLE_CEPH_GLANCE=$(trueorfalse True ENABLE_CEPH_GLANCE)
ENABLE_CEPH_MANILA=$(trueorfalse True ENABLE_CEPH_MANILA)
ENABLE_CEPH_NOVA=$(trueorfalse True ENABLE_CEPH_NOVA)
# Do not enable RGW by default as RGW is not tested in upstream CI.
ENABLE_CEPH_RGW=$(trueorfalse False ENABLE_CEPH_RGW)
if [[ $ENABLE_CEPH_CINDER == "True" ]]; then
if [[ $ENABLE_CEPH_ISCSI == "True" ]]; then
CINDER_DRIVER=${CINDER_DRIVER:-ceph_iscsi}
CINDER_ENABLED_BACKENDS=${CINDER_ENABLED_BACKENDS:-ceph_iscsi}
CINDER_ISCSI_HELPER=${CINDER_ISCSI_HELPER:-lioadm}
else
CINDER_DRIVER=${CINDER_DRIVER:-ceph}
CINDER_ENABLED_BACKENDS=${CINDER_ENABLED_BACKENDS:-ceph}
fi
fi