03d84f1316
During the devstack setup, if you have set `CEPHADM_DEPLOY=True`, we are not considering cephfsnative as the default driver, even though it was the expected behavior before. If we do not set this flag and it is not set in the local.conf, the devstack setup fails. That is fixed by enforcing `cephfsnative` as the default value for the Ceph backend. In case users want to deploy devstack with Ceph NFS, they can continue using the same workflow (setting `MANILA_CEPH_DRIVER=cephfsnfs`). Change-Id: I51660fa2466fff873f2230e683661b53874bf862 Signed-off-by: Carlos Eduardo <ces.eduardo98@gmail.com>
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
# 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
|
|
|
|
if [[ $ENABLE_CEPH_MANILA == "True" ]]; then
|
|
MANILA_CEPH_DRIVER=${MANILA_CEPH_DRIVER:-cephfsnative}
|
|
fi
|
|
|
|
CEPHADM_DEPLOY=$(trueorfalse False CEPHADM_DEPLOY)
|
|
REMOTE_CEPH=$(trueorfalse False REMOTE_CEPH)
|