openstack-ansible-os_tempest/templates/tempest.conf.j2
Matthew Thode dde032531f
update for changes needed to pass refstack
Without the image_ref_alt and subnet_allocation fix we pass 98.7%
https://refstack.openstack.org/#/results/218a2d45-e0c7-461a-957e-e5ca4c1271ad

With the following commit we pass 100%
https://refstack.openstack.org/#/results/2d2e8eaa-4cf5-4494-a418-97dbb1fee74a

A second image (image_ref_alt) needs to be uploaded for tests run by
tempest.  subnet_allocation also needs to be added to the list of
plugins in neutron's api_extensions within network-feature-enabled.

This gets us passing refstack in pike (not yet tested for queens or
rocky).

Change-Id: Ia31a8a9c5bac5b3bdbeded25ad9a9f3db2e62007
2018-03-06 13:09:10 -06:00

170 lines
4.2 KiB
Django/Jinja

# {{ ansible_managed }}
[DEFAULT]
# Disable stderr logging
use_stderr = False
debug = {{ debug }}
fatal_deprecations = {{ tempest_fatal_deprecations }}
log_file = {{ tempest_log_dir}}/tempest.log
[auth]
use_dynamic_credentials = True
default_credentials_domain_name = Default
admin_domain_name = Default
admin_username = {{ keystone_admin_user_name }}
admin_project_name = {{ keystone_admin_tenant_name }}
admin_password = {{ keystone_auth_admin_password }}
[baremetal]
endpoint_type = internalURL
[compute]
image_ref = {{ tempest_glance_image_id_1 }}
image_ref_alt = {{ tempest_glance_image_id_2 }}
flavor_ref = 201
flavor_ref_alt = 202
fixed_network_name = private
endpoint_type = internalURL
[compute-feature-enabled]
change_password = {{ tempest_compute_change_password }}
console_output = {{ tempest_compute_console_output_enabled }}
resize = {{ tempest_compute_resize_enabled }}
pause = false
shelve = false
suspend = false
live_migration = false
block_migration_for_live_migration = false
block_migrate_cinder_iscsi = false
spice_console = true
rescue = false
enable_instance_password = {{ tempest_enable_instance_password }}
interface_attach = false
snapshot = {{ tempest_compute_resize_enabled }}
[data_processing]
endpoint_type = internalURL
[debug]
[identity]
disable_ssl_certificate_validation = {{ keystone_service_internaluri_insecure | bool }}
uri = {{ keystone_service_internaluri }}/v2.0
uri_v3 = {{ keystone_service_internalurl }}
auth_version = v3
v2_admin_endpoint_type = adminURL
v2_public_endpoint_type = internalURL
v3_endpoint_type = adminURL
admin_role = admin
[identity-feature-enabled]
trust = false
[image]
endpoint_type = internalURL
http_image = {{ tempest_images[0]['url'] }}
[image-feature-enabled]
api_v1 = {{ tempest_image_api_v1_enabled }}
api_v2 = {{ tempest_image_api_v2_enabled }}
[input-scenario]
[messaging]
[negative]
[network]
endpoint_type = internalURL
project_network_cidr = {{ tempest_network_tenant_network_cidr }}
project_network_mask_bits = {{ tempest_network_tenant_network_mask_bits }}
project_networks_reachable = false
public_network_id = {{ tempest_neutron_public_network_id }}
floating_network_name = public
[network-feature-enabled]
ipv6 = false
api_extensions = agent,allowed-address-pairs,binding,dhcp_agent_scheduler,ext-gw-mode,external-net,extra_dhcp_opt,extra_dhcp_optagent,extraroute,l3_agent_scheduler,metering,provider,quotas,router,security-group,service-type,subnet_allocation
[object-storage]
endpoint_type = internalURL
operator_role = swiftoperator
reseller_admin_role = ResellerAdmin
[object-storage-feature-enabled]
container_sync = {{ tempest_swift_container_sync }}
object_versioning = {{ tempest_swift_object_versioning }}
discoverable_apis = {{ tempest_swift_discoverable_apis | join(',') }}
[orchestration]
endpoint_type = internalURL
instance_type = tempest1
[oslo_concurrency]
lock_path = {{ tempest_venv_bin | dirname }}/locks
[scenario]
img_dir = {{ tempest_image_dir }}
img_file = {{ tempest_images[0]['url'] | basename }}
img_container_format = bare
img_disk_format = {{ tempest_images[0]['format'] }}
[service_available]
cinder = {{ tempest_service_available_cinder }}
neutron = {{ tempest_service_available_neutron }}
glance = {{ tempest_service_available_glance }}
swift = {{ tempest_service_available_swift }}
nova = {{ tempest_service_available_nova }}
heat = {{ tempest_service_available_heat }}
ceilometer = {{ tempest_service_available_ceilometer }}
ironic = {{ tempest_service_available_ironic }}
horizon = {{ tempest_service_available_horizon }}
aodh = {{ tempest_service_available_aodh }}
sahara = {{ tempest_service_available_sahara }}
zaqar = {{ tempest_service_available_zaqar }}
[telemetry]
endpoint_type = internalURL
[dashboard]
dashboard_url = {{ tempest_dashboard_url }}
[alarming]
endpoint_type = internalURL
[validation]
run_validation = {{ tempest_compute_run_ssh }}
auth_method = keypair
image_ssh_user = {{ tempest_compute_image_ssh_user }}
floating_ip_range = 10.0.0.0/29
[volume]
endpoint_type = internalURL
# NOTE: These backends are only tested when multi_backend is enabled
backend_names = {{ tempest_volume_backend_names | join(',') }}
[volume-feature-enabled]
backup = {{ tempest_volume_backup_enabled }}
multi_backend = {{ tempest_volume_multi_backend_enabled }}