Enable scenario tests to test Barbican
Change-Id: I8d25953dc77f449a3b6cdf63be850b157014bec2
This commit is contained in:
parent
04ad128ff4
commit
6bd8016a19
@ -53,7 +53,8 @@ class { 'openstack_integration::keystone':
|
|||||||
token_expiration => '2400',
|
token_expiration => '2400',
|
||||||
}
|
}
|
||||||
class { 'openstack_integration::glance':
|
class { 'openstack_integration::glance':
|
||||||
backend => 'swift',
|
backend => 'swift',
|
||||||
|
image_encryption => true,
|
||||||
}
|
}
|
||||||
include openstack_integration::neutron
|
include openstack_integration::neutron
|
||||||
include openstack_integration::swift
|
include openstack_integration::swift
|
||||||
@ -87,6 +88,7 @@ class { 'openstack_integration::gnocchi':
|
|||||||
|
|
||||||
class { 'openstack_integration::tempest':
|
class { 'openstack_integration::tempest':
|
||||||
aodh => true,
|
aodh => true,
|
||||||
|
barbican => true,
|
||||||
ceilometer => true,
|
ceilometer => true,
|
||||||
cinder => true,
|
cinder => true,
|
||||||
cinder_backup => true,
|
cinder_backup => true,
|
||||||
|
@ -5,8 +5,13 @@
|
|||||||
# Can be 'file', 'swift', 'rbd' or 'cinder'.
|
# Can be 'file', 'swift', 'rbd' or 'cinder'.
|
||||||
# Defaults to 'file'.
|
# Defaults to 'file'.
|
||||||
#
|
#
|
||||||
|
# [*image_encryption*]
|
||||||
|
# (optional) Boolean to configure or not image encryption
|
||||||
|
# Defaults to false.
|
||||||
|
#
|
||||||
class openstack_integration::glance (
|
class openstack_integration::glance (
|
||||||
$backend = 'file',
|
$backend = 'file',
|
||||||
|
$image_encryption = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include openstack_integration::config
|
include openstack_integration::config
|
||||||
@ -122,4 +127,13 @@ class openstack_integration::glance (
|
|||||||
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $image_encryption {
|
||||||
|
class { 'glance::key_manager':
|
||||||
|
backend => 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager'
|
||||||
|
}
|
||||||
|
class { 'glance::key_manager::barbican':
|
||||||
|
barbican_endpoint => "${::openstack_integration::config::base_url}:9311",
|
||||||
|
auth_endpoint => "${::openstack_integration::config::keystone_auth_uri}/v3"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
# (optional) Define if Aodh needs to be tested.
|
# (optional) Define if Aodh needs to be tested.
|
||||||
# Default to false.
|
# Default to false.
|
||||||
#
|
#
|
||||||
|
# [*barbican*]
|
||||||
|
# (optional) Define if Barbican needs to be tested.
|
||||||
|
# Default to false.
|
||||||
|
#
|
||||||
# [*bgpvpn*]
|
# [*bgpvpn*]
|
||||||
# (optional) Define if BGPVPN needs to be tested.
|
# (optional) Define if BGPVPN needs to be tested.
|
||||||
# Default to false.
|
# Default to false.
|
||||||
@ -137,6 +141,7 @@
|
|||||||
#
|
#
|
||||||
class openstack_integration::tempest (
|
class openstack_integration::tempest (
|
||||||
$aodh = false,
|
$aodh = false,
|
||||||
|
$barbican = false,
|
||||||
$bgpvpn = false,
|
$bgpvpn = false,
|
||||||
$ceilometer = false,
|
$ceilometer = false,
|
||||||
$cinder = false,
|
$cinder = false,
|
||||||
@ -291,6 +296,7 @@ class openstack_integration::tempest (
|
|||||||
neutron_bgpvpn_available => $bgpvpn,
|
neutron_bgpvpn_available => $bgpvpn,
|
||||||
neutron_l2gw_available => $l2gw,
|
neutron_l2gw_available => $l2gw,
|
||||||
neutron_dr_available => $dr,
|
neutron_dr_available => $dr,
|
||||||
|
barbican_available => $barbican,
|
||||||
ceilometer_available => $ceilometer,
|
ceilometer_available => $ceilometer,
|
||||||
aodh_available => $aodh,
|
aodh_available => $aodh,
|
||||||
trove_available => $trove,
|
trove_available => $trove,
|
||||||
|
@ -319,6 +319,10 @@ echo "test_create_show_list_update_delete_l2gateway" >> /tmp/openstack/tempest/t
|
|||||||
# noop drivers.
|
# noop drivers.
|
||||||
echo "octavia_tempest_plugin.tests.scenario.*standalone_CRUD" >> /tmp/openstack/tempest/test-include-list.txt
|
echo "octavia_tempest_plugin.tests.scenario.*standalone_CRUD" >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
|
||||||
|
# Barbican
|
||||||
|
echo 'barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest' >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
echo 'barbican_tempest_plugin.tests.scenario.test_image_signing.ImageSigningTest.test_signed_image_upload_and_boot' >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
|
||||||
if uses_debs; then
|
if uses_debs; then
|
||||||
echo "mistral_tempest_tests.tests.api.v2.test_executions.ExecutionTestsV2.test_get_list_executions" > /tmp/openstack/tempest/test-exclude-list.txt
|
echo "mistral_tempest_tests.tests.api.v2.test_executions.ExecutionTestsV2.test_get_list_executions" > /tmp/openstack/tempest/test-exclude-list.txt
|
||||||
echo "telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration" >> /tmp/openstack/tempest/test-exclude-list.txt
|
echo "telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration" >> /tmp/openstack/tempest/test-exclude-list.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user