Enable Volume encryption testing again

Change-Id: I5566d1aea8a8393ffed0601b12986e2e4676ea59
This commit is contained in:
Emilien Macchi 2016-08-30 15:07:40 -04:00 committed by David Moreau Simard
parent 30f1541da1
commit b674d6c97c
2 changed files with 9 additions and 13 deletions

View File

@ -63,8 +63,8 @@ class openstack_integration::cinder (
debug => true,
}
if $volume_encryption {
$keymgr_api_class = 'cinder.keymgr.barbican.BarbicanKeyManager'
$keymgr_encryption_api_url = "${::openstack_integration::config::base_url}:9311/v1"
$keymgr_api_class = 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager'
$keymgr_encryption_api_url = "${::openstack_integration::config::base_url}:9311"
$keymgr_encryption_auth_url = "${::openstack_integration::config::keystone_auth_uri}/v3"
} else {
$keymgr_api_class = undef
@ -80,13 +80,12 @@ class openstack_integration::cinder (
memcached_servers => $::openstack_integration::config::memcached_servers,
}
class { '::cinder::api':
default_volume_type => 'BACKEND_1',
public_endpoint => "${::openstack_integration::config::base_url}:8776",
service_name => 'httpd',
# TODO(emilien) Re-enable later when things are stable again.
# keymgr_api_class => $keymgr_api_class,
# keymgr_encryption_api_url => $keymgr_encryption_api_url,
# keymgr_encryption_auth_url => $keymgr_encryption_auth_url,
default_volume_type => 'BACKEND_1',
public_endpoint => "${::openstack_integration::config::base_url}:8776",
service_name => 'httpd',
keymgr_api_class => $keymgr_api_class,
keymgr_encryption_api_url => $keymgr_encryption_api_url,
keymgr_encryption_auth_url => $keymgr_encryption_auth_url,
}
include ::apache
class { '::cinder::wsgi::apache':

View File

@ -205,10 +205,7 @@ echo "api.baremetal.admin.test_drivers" >> /tmp/openstack/tempest/test-whitelist
echo "v2.test_queues.TestManageQueue" >> /tmp/openstack/tempest/test-whitelist.txt
# Cinder encrypted volumes
# TODO(emilien) re-enable it when those 2 patches are merged:
# - https://review.openstack.org/#/c/358670/
# - https://review.openstack.org/#/c/359391/
# TESTS="${TESTS} TestEncryptedCinderVolumes"
TESTS="${TESTS} TestEncryptedCinderVolumes"
print_header 'Running Tempest'
cd /tmp/openstack/tempest