Add skip for test_encrypted_cinder_volumes_cryptsetup
Ceph does not support Provider plain.
Volume driver reported an error: Provider plain not supported
Change-Id: If14e6abbf4baf58bda31a476b126bcc18987fc32
diff --git a/barbican_tempest_plugin/tests/scenario/test_volume_encryption.py b/barbican_tempest_plugin/tests/scenario/test_volume_encryption.py
index f9191bf..445ca14 100644
--- a/barbican_tempest_plugin/tests/scenario/test_volume_encryption.py
+++ b/barbican_tempest_plugin/tests/scenario/test_volume_encryption.py
@@ -15,6 +15,7 @@
import testtools
from oslo_log import log as logging
+
from tempest.common import utils
from tempest import config
from tempest.lib.common import api_version_utils
@@ -111,6 +112,8 @@
'PLAIN encryptor provider is not supported on rbd')
@decorators.idempotent_id('cbc752ed-b716-4727-910f-956ccf965723')
@utils.services('compute', 'volume', 'image')
+ @testtools.skipIf(CONF.volume.storage_protocol == 'ceph',
+ 'Skip because ceph does not support Provider plain')
def test_encrypted_cinder_volumes_cryptsetup(self):
img_uuid = self.sign_and_upload_image()
LOG.info("Creating keypair and security group")