chef/cookbooks/tempest/templates/default/tempest.conf.erb
[DEFAULT]
<% img_id = `cat #{@machine_id_file}`.strip %>
<% alt_img_id = `cat #{@alt_machine_id_file}`.strip %>
[alarming]
endpoint_type = internalURL
[alarming_plugin]
endpoint_type = internalURL
[auth]
admin_username = <%= @keystone_settings['admin_user'] %>
admin_project_name = <%= @keystone_settings['default_tenant'] %>
admin_password = <%= @keystone_settings['admin_password'] %>
admin_domain_name = Default
tempest_roles = <%= @tempest_roles %>
<%- if @enabled_services.include? "baremetal" %>
create_isolated_networks = False
<%- end %>
[aws]
ec2_url = <%= @ec2_protocol %>://<%= @ec2_host %>:<%= @ec2_port %>/
s3_url = http://<%= @s3_host %>:<%= @s3_port %>/
aws_secret = <%= @ec2_secret %>
aws_access = <%= @ec2_access %>
[baremetal]
endpoint_type = public
max_microversion = latest
driver = fake-hardware
unprovision_timeout = 600
[compute]
image_ref = <%= img_id %>
image_ref_alt = <%= alt_img_id %>
<%- if @enabled_services.include? "baremetal" %>
flavor_ref = <%= @ironic_flavor_ref %>
<%- else %>
flavor_ref = <%= @flavor_ref %>
<%- end %>
flavor_ref_alt = <%= @alt_flavor_ref %>
<%- if @enabled_services.include? "baremetal" %>
fixed_network_name = ironic
<%- else %>
fixed_network_name = fixed
<%- end %>
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
min_compute_nodes = <%= @use_livemigration ? 2 : 1 %>
max_microversion = latest
build_timeout = 600
[compute-feature-enabled]
resize = <%= @use_resize %>
suspend = <%= @use_suspend %>
live_migration = <%= @use_livemigration %>
block_migration_for_live_migration = <%= not @use_rbd_ephemeral %>
vnc_console = <%= @use_vnc %>
rescue = <%= @use_rescue %>
personality = True
volume_multiattach = <%= @use_multiattach %>
swap_volume = <%= @storage_protocol != 'ceph' ? 'true' : 'false' %>
attach_encrypted_volume = <%= @use_attach_encrypted_volume %>
api_extensions = all
[dashboard]
dashboard_url = <%= @horizon_protocol %>://<%= @horizon_host %>/
login_url = <%= @horizon_protocol %>://<%= @horizon_host %>/auth/login/
[data-processing]
endpoint_type = internalURL
[heat_plugin]
disable_ssl_certificate_validation = <%= @ssl_insecure ? 'true' : 'false' %>
username = <%= @comp_user %>
password = <%= @comp_pass %>
admin_username = <%= @keystone_settings['admin_user'] %>
admin_password = <%= @keystone_settings['admin_password'] %>
tenant_name = <%= @comp_tenant %>
admin_tenant_name = <%= @keystone_settings['default_tenant'] %>
auth_url = <%= @keystone_settings['internal_auth_url'].chomp('/') %>
user_domain_name = Default
project_domain_name = Default
region = <%= @keystone_settings['endpoint_region'] %>
instance_type = <%= @heat_flavor_ref %>
minimal_instance_type = tempest-stuff
<% unless @heat_settings['image_ref'].empty? -%>
image_ref = <%= @heat_settings['image_ref'] %>
<% end -%>
minimal_image_ref = <%= `cat #{@machine_id_file}`.strip %>
build_timeout = 2000
fixed_network_name = fixed
floating_network_name = floating
# TODO
skip_scenario_tests = True
skip_functional_tests = True
[identity]
disable_ssl_certificate_validation = <%= @ssl_insecure ? 'true' : 'false' %>
uri = <%= @keystone_settings["protocol"] %>://<%= @keystone_settings["internal_url_host"] %>:<%= @keystone_settings["service_port"] %>/v2.0
uri_v3 = <%= @keystone_settings["protocol"] %>://<%= @keystone_settings["internal_url_host"] %>:<%= @keystone_settings["service_port"] %>/v3
auth_version = <%= "v#{@keystone_settings['api_version'].to_i}" %>
region = <%= @keystone_settings['endpoint_region'] %>
v2_public_endpoint_type = internalURL
v3_endpoint_type = internalURL
username = <%= @comp_user %>
tenant_name = <%= @comp_tenant %>
password = <%= @comp_pass %>
domain_name = Default
[identity-feature-enabled]
domain_specific_drivers = <%= node[:keystone][:domain_specific_drivers] ? "True" : "False" %>
# Not enabled in keystone
security_compliance = False
application_credentials = True
project_tags = True
api_v2_admin = False
api_v2 = False
[image]
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
http_image = <%= @http_image %>
[image-feature-enabled]
api_v1 = false
[magnum]
image_id = <%= @magnum_settings['image_id'] %>
nic_id = floating
flavor_id = <%= @magnum_settings['flavor_id'] %>
master_flavor_id = <%= @magnum_settings['master_flavor_id'] %>
dns_nameserver = <%= @dns_server_node_ip %>
[monitoring]
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
[network]
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
public_network_id = <%= @public_network_id %>
floating_network_name = floating
[network-feature-enabled]
api_extensions = <%= @neutron_api_extensions %>
port_security = True
port_admin_state_change = true
[object-storage]
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
<% if @use_swift -%>
cluster_name = <%= @swift_cluster_name %>
<% end -%>
[object-storage-feature-enabled]
object_versioning = <%= @object_versioning ? 'true' : 'false' %>
discoverable_apis = all
[orchestration]
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
<% if @heat_trusts_delegated_roles -%>
stack_owner_role = <%= @heat_trusts_delegated_roles[0] %>
<% end -%>
build_timeout = 2000
instance_type = <%= @heat_flavor_ref %>
[oslo_concurrency]
lock_path = /run/tempest
[scenario]
img_dir = <%= @tempest_path %>/etc/cirros/
img_file = cirros-<%= @cirros_version %>-<%= @cirros_arch %>-disk.img
ami_img_file = cirros-<%= @cirros_version %>-<%= @cirros_arch %>-blank.img
ari_img_file = cirros-<%= @cirros_version %>-<%= @cirros_arch %>-initrd
aki_img_file = cirros-<%= @cirros_version %>-<%= @cirros_arch %>-vmlinuz
[service_available]
neutron = true
swift = <%= @use_swift %>
heat = <%= @enabled_services.include? "orchestration" %>
heat_plugin = <%= @enabled_services.include? "orchestration" %>
ceilometer = <%= @enabled_services.include? "metering" %>
horizon = <%= @use_horizon %>
sahara = <%= @enabled_services.include? "data-processing" %>
trove = <%= @enabled_services.include? "database" %>
manila = <%= @enabled_services.include? "sharev2" %>
magnum = <%= @enabled_services.include? "container-infra" %>
ironic = <%= @enabled_services.include? "baremetal" %>
ironic_inspector = false
designate = <%= @enabled_services.include? "dns" %>
logs = <%= @enabled_services.include? "logs_v2" %>
logs-search = <%= @enabled_services.include? "logs-search" %>
monasca = <%= @enabled_services.include? "monitoring" %>
load_balancer = <%= @enabled_services.include? "load-balancer" %>
[share]
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
multitenancy_enabled = False
enable_protocols = <%= @manila_settings['enable_protocols'] %>
capability_storage_protocol = <%= @manila_settings['capability_storage_protocol'] %>
enable_ip_rules_for_protocols = <%= @manila_settings['enable_ip_rules_for_protocols'] %>
enable_cert_rules_for_protocols = <%= @manila_settings['enable_cert_rules_for_protocols'] %>
suppress_errors_in_cleanup = true
run_snapshot_tests = <%= @manila_settings['run_snapshot_tests'] %>
run_share_group_tests = <%= @manila_settings['run_share_group_tests'] %>
image_with_share_tools = <%= @manila_settings['image_with_share_tools'] %>
image_username = <%= @manila_settings['image_username'] %>
image_password = <%= @manila_settings['image_password'] %>
default_share_type_name = <%= @manila_settings['default_share_type_name'] %>
max_microversion = latest
[telemetry]
endpoint_type = internalURL
too_slow_to_test = false
[telemetry-feature-enabled]
events = true
[validation]
connect_method = floating
ip_version_for_ssh = 4
<% if @validation_connect_timeout -%>
connect_timeout = <%= @validation_connect_timeout %>
<% end -%>
<% if @validation_ssh_timeout -%>
ssh_timeout = <%= @validation_ssh_timeout %>
<% end -%>
image_ssh_user = cirros
image_ssh_password = cubswin:)
network_for_ssh = fixed
[volume]
region = <%= @keystone_settings['endpoint_region'] %>
endpoint_type = internalURL
<% if @cinder_multi_backend -%>
backend1_name = <%= @cinder_backend1_name %>
<% end -%>
<% if @cinder_multi_backend -%>
backend2_name = <%= @cinder_backend2_name %>
<% end -%>
storage_protocol = <%= @storage_protocol %>
<% if @storage_protocol == 'ceph' %>
manage_snapshot_ref = source-name,snapshot-%s
<% end %>
vendor_name = <%= @vendor_name %>
max_microversion = latest
[volume-feature-enabled]
multi_backend = <%= @cinder_multi_backend ? 'true' : 'false' %>
backup = false
extend_attached_volume = <%= @storage_protocol != 'ceph' ? 'true' : 'false' %>
manage_volume = True
manage_snapshot = True
api_v3 = True
snapshot = <%= @cinder_snapshot %>
api_extensions = all
[image_signature_verification]
enforced = false
<% if @neutron_lbaasv2_driver == "octavia" -%>
[lbaas]
test_with_noop = true
<% end -%>
[load_balancer]
test_with_ipv6 = false
RBAC_test_type = <%= @octavia_rbac_test_type %>