Test attach encrypted volume

Enable encrypted volume testing.

Change-Id: I96739a3592241aff6326662d15f36b39f1772356
This commit is contained in:
Eric Harney 2018-05-22 13:29:47 -04:00
parent eea5899815
commit c6d3b84268
3 changed files with 11 additions and 7 deletions

View File

@ -23,8 +23,7 @@
tox_envlist: all
tempest_test_regex: |
(^tempest\.(api|scenario)|(^cinder_tempest_plugin))
tempest_test_blacklist: |
"{{ ansible_user_dir }}/src/git.openstack.org/openstack/devstack-plugin-ceph/tempest_blacklist.txt"
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tempest_blacklist.txt'
- job:
name: devstack-plugin-ceph-tempest-py3
@ -49,8 +48,7 @@
tox_envlist: all
tempest_test_regex: |
(^tempest\.(api|scenario)|(^cinder_tempest_plugin))
tempest_test_blacklist: |
"{{ ansible_user_dir }}/openstack/devstack-plugin-ceph/tempest_blacklist.txt"
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tempest_blacklist.txt'
- project-template:
name: devstack-plugin-ceph-tempest-jobs

View File

@ -119,9 +119,12 @@ REMOTE_CEPH_ADMIN_KEY_PATH=\
${REMOTE_CEPH_ADMIN_KEY_PATH:-$CEPH_CONF_DIR/ceph.client.admin.keyring}
REMOTE_CEPH_RGW=$(trueorfalse False REMOTE_CEPH_RGW)
# Cinder encrypted volume tests are not supported with a Ceph backend due to
# bug 1463525.
ATTACH_ENCRYPTED_VOLUME_AVAILABLE=False
if [[ "$TARGET_BRANCH" == "master" ]]; then
# TODO: enable this for Queens and later
ATTACH_ENCRYPTED_VOLUME_AVAILABLE=True
else
ATTACH_ENCRYPTED_VOLUME_AVAILABLE=False
fi
# OpenStack CI test instances will have a set of opt in package mirrors in
# /etc/apt/sources.list.available.d/ which will include the ceph package

View File

@ -1,2 +1,5 @@
# List of tests getting skipped
.*\[.*\bslow\b.*\]
# The RBD driver only supports LUKS encryption.
tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes.test_encrypted_cinder_volumes_cryptsetup