Let the plugin setup and configure CephFS as the storage backend for Manila. This is not done by default. Refer the README to do so. Add 'pre_test_hook' and 'post_test_hook' scripts that would be needed to configure Manila-Ceph CI jobs. The following changes are also made: * Install a development version of Ceph that is compatible with Manila's CephFSNative driver. * The development version is a version greater than Infernalis. And from Infernalis onwards, the ceph daemons are run as user "ceph". So allow the daemons to run as user "ceph" for such versions. * Enhance get_ceph_version to check Ceph version even when the ceph mon daemon is not up, by checking the CLI version. Co-Authored-By: John Spray <john.spray@redhat.com> Change-Id: I74314bfcc6b52d524bb84f2232a988f275b9afbf
15 lines
498 B
Plaintext
15 lines
498 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)
|
|
|
|
if [[ $ENABLE_CEPH_CINDER == "True" ]]; then
|
|
CINDER_DRIVER=ceph
|
|
CINDER_ENABLED_BACKENDS=ceph
|
|
fi
|