Switch minimal featureset to os_tempest for train+

Depends-On: https://review.opendev.org/#/c/728015/
Change-Id: I6c279f3c94dfd8050c9d9af37fcb77352a664b9b
This commit is contained in:
yatinkarel 2020-05-05 14:14:50 +05:30 committed by yatin
parent b1307aaf1f
commit ca14a9bc05
1 changed files with 55 additions and 1 deletions

View File

@ -144,7 +144,61 @@ undercloud_enable_tempest: >-
false
{%- endif -%}
# Settings for os_tempest
run_tempest: >-
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
false
{%- else -%}
true
{%- endif -%}
use_os_tempest: >-
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
true
{%- else -%}
false
{%- endif -%}
# It will create a public network name 'public' using os_tempest
tempest_interface_name: public
# In order to have a public network with external connectivity, we need to use
# flat network type
tempest_public_net_provider_type: flat
# It is the physical network name through which public network will be created
# having connectivity with external world.
tempest_public_net_physical_name: datacentre
# Setting the tempest_cidr as it is required while creating public subnet from which
# floating IPs gets assigned
tempest_cidr: '192.168.24.0/24'
# In order to create a private network, fs01 is based on OVN, geneve should be used
# as private network type
tempest_private_net_provider_type: geneve
tempest_private_net_seg_id: ''
tempest_install_method: distro
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
# router to find out network related issue in the deployment early
tempest_network_ping_gateway: true
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
tempest_tempestconf_profile:
debug: true
create: true
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
os-cloud: "{{ tempest_cloud_name }}"
out: "{{ tempest_workspace }}/etc/tempest.conf"
network-id: "{{ tempest_neutron_public_network_id }}"
overrides: "{{ tempest_tempest_conf_overrides | default({}) }}"
# looking for a small set of tempest tests to validate
# tempest config and execution are working
run_tempest: true
test_white_regex: 'tempest.api.compute.admin'
tempest_test_whitelist:
- 'tempest.api.compute.admin'