Port fs021 to os_tempest

https://tree.taiga.io/project/tripleo-ci-board/task/1331

Change-Id: Ibf23f40ad65a1b5d1b106dd623b405a2200298c0
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah) 2019-10-17 12:20:58 +05:30
parent c673a295f9
commit 1cb5f37b6a
1 changed files with 67 additions and 2 deletions

View File

@ -145,8 +145,6 @@ skip_list_tests: "{{ lookup('file', skip_test_file) | from_yaml }}"
# and return a list
tempest_whitelist: "{{ skip_list_tests.known_failures | json_query('[?undercloud != `true`].test') }}"
run_tempest: true
# Need to set test_white_regex to empty, otherwise it gets the default value that is '(smoke)'
test_white_regex: ''
test_black_regex:
@ -177,5 +175,72 @@ skip_file_src: ''
# For full tempest run we need to make sure concurrency is not too high
tempest_workers: 3
# Settings specific to os_tempest
# 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: '10.0.0.0/24'
# In order to create a private network, fs020 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('omit') }}"
# Run skiplist as whitelist
tempest_test_whitelist: "{{ tempest_whitelist }}"
# Keeping the blacklist list empty
tempest_test_blacklist: ""
# Set tempest concurrency
tempest_run_concurrency: 3
# List of tempest plugins to install
tempest_services:
- cinder
- neutron
# Install the latest unlreleased packages from CentOS
enable_centos_cr_repo: true