From d9fe0d568eb7b1820fb8cc0ab0ee1623fa4604b8 Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Wed, 18 Jun 2014 16:34:25 +0300 Subject: [PATCH] Allow ceph backend for nova/cinder/glance Add a DEVSTACK_GATE_CEPH var that allows a job to specify that it wants ceph to be used. When enabled, ceph is used as the backend for nova, glance, and cinder. Co-authored-by: Russell Bryant Change-Id: I27845a8e60ce1a5099152f73f46c451662a6c50b --- devstack-vm-gate.sh | 4 ++++ features.yaml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 3dc25e3a..0c899367 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -40,6 +40,10 @@ function setup_localrc() { MY_ENABLED_SERVICES+=,$ENABLED_SERVICES fi + if [[ "$DEVSTACK_GATE_CEPH" == "1" ]]; then + echo "CINDER_ENABLED_BACKENDS=ceph:ceph" >>localrc + fi + # the exercises we *don't* want to test on for devstack SKIP_EXERCISES=boot_from_volume,bundle,client-env,euca diff --git a/features.yaml b/features.yaml index 90605819..0cd5d718 100644 --- a/features.yaml +++ b/features.yaml @@ -33,6 +33,8 @@ config: features: [qpid] zeromq: features: [zeromq] + ceph: + features: [ceph] branches: # The value of ""default" is the name of the "trunk" branch @@ -132,3 +134,7 @@ features: base: services: [qpid] rm-services: [rabbit] + + ceph: + base: + services: [ceph]