Ansible based project for setting up TripleO virtual environments
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

216 lines
6.6 KiB

# Summary of the feature set.
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
# This enables TLS for the undercloud which will also make haproxy bind to the
# configured public-vip and admin-vip.
undercloud_generate_service_certificate: true
ssl_overcloud: true
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
step_introspect: true
# force image building
# TODO(gcerami) tripleo-ci specific content. This has to be implemented in another way
to_build: true
# Delete the overcloud after deployment
step_delete_overcloud: true
undercloud_check_idempotency: false
# This enables container deployements after Pike
containerized_overcloud: >-
{% if release in ['newton', 'ocata', 'pike'] -%}
false
{%- else -%}
true
{%- endif -%}
delete_docker_cache: true
containerized_undercloud: >-
{% if release not in ['newton','ocata','pike','queens'] -%}
true
{%- else -%}
false
{%- endif -%}
ctlplane_masquerade: >-
{% if release not in ['newton','ocata','pike','queens'] -%}
true
{%- else -%}
false
{%- endif -%}
undercloud_enable_routed_networks: >-
{% if release not in ['newton','ocata','pike'] -%}
true
{%- else -%}
false
{%- endif -%}
undercloud_clean_nodes: >-
{% if release not in ['newton','ocata','pike'] -%}
true
{%- else -%}
false
{%- endif -%}
baremetal_provision: >-
{% if release in ['newton','ocata','pike','queens','rocky','stein','train', 'ussuri'] -%}
false
{%- else -%}
true
{%- endif -%}
undercloud_inspection_extras: false
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
undercloud_cloud_domain: "localdomain"
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
# Tell tripleo about our environment.
enable_pacemaker: true
network_isolation: true
network_isolation_type: "multiple-nics"
network_isolation_args: >-
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
# This featureset is extremely resource intensive, so we disable telemetry
# in order to reduce the overall memory footprint
# This is not required in newton
telemetry_args: >-
{% if release != 'newton' %}
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
{% endif %}
extra_args: >-
{% if release not in ['newton', 'ocata', 'pike'] %}
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
{% endif %}
{% if release not in ['newton','ocata','pike','queens','rocky','stein','train', 'ussuri'] -%}
--disable-validations
{%- endif -%}
# keep the doc gen settings at the bottom of the config file.
# options below direct automatic doc generation by tripleo-collect-logs
artcl_gen_docs: true
artcl_create_docs_payload:
included_deployment_scripts:
- undercloud-install
- overcloud-custom-tht-script
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
- overcloud-prep-flavors
- overcloud-prep-images
- overcloud-prep-network
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate
- overcloud-delete
- "{% if run_tempest|bool -%}tempest-setup{%- endif -%}"
- "{% if run_tempest|bool and tempest_format|default('packages') == 'containers' -%}tempest_container{%- endif -%}"
included_static_docs:
- env-setup-virt
table_of_contents:
- env-setup-virt
- undercloud-install
- overcloud-custom-tht-script
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
- overcloud-prep-flavors
- overcloud-prep-images
- overcloud-prep-network
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate
- overcloud-delete
- "{% if run_tempest|bool -%}tempest-setup{%- endif -%}"
- "{% if run_tempest|bool and tempest_format|default('packages') == 'containers' -%}tempest_container{%- endif -%}"
deploy_steps_ansible_workflow: >-
{% if release not in ['newton','ocata','pike'] -%}
true
{%- else -%}
false
{%- endif -%}
config_download_args: >-
{% if release in ['queens'] -%}
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
--config-download
--verbose
{%- endif -%}
# Tempest configuration, keep always at the end of the file
# Use the traditional ping test in newton, ocata and pike
# Run tempest in queens+
test_ping: >-
{% if release in ['newton', 'ocata', 'pike'] -%}
true
{%- else -%}
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: '10.0.0.0/24'
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({}) }}"
tempest_check_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps'
tempest_test_whitelist: "{{ tempest_whitelist }}"
tempest_run_concurrency: 4
tempest_extra_config: {'compute_feature_enabled.config_drive': 'True'}
test_white_regex: ''
tempest_whitelist:
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
# Run tempest in containers when at least undercloud is containerized
tempest_format: >-
{% if containerized_undercloud|bool -%}
container
{%- else -%}
packages
{%- endif -%}