Enable Octavia in scenario004

This change enables Octavia in scenario004 integration job so that we
can validate deployment of Octavia by puppet-octavia.
Because of limited resource in CI, noop driver is used and all of
backend operations like amphora instance management are disabled. This
is the same method as is used in a CI job in Octavia itself.

Depends-on: https://review.opendev.org/828063
Change-Id: I627872dd81d5ca576ea33ecf4755bf8de43df76a
This commit is contained in:
Takashi Kajinami 2022-02-06 23:18:57 +09:00
parent 09f92d2aba
commit 8f2bc1aa61
9 changed files with 257 additions and 63 deletions

View File

@ -78,6 +78,7 @@ scenario](#all-in-one).
| bgp-dr | | | | | X | |
| redis | | X | | | | |
| l2gw | | | | | X | |
| octavia | | | | | X | |
| om rpc | amqp1 | amqp1 | rabbit | rabbit | rabbit | rabbit |
| om notify | rabbit | rabbit | rabbit | rabbit | rabbit | rabbit |

View File

@ -0,0 +1,56 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAwezNYr1hGnQnTs3EiFdU0swOMUCR+kpbzsxwn+J6YZdcuKcl
ZPPGjBBMjVWwo6crWKr/h+xe51l4nArLNDVg8ytS4+VQ9No/rXitlnAHbnV1fi9u
PU9Rh5lZvy9soTwXvwgywJ5ghMoFaMSYHPmVk7lnXYYAVd76QH+h66oFjMiA2NDp
H9v1+832GkWidHv27agJwtlJcZEX+H+Bxqt1kNqwFf8ZGpOP1qbjQ8jXmS3cY/M4
yUwtfhTv9zTxox0k8wWH5Qzs32ToqWTT8yVgwO9yc5WYJaoPWh9zGeiScAHmsDB6
7gAzyEKrPb3XHYJz6C5JTtT2Qkl2m84GSwGcSQIDAQABAoIBADdpGE6MWkCay9iC
hxOGEKCi2bNNBekEcjMmy0+EAP/9perFJ7Quy56d0aHYyD4auBH/2j/WVE+6ivHb
S7DBR9Bzop2nmng8HFHO15rSq+zt9wJ1PwSZs2wRb0lnnZx8dTSKfSX4mw+WQfFr
qyMsVYb+RQC+Fz5yFgNz9KpHzIorCPpWvEpXY+Zsq/fImDNmvcIwff7ONjU6VXe2
XNLqkLer7D9W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IsINkk8foSdPUBiZgcId4SwEbPivM786
Qfsn2Ic7utFFRAzYv34rJkylP8HwnbtzeSs98BwKu8ip3Pnq5Sy4oBDRkwTqj3me
E+fErcQghR+dLQ+L8usmVDUCO/ti6alQ35qXVSMtqtx9kfx16Rv+1Hy9M5HGJT2N
wFTq/sfCQoiRpSk9QwisAoVTvu/+gUSY4qL1Af2tO9lsJ7cd5juurjlnT52FaKQl
acd8LWc7EJuO0mcTGpux2YBrSnwbLgLqrVILBozIzum8ZXSuFaVEbjnL8Ky7y/WK
+8BXbm5JPQgoLUrHTJ+BwqbfKatWTl7E0mnmu/DPG1Y4/kkzylDbvGOjhF1L7Kp5
sjVmYUuaB4PKg2NCUpuKA/GfU1T7035rsHsx4AuWLSU2LOaZ6uXzW7IwTFHSyYsp
/8DfoVfStTnsnG1F5N3L6w7BhiC32hT5X80B0GJ50S2PIXXgMwqcuWKMZGvJdBjg
wLqbU1ew3dqFOSdKBPZFy06Fc+znWkW60JP/oT+NMzhG
-----END ENCRYPTED PRIVATE KEY-----

View File

@ -72,6 +72,7 @@ class { 'openstack_integration::ceph':
if $watcher_enabled {
include openstack_integration::watcher
}
include openstack_integration::octavia
include openstack_integration::provision
@ -83,4 +84,5 @@ class { 'openstack_integration::tempest':
l2gw => $l2gw_enabled,
l2gw_switch => 'cell08-5930-01::FortyGigE1/0/1|100',
dr => $bgp_dragent_enabled,
octavia => true,
}

View File

@ -68,6 +68,40 @@ class openstack_integration::octavia (
www_authenticate_uri => $::openstack_integration::config::keystone_auth_uri,
memcached_servers => $::openstack_integration::config::memcached_servers,
}
File { '/etc/octavia/certs':
ensure => directory,
owner => 'octavia',
group => 'octavia',
mode => '0700',
tag => 'octavia-certs',
}
[
'server_ca.cert.pem',
'server_ca.key.pem',
'client_ca.cert.pem',
'client.cert-and-key.pem'
].each |String $cert | {
File { "/etc/octavia/certs/${cert}":
ensure => present,
owner => 'octavia',
group => 'octavia',
mode => '0700',
source => "puppet:///modules/${module_name}/octavia-certs/${cert}",
tag => 'octavia-certs',
}
}
Anchor['octavia::config::begin'] -> File<| tag == 'octavia-certs' |> -> Anchor['octavia::config::end']
class { 'octavia::certificates':
ca_private_key_passphrase => 'not-secure-passphrase',
ca_certificate => '/etc/octavia/certs/server_ca.cert.pem',
ca_private_key => '/etc/octavia/certs/server_ca.key.pem',
client_ca => '/etc/octavia/certs/client_ca.cert.pem',
client_cert => '/etc/octavia/certs/client.cert-and-key.pem',
}
class { 'octavia::api':
enabled => true,
service_name => 'httpd',

View File

@ -76,6 +76,10 @@
# (optional) Define if Nova needs to be tested.
# Default to true.
#
# [*octavia*]
# (optional) Define if Octavia needs to be tested.
# Default to false.
#
# [*sahara*]
# (optional) Define if Sahara needs to be tested.
# Default to false.
@ -142,6 +146,7 @@ class openstack_integration::tempest (
$murano = false,
$neutron = true,
$nova = true,
$octavia = false,
$sahara = false,
$swift = false,
$trove = false,
@ -208,71 +213,77 @@ class openstack_integration::tempest (
}
class { 'tempest':
debug => true,
use_stderr => false,
log_file => 'tempest.log',
tempest_clone_owner => $::id,
git_clone => false,
tempest_clone_path => '/tmp/openstack/tempest',
lock_path => '/tmp/openstack/tempest',
tempest_config_file => '/tmp/openstack/tempest/etc/tempest.conf',
configure_images => $configure_images,
configure_networks => $configure_networks,
identity_uri_v3 => "${::openstack_integration::config::keystone_auth_uri}/v3",
admin_username => 'admin',
admin_project_name => 'openstack',
admin_password => 'a_big_secret',
admin_domain_name => 'Default',
auth_version => 'v3',
tempest_roles => ['member', 'creator'], # needed to use barbican.
image_name => 'cirros',
image_name_alt => 'cirros_alt',
cinder_available => $cinder,
cinder_backup_available => $cinder_backup,
designate_available => $designate,
glance_available => $glance,
horizon_available => $horizon,
nova_available => $nova,
neutron_available => $neutron,
neutron_bgpvpn_available => $bgpvpn,
neutron_l2gw_available => $l2gw,
neutron_dr_available => $dr,
ceilometer_available => $ceilometer,
aodh_available => $aodh,
trove_available => $trove,
sahara_available => $sahara,
heat_available => $heat,
swift_available => $swift,
ironic_available => $ironic,
zaqar_available => $zaqar,
mistral_available => $mistral,
vitrage_available => $vitrage,
gnocchi_available => $gnocchi,
ec2api_available => $ec2api,
watcher_available => $watcher,
public_network_name => 'public',
neutron_api_extensions => join(any2array($neutron_api_extensions), ','),
dashboard_url => $::openstack_integration::config::base_url,
flavor_ref => '42',
flavor_ref_alt => '84',
db_flavor_ref => '42',
image_ssh_user => 'cirros',
image_alt_ssh_user => 'cirros',
debug => true,
use_stderr => false,
log_file => 'tempest.log',
tempest_clone_owner => $::id,
git_clone => false,
tempest_clone_path => '/tmp/openstack/tempest',
lock_path => '/tmp/openstack/tempest',
tempest_config_file => '/tmp/openstack/tempest/etc/tempest.conf',
configure_images => $configure_images,
configure_networks => $configure_networks,
identity_uri_v3 => "${::openstack_integration::config::keystone_auth_uri}/v3",
admin_username => 'admin',
admin_project_name => 'openstack',
admin_password => 'a_big_secret',
admin_domain_name => 'Default',
auth_version => 'v3',
tempest_roles => ['member', 'creator'], # needed to use barbican.
image_name => 'cirros',
image_name_alt => 'cirros_alt',
cinder_available => $cinder,
cinder_backup_available => $cinder_backup,
designate_available => $designate,
glance_available => $glance,
horizon_available => $horizon,
nova_available => $nova,
octavia_available => $octavia,
neutron_available => $neutron,
neutron_bgpvpn_available => $bgpvpn,
neutron_l2gw_available => $l2gw,
neutron_dr_available => $dr,
ceilometer_available => $ceilometer,
aodh_available => $aodh,
trove_available => $trove,
sahara_available => $sahara,
heat_available => $heat,
swift_available => $swift,
ironic_available => $ironic,
zaqar_available => $zaqar,
mistral_available => $mistral,
vitrage_available => $vitrage,
gnocchi_available => $gnocchi,
ec2api_available => $ec2api,
watcher_available => $watcher,
public_network_name => 'public',
neutron_api_extensions => join(any2array($neutron_api_extensions), ','),
dashboard_url => $::openstack_integration::config::base_url,
flavor_ref => '42',
flavor_ref_alt => '84',
db_flavor_ref => '42',
image_ssh_user => 'cirros',
image_alt_ssh_user => 'cirros',
# TODO(emilien) optimization by 1/ using Hiera to configure Glance image source
# and 2/ if running in the gate, use /home/jenkins/cache/files/ cirros image.
img_file => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img',
compute_build_interval => 10,
ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path,
manage_tests_packages => true,
attach_encrypted_volume => $attach_encrypted_volume,
murano_available => $murano,
tempest_workspace => '/tmp/openstack/tempest',
run_ssh => true,
l2gw_switch => $l2gw_switch,
disable_dashboard_ssl_validation => true,
baremetal_driver => 'fake-hardware',
baremetal_enabled_hardware_types => 'ipmi,fake-hardware',
ec2api_tester_roles => ['member'],
img_file => '/tmp/openstack/image/cirros-0.5.1-x86_64-disk.img',
compute_build_interval => 10,
ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path,
manage_tests_packages => true,
attach_encrypted_volume => $attach_encrypted_volume,
murano_available => $murano,
tempest_workspace => '/tmp/openstack/tempest',
run_ssh => true,
l2gw_switch => $l2gw_switch,
disable_dashboard_ssl_validation => true,
baremetal_driver => 'fake-hardware',
baremetal_enabled_hardware_types => 'ipmi,fake-hardware',
ec2api_tester_roles => ['member'],
load_balancer_member_role => 'member',
load_balancer_admin_role => 'admin',
load_balancer_observer_role => 'member',
load_balancer_global_observer_role => 'admin',
load_balancer_test_with_noop => true,
}
if $magnum {

View File

@ -324,6 +324,11 @@ echo "test_create_bgpvpn" >> /tmp/openstack/tempest/test-include-list.txt
# L2GW
echo "test_create_show_list_update_delete_l2gateway" >> /tmp/openstack/tempest/test-include-list.txt
# Octavia
# We have to enable additional tests because no smoke tests will be run with
# noop drivers.
echo "octavia_tempest_plugin.tests.scenario.*standalone_CRUD" >> /tmp/openstack/tempest/test-include-list.txt
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 "tempest.*.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario" >> /tmp/openstack/tempest/test-exclude-list.txt