This patch enables the plugin to setup ceph radosgw and configures it as a swift-compatible endpoint with keystone integration. ENABLE_CEPH_RGW is the new variable introduced, which is False by default, and can be set to True in localrc if radosgw needs to be setup. Fixed couple of other (related) things ... 1) Created rgw specific functions 2) Checking for radosgw & swift co-existence, erroring out early enough NOTE: Tested on ubuntu trusty only TODOs ... 1) Not tested on Fedora (F22), radosgw startup has some issues there. Co-Authored-By: Deepak C Shetty <deepakcs@redhat.com> Change-Id: I21db4168eb69d107599f6b6ab1668b02b764b2c6
17 lines
619 B
Plaintext
17 lines
619 B
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)
|
|
# Disable Ceph as the default backend for Manila as the
|
|
# CephFS Manila driver is WIP.
|
|
ENABLE_CEPH_MANILA=$(trueorfalse False 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
|
|
CINDER_DRIVER=ceph
|
|
CINDER_ENABLED_BACKENDS=ceph
|
|
fi
|