From e446fc3f5982089770a936cd8614fe75566cc103 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 8 Jul 2015 12:10:15 -0700 Subject: [PATCH] Set ATTACH_ENCRYPTED_VOLUME_AVAILABLE=False if testing with Ceph The encrypted Cinder volume tests in Tempest don't actually work properly for a Ceph backend in cinder since the volume encryption support is not in Nova for RBD volume types. This is needed for Cinder change I03f8cae05cc117e14f7482115de685fc9f3fa54a which tells Nova that the rbd volume connection is on an encrypted volume type. Related-Bug: #1463525 Change-Id: I8548d41095513b9e669f773e3f35353e9228ead9 --- lib/ceph | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ceph b/lib/ceph index 16dcda2f9e..5104629065 100644 --- a/lib/ceph +++ b/lib/ceph @@ -74,6 +74,10 @@ CEPH_REPLICAS_SEQ=$(seq ${CEPH_REPLICAS}) REMOTE_CEPH=$(trueorfalse False REMOTE_CEPH) REMOTE_CEPH_ADMIN_KEY_PATH=${REMOTE_CEPH_ADMIN_KEY_PATH:-$CEPH_CONF_DIR/ceph.client.admin.keyring} +# Cinder encrypted volume tests are not supported with a Ceph backend due to +# bug 1463525. +ATTACH_ENCRYPTED_VOLUME_AVAILABLE=False + # Functions # ------------