Merge "Do not store unnecessary sections in tempest.conf"

This commit is contained in:
Zuul 2022-04-27 14:47:40 +00:00 committed by Gerrit Code Review
commit 1907e17a16
1 changed files with 88 additions and 78 deletions

View File

@ -6,7 +6,6 @@ use_stderr = False
debug = {{ debug }} debug = {{ debug }}
log_file = {{ tempest_log_dir}}/tempest.log log_file = {{ tempest_log_dir}}/tempest.log
[auth] [auth]
{% if tempest_test_accounts | length > 0 %} {% if tempest_test_accounts | length > 0 %}
use_dynamic_credentials = False use_dynamic_credentials = False
@ -20,83 +19,26 @@ admin_password = {{ keystone_auth_admin_password }}
create_isolated_networks = {{ tempest_create_isolated_networks }} create_isolated_networks = {{ tempest_create_isolated_networks }}
{% endif %} {% endif %}
[baremetal]
endpoint_type = {{ tempest_endpoint_type }}
[compute]
image_ref = {{ tempest_glance_image_id_1 }}
image_ref_alt = {{ tempest_glance_image_id_2 }}
flavor_ref = {{ tempest_nova_flavor_id_1 }}
flavor_ref_alt = {{ tempest_nova_flavor_id_2 }}
{% if not tempest_create_isolated_networks | bool %}
fixed_network_name = {{ tempest_fixed_network_name }}
{% endif %}
endpoint_type = {{ tempest_endpoint_type }}
build_timeout = 600
[data_processing]
endpoint_type = {{ tempest_endpoint_type }}
[debug] [debug]
[validation]
[identity] run_validation = {{ tempest_compute_run_ssh }}
disable_ssl_certificate_validation = {{ tempest_keystone_interface_insecure | bool }} image_ssh_user = {{ tempest_compute_image_ssh_user }}
uri = {{ keystone_service_internaluri }}/v2.0 ping_timeout = 240
uri_v3 = {{ keystone_service_internalurl }} connect_timeout = 120
v2_admin_endpoint_type = {{ tempest_endpoint_type }} ssh_timeout = 600
v2_public_endpoint_type = {{ tempest_endpoint_type }}
v3_endpoint_type = {{ tempest_endpoint_type }}
[image]
endpoint_type = {{ tempest_endpoint_type }}
http_image = {{ tempest_images[0]['url'] }}
build_timeout = 600
[input-scenario]
[messaging]
[negative]
[network]
endpoint_type = {{ tempest_endpoint_type }}
public_network_id = {{ tempest_neutron_public_network_id }}
floating_network_name = {{ tempest_public_net_name }}
build_timeout = 600
[object-storage]
endpoint_type = {{ tempest_endpoint_type }}
operator_role = swiftoperator
[heat_plugin]
endpoint_type = {{ tempest_endpoint_type }}
instance_type = tempest1
[oslo_concurrency] [oslo_concurrency]
lock_path = {{ tempest_venv_bin | dirname }}/locks lock_path = {{ tempest_venv_bin | dirname }}/locks
[scenario] [scenario]
img_file = {{ tempest_image_dir }}/{{ tempest_images[0]['url'] | basename }} img_file = {{ tempest_image_dir }}/{{ tempest_images[0]['url'] | basename }}
img_container_format = bare img_container_format = bare
img_disk_format = {{ tempest_images[0]['format'] }} img_disk_format = {{ tempest_images[0]['format'] }}
[service-clients] [service-clients]
http_timeout = 120 http_timeout = 120
[service_available] [service_available]
cinder = {{ tempest_service_available_cinder }} cinder = {{ tempest_service_available_cinder }}
neutron = {{ tempest_service_available_neutron }} neutron = {{ tempest_service_available_neutron }}
@ -117,24 +59,92 @@ panko = {{ tempest_service_available_panko }}
trove = {{ tempest_service_available_trove }} trove = {{ tempest_service_available_trove }}
zun = {{ tempest_service_available_zun }} zun = {{ tempest_service_available_zun }}
[telemetry] [identity]
disable_ssl_certificate_validation = {{ tempest_keystone_interface_insecure | bool }}
uri = {{ keystone_service_internaluri }}/v2.0
uri_v3 = {{ keystone_service_internalurl }}
v2_admin_endpoint_type = {{ tempest_endpoint_type }}
v2_public_endpoint_type = {{ tempest_endpoint_type }}
v3_endpoint_type = {{ tempest_endpoint_type }}
{% if tempest_service_available_nova | bool %}
[compute]
image_ref = {{ tempest_glance_image_id_1 }}
image_ref_alt = {{ tempest_glance_image_id_2 }}
flavor_ref = {{ tempest_nova_flavor_id_1 }}
flavor_ref_alt = {{ tempest_nova_flavor_id_2 }}
{% if not tempest_create_isolated_networks | bool %}
fixed_network_name = {{ tempest_fixed_network_name }}
{% endif %}
endpoint_type = {{ tempest_endpoint_type }} endpoint_type = {{ tempest_endpoint_type }}
build_timeout = 600
[dashboard] {% endif %}
dashboard_url = {{ tempest_dashboard_url }}
[alarming]
endpoint_type = {{ tempest_endpoint_type }}
[validation]
run_validation = {{ tempest_compute_run_ssh }}
image_ssh_user = {{ tempest_compute_image_ssh_user }}
ping_timeout = 240
connect_timeout = 120
ssh_timeout = 600
{% if tempest_service_available_cinder | bool %}
[volume] [volume]
endpoint_type = {{ tempest_endpoint_type }} endpoint_type = {{ tempest_endpoint_type }}
catalog_type = volumev3 catalog_type = volumev3
build_timeout = 600 build_timeout = 600
{% endif %}
{% if tempest_service_available_glance | bool %}
[image]
endpoint_type = {{ tempest_endpoint_type }}
http_image = {{ tempest_images[0]['url'] }}
build_timeout = 600
{% endif %}
{% if tempest_service_available_neutron | bool %}
[network]
endpoint_type = {{ tempest_endpoint_type }}
public_network_id = {{ tempest_neutron_public_network_id }}
floating_network_name = {{ tempest_public_net_name }}
build_timeout = 600
{% endif %}
{% if tempest_service_available_ironic | bool %}
[baremetal]
endpoint_type = {{ tempest_endpoint_type }}
{% endif %}
{% if tempest_service_available_sahara | bool %}
[data_processing]
endpoint_type = {{ tempest_endpoint_type }}
{% endif %}
{% if tempest_service_available_ceilometer | bool %}
[telemetry]
endpoint_type = {{ tempest_endpoint_type }}
{% endif %}
{% if tempest_service_available_horizon | bool %}
[dashboard]
dashboard_url = {{ tempest_dashboard_url }}
{% endif %}
{% if tempest_service_available_aodh | bool %}
[alarming]
endpoint_type = {{ tempest_endpoint_type }}
{% endif %}
{% if tempest_service_available_swift | bool %}
[object-storage]
endpoint_type = {{ tempest_endpoint_type }}
operator_role = swiftoperator
{% endif %}
{% if tempest_service_available_heat | bool %}
[heat_plugin]
endpoint_type = {{ tempest_endpoint_type }}
instance_type = tempest1
{% endif %}