aboutsummaryrefslogtreecommitdiffstats
path: root/ci/pingtests
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-11-29 15:49:54 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-11-29 14:17:57 +0000
commit981c33a1fd26914036a4739c39f883f8d773c05e (patch)
tree2f731e4a37ca8ab3cdbd5ffdeb70751f97cf18c6 /ci/pingtests
parent2819cb391b3935e244888bdbaeb3b9d7d4310c8e (diff)
Test encrypted volumes in scenario002
This effectively adds barbican-api to the deployment in scenario002 and uses it to provide encrypted volumes for cinder that a nova instance boots from in the test. Change-Id: I132e346755fb49c9563247b4404be06b97f77872
Diffstat (limited to 'ci/pingtests')
-rw-r--r--ci/pingtests/scenario002-multinode.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ci/pingtests/scenario002-multinode.yaml b/ci/pingtests/scenario002-multinode.yaml
index 24219887..d7a30fd9 100644
--- a/ci/pingtests/scenario002-multinode.yaml
+++ b/ci/pingtests/scenario002-multinode.yaml
@@ -72,12 +72,28 @@ resources:
router_id: { get_resource: router }
subnet_id: { get_resource: private_subnet }
+ luks_volume_type:
+ type: OS::Cinder::VolumeType
+ properties:
+ name: LUKS
+
+ encrypted_volume_type:
+ type: OS::Cinder::EncryptedVolumeType
+ properties:
+ volume_type: {get_resource: luks_volume_type}
+ provider: nova.volume.encryptors.luks.LuksEncryptor
+ cipher: aes-xts-plain64
+ control_location: front-end
+ key_size: 256
+
volume1:
type: OS::Cinder::Volume
+ depends_on: encrypted_volume_type
properties:
name: Volume1
image: { get_param: image }
size: 1
+ volume_type: {get_resource: luks_volume_type}
server1:
type: OS::Nova::Server