Skip test_encrypted_cinder_volumes_cryptsetup on Ceph
Ceph/RBD backend in cinder does not support plain encryption provider.
Related-Issue: PRODX-37481
Change-Id: Iaf5de3958ecbcd5696ab31708005440ccd3ab2de
diff --git a/tempest/scenario/test_encrypted_cinder_volumes.py b/tempest/scenario/test_encrypted_cinder_volumes.py
index 3e354dc..cc9fb28 100644
--- a/tempest/scenario/test_encrypted_cinder_volumes.py
+++ b/tempest/scenario/test_encrypted_cinder_volumes.py
@@ -79,6 +79,8 @@
self.attach_detach_volume(server, volume)
@decorators.idempotent_id('cbc752ed-b716-4717-910f-956cce965722')
+ @testtools.skipIf(CONF.volume.storage_protocol == 'ceph',
+ 'Skip because ceph does not support Provider plain.')
@decorators.attr(type='slow')
@testtools.skipUnless(
'plain' in CONF.volume_feature_enabled.supported_crypto_providers,