Enable heat-tempest-plugin tests
... to ensure basic heat functionality. Depends-on: https://review.opendev.org/846018 Change-Id: I8294f1bdc21f82947c1d9533184de1a0be569fb4
This commit is contained in:
parent
839105efe9
commit
f7263a778e
@ -105,7 +105,9 @@ class { 'openstack_integration::tempest':
|
|||||||
sahara => $sahara_integration_enable,
|
sahara => $sahara_integration_enable,
|
||||||
horizon => true,
|
horizon => true,
|
||||||
murano => $murano_enabled,
|
murano => $murano_enabled,
|
||||||
heat => true,
|
# NOTE(tkajinam): The scenario job we enable requires cinder, which is not
|
||||||
|
# enabled in this scenario.
|
||||||
|
heat => false,
|
||||||
# NOTE(tobias-urdin): We have tempest disabled because we cannot
|
# NOTE(tobias-urdin): We have tempest disabled because we cannot
|
||||||
# run it when instances does not have internet acces to
|
# run it when instances does not have internet acces to
|
||||||
# deploy for example Docker.
|
# deploy for example Docker.
|
||||||
|
@ -98,15 +98,30 @@ class openstack_integration::keystone (
|
|||||||
public_url => $::openstack_integration::config::keystone_auth_uri,
|
public_url => $::openstack_integration::config::keystone_auth_uri,
|
||||||
admin_url => $::openstack_integration::config::keystone_admin_uri,
|
admin_url => $::openstack_integration::config::keystone_admin_uri,
|
||||||
}
|
}
|
||||||
|
|
||||||
keystone_tenant { 'openstack':
|
keystone_tenant { 'openstack':
|
||||||
ensure => 'present',
|
ensure => present,
|
||||||
enabled => true,
|
enabled => true,
|
||||||
}
|
}
|
||||||
keystone_user_role { "${::keystone::bootstrap::username}@openstack":
|
keystone_user_role { "${::keystone::bootstrap::username}@openstack":
|
||||||
ensure => 'present',
|
ensure => present,
|
||||||
roles => [$::keystone::bootstrap::role_name],
|
roles => [$::keystone::bootstrap::role_name],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
keystone_user { 'demo':
|
||||||
|
ensure => present,
|
||||||
|
enabled => true,
|
||||||
|
password => 'secrete'
|
||||||
|
}
|
||||||
|
keystone_tenant { 'demo':
|
||||||
|
ensure => present,
|
||||||
|
enabled => true,
|
||||||
|
}
|
||||||
|
keystone_user_role { 'demo@demo':
|
||||||
|
ensure => 'present',
|
||||||
|
roles => ['member'],
|
||||||
|
}
|
||||||
|
|
||||||
class { 'openstack_extras::auth_file':
|
class { 'openstack_extras::auth_file':
|
||||||
password => 'a_big_secret',
|
password => 'a_big_secret',
|
||||||
project_domain_name => 'Default',
|
project_domain_name => 'Default',
|
||||||
|
@ -282,6 +282,11 @@ class openstack_integration::tempest (
|
|||||||
admin_project_name => 'openstack',
|
admin_project_name => 'openstack',
|
||||||
admin_password => 'a_big_secret',
|
admin_password => 'a_big_secret',
|
||||||
admin_domain_name => 'Default',
|
admin_domain_name => 'Default',
|
||||||
|
username => 'demo',
|
||||||
|
password => 'secrete',
|
||||||
|
project_name => 'demo',
|
||||||
|
user_domain_name => 'Default',
|
||||||
|
project_domain_name => 'Default',
|
||||||
auth_version => 'v3',
|
auth_version => 'v3',
|
||||||
tempest_roles => ['member', 'creator'], # needed to use barbican.
|
tempest_roles => ['member', 'creator'], # needed to use barbican.
|
||||||
image_name => 'cirros',
|
image_name => 'cirros',
|
||||||
@ -337,9 +342,11 @@ class openstack_integration::tempest (
|
|||||||
ssh_key_type => 'ecdsa',
|
ssh_key_type => 'ecdsa',
|
||||||
l2gw_switch => $l2gw_switch,
|
l2gw_switch => $l2gw_switch,
|
||||||
disable_dashboard_ssl_validation => true,
|
disable_dashboard_ssl_validation => true,
|
||||||
|
ec2api_tester_roles => ['member'],
|
||||||
|
heat_image_name => 'cirros',
|
||||||
|
heat_flavor_ref => '84',
|
||||||
baremetal_driver => 'fake-hardware',
|
baremetal_driver => 'fake-hardware',
|
||||||
baremetal_enabled_hardware_types => 'ipmi,fake-hardware',
|
baremetal_enabled_hardware_types => 'ipmi,fake-hardware',
|
||||||
ec2api_tester_roles => ['member'],
|
|
||||||
load_balancer_member_role => 'member',
|
load_balancer_member_role => 'member',
|
||||||
load_balancer_admin_role => 'admin',
|
load_balancer_admin_role => 'admin',
|
||||||
load_balancer_observer_role => 'member',
|
load_balancer_observer_role => 'member',
|
||||||
|
@ -317,6 +317,9 @@ echo "test_create_bgpvpn" >> /tmp/openstack/tempest/test-include-list.txt
|
|||||||
# L2GW
|
# L2GW
|
||||||
echo "test_create_show_list_update_delete_l2gateway" >> /tmp/openstack/tempest/test-include-list.txt
|
echo "test_create_show_list_update_delete_l2gateway" >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
|
||||||
|
# Heat
|
||||||
|
echo "heat_tempest_plugin.tests.scenario.test_base_resources" >> /tmp/openstack/tempest/test-include-list.txt
|
||||||
|
|
||||||
# Octavia
|
# Octavia
|
||||||
# We have to enable additional tests because no smoke tests will be run with
|
# We have to enable additional tests because no smoke tests will be run with
|
||||||
# noop drivers.
|
# noop drivers.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user