Execution
Date
08 Dec 2025 13:57:07 +0000
Duration
00:24:46.17
Controller
aio1.openstack.local
User
root
Versions
Ansible
2.18.6
ara
1.7.4 / 1.7.4
Python
3.12.11
Summary
12
Hosts
1505
Tasks
1497
Results
32
Plays
487
Files
0
Records
File: /home/zuul/src/opendev.org/openstack/openstack-ansible-os_tempest/defaults/main.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 | --- # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## Verbosity Options debug: false stestr_executable: "{{ _stestr_executable | default('stestr') }}" # Install openstack tempest # set the tempest_install_method to source or distro # on choosing source it will install from git or venv # on choosing distro it will install based on distribution tempest_install_method: "{{ service_install_method | default('source') }}" tempest_venv_python_executable: "{{ openstack_venv_python_executable | default(_tempest_venv_python_executable) | default('python3') }}" # Set the package install state for distribution and pip packages # # Options are 'present' and 'latest' tempest_package_state: "latest" # Set the host which will execute the shade modules # for the service setup. The host must already have # clouds.yaml properly configured. tempest_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}" tempest_service_setup_host_python_interpreter: >- {{ openstack_service_setup_host_python_interpreter | default( (tempest_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable'])) }} # Toggle whether tempest actually executes tempest_run: false # Toggle whether tempest cleanup executes prior and after regular tempest run tempest_cleanup: false # if tempest_cleanup_dry_run is set to true, tempest cleanup will log all found # leftover resources to a dry_run.json file, none resources will be deleted # tempest_cleanup_dry_run: no # Credential Provider Mechanisms # If tempest_test_accounts is not an empty string, then use_dynamic_credentials will be turned off tempest_test_accounts: "" tempest_test_accounts_file_path: "{{ tempest_workspace }}/etc/tempest_accounts.yaml" # tempest_create_isolated_networks has an effect only when use_dynamic_credentials is enabled tempest_create_isolated_networks: true # tempest_fixed_network_name does not have an effect when dynamic credentials are used together with tempest_create_isolated_networks tempest_fixed_network_name: public # Tempest Resources # Toggle whether default resources are implemented tempest_default_role_resources: true tempest_public_net_create: true tempest_private_net_create: false tempest_router_create: false tempest_images_create: true tempest_flavors_create: true tempest_projects_create: "{{ tempest_public_net_create or tempest_private_net_create or tempest_router_create }}" # Define 0 (serial) or more to use a non default concurrency # tempest_run_concurrency: # Define the worker file to be used by tempest # This worker file is parsed to stestr to manually schedule tempest tests # tempest_test_worker_file_path: # We comment `tempest_git_repo` so that we do not attempt to build the wheel from this repo/branch. # Instead, we want tempest to get built from the stable release defined in global requirements. # tempest_git_repo: https://opendev.org/openstack/tempest tempest_git_install_branch: master tempest_upper_constraints_url: >- {{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }} tempest_git_constraints: - "--constraint {{ tempest_upper_constraints_url }}" tempest_pip_install_args: "{{ pip_install_options | default('') }}" # Name of the virtual env to deploy into tempest_venv_tag: "{{ venv_tag | default('untagged') }}" tempest_venv_bin: "/openstack/venvs/tempest-{{ tempest_venv_tag }}/bin" # The location where the tempest logs will be placed tempest_log_dir: "/var/log/tempest" ## Tempest Plugins # Extra plugins can be defined in ``tempest_extra_plugins``. # tempest_extra_plugins: # - name: custom-tempest-plugin # repo: https://opendev.org/openstack/custom-tempest-plugin # branch: master # install: true tempest_extra_plugins: [] tempest_plugins: "{{ (_tempest_plugins + tempest_extra_plugins) | selectattr('install', 'equalto', true) }}" tempest_plugin_barbican_git_repo: https://opendev.org/openstack/barbican-tempest-plugin tempest_plugin_barbican_git_install_branch: master tempest_plugin_blazar_git_repo: https://opendev.org/openstack/blazar-tempest-plugin tempest_plugin_blazar_git_install_branch: master tempest_plugin_cinder_git_repo: https://opendev.org/openstack/cinder-tempest-plugin tempest_plugin_cinder_git_install_branch: master tempest_plugin_cloudkitty_git_repo: https://opendev.org/openstack/cloudkitty-tempest-plugin tempest_plugin_cloudkitty_git_install_branch: master tempest_plugin_designate_git_repo: https://opendev.org/openstack/designate-tempest-plugin tempest_plugin_designate_git_install_branch: master tempest_plugin_glance_git_repo: https://opendev.org/openstack/glance-tempest-plugin tempest_plugin_glance_git_install_branch: master tempest_plugin_heat_git_repo: https://opendev.org/openstack/heat-tempest-plugin tempest_plugin_heat_git_install_branch: master tempest_plugin_ironic_git_repo: https://opendev.org/openstack/ironic-tempest-plugin tempest_plugin_ironic_git_install_branch: master tempest_plugin_keystone_git_repo: https://opendev.org/openstack/keystone-tempest-plugin tempest_plugin_keystone_git_install_branch: master tempest_plugin_magnum_git_repo: https://opendev.org/openstack/magnum-tempest-plugin tempest_plugin_magnum_git_install_branch: master tempest_plugin_manila_git_repo: https://opendev.org/openstack/manila-tempest-plugin tempest_plugin_manila_git_install_branch: master tempest_plugin_murano_git_repo: https://opendev.org/openstack/murano-tempest-plugin tempest_plugin_murano_git_install_branch: master tempest_plugin_neutron_git_repo: https://opendev.org/openstack/neutron-tempest-plugin tempest_plugin_neutron_git_install_branch: master tempest_plugin_novajoin_git_repo: https://opendev.org/x/novajoin-tempest-plugin tempest_plugin_novajoin_git_install_branch: master tempest_plugin_octavia_git_repo: https://opendev.org/openstack/octavia-tempest-plugin tempest_plugin_octavia_git_install_branch: master tempest_plugin_telemetry_git_repo: https://opendev.org/openstack/telemetry-tempest-plugin tempest_plugin_telemetry_git_install_branch: master tempest_plugin_trove_git_repo: https://opendev.org/openstack/trove-tempest-plugin tempest_plugin_trove_git_install_branch: master tempest_plugin_zaqar_git_repo: https://opendev.org/openstack/zaqar-tempest-plugin tempest_plugin_zaqar_git_install_branch: master tempest_plugin_zun_git_repo: https://opendev.org/openstack/zun-tempest-plugin tempest_plugin_zun_git_install_branch: master # tempest_workspace where tempest can be runned tempest_workspace: "{{ ansible_facts['env']['HOME'] }}/workspace" # The location where the test include/exclude lists will be placed tempest_includelist_file_path: "{{ tempest_workspace }}/etc/tempest_includelist.txt" tempest_excludelist_file_path: "{{ tempest_workspace }}/etc/tempest_excludelist.txt" # Variable prefixes that will be dynamically gathered to create the include/exclude list tempest_test_search_includelist_pattern: "tempest_test_includelist_" tempest_test_search_excludelist_pattern: "tempest_test_excludelist_" # Tests to execute: # This sets up a list of tests to execute based on what's deployed in the environment. # The list gets added to the includelist which tempest executes. tempest_test_includelist: [] # Extra test to be executed tempest_test_extra_test: [] # Tests being skipped by os_tempest # Example: # tempest_test_excludelist: # - test: tempest.scenario.test.minimum_basic # reason: This test is failing # lp: 'https://bugs.launchpad.net/openstack-ansible/+bug/123456' # bz: 'https://bugzilla.redhat.com/show_bug.cgi?id=123456' # OR # tempest_test_excludelist: # - 'tempest.scenario.test.minimum_basic' tempest_test_excludelist: [] # Private network configuration # Currently supports 2 types # vlan - will need to make sure your seg id and subnet cidr are correct # vxlan - default, can change subnet cidr and seg id tempest_private_net_name: "private" tempest_private_subnet_name: "private-subnet" tempest_private_subnet_cidr: "192.168.74.0/28" tempest_private_net_provider_type: "vxlan" # tempest_private_net_seg_id: # If you choose vlan as private network provider type, you must set a physical # name for it # tempest_private_net_physical_name: "private" # Public network configuration # Currently supports 2 types # Flat - default # Vlan - make sure you override seg id, cidr, provider and physical tempest_public_net_name: "public" tempest_public_subnet_name: "public-subnet" tempest_public_subnet_cidr: "10.1.13.0/24" # Neutron default gateway to first ip of subnet, usually .1 # tempest_public_subnet_gateway_ip: tempest_public_net_provider_type: "flat" tempest_public_net_physical_name: "physnet1" tempest_public_net_shared: false # tempest_public_net_seg_id: tempest_public_router_external: "True" # Example allocation range: # tempest_public_subnet_allocation_pools: "10.1.13.150-10.1.13.200" tempest_compute_image_ssh_user: cirros tempest_compute_run_ssh: true tempest_network_ping_gateway: false tempest_dashboard_url: "https://{{ external_lb_vip_address | default('127.0.0.1') }}/" # var for setting tempest_service_available_{sevice_name} vars # Example: # tempest_services: # - cinder # - aodh # It will set tempest_service_available_aodh and # tempest_service_available_cinder to true. tempest_services: [] tempest_service_available_aodh: "{{ groups['aodh_all'] is defined and groups['aodh_all'] | length > 0 }}" tempest_service_available_barbican: "{{ groups['barbican_all'] is defined and groups['barbican_all'] | length > 0 }}" tempest_service_available_blazar: "{{ groups['blazar_all'] is defined and groups['blazar_all'] | length > 0 }}" tempest_service_available_ceilometer: "{{ groups['ceilometer_all'] is defined and groups['ceilometer_all'] | length > 0 }}" tempest_service_available_cinder: "{{ groups['cinder_all'] is defined and groups['cinder_all'] | length > 0 }}" tempest_service_available_cloudkitty: "{{ groups['cloudkitty_all'] is defined and groups['cloudkitty_all'] | length > 0 }}" tempest_service_available_designate: "{{ groups['designate_all'] is defined and groups['designate_all'] | length > 0 }}" tempest_service_available_glance: "{{ groups['glance_all'] is defined and groups['glance_all'] | length > 0 }}" tempest_service_available_gnocchi: "{{ groups['gnocchi_all'] is defined and groups['gnocchi_all'] | length > 0 }}" tempest_service_available_heat: "{{ groups['heat_all'] is defined and groups['heat_all'] | length > 0 }}" tempest_service_available_horizon: "{{ groups['horizon_all'] is defined and groups['horizon_all'] | length > 0 }}" tempest_service_available_ironic: "{{ groups['ironic_all'] is defined and groups['ironic_all'] | length > 0 }}" tempest_service_available_magnum: "{{ groups['magnum_all'] is defined and groups['magnum_all'] | length > 0 }}" tempest_service_available_manila: "{{ groups['manila_all'] is defined and groups['manila_all'] | length > 0 }}" tempest_service_available_mistral: "{{ groups['mistral_all'] is defined and groups['mistral_all'] | length > 0 }}" tempest_service_available_murano: "{{ groups['murano_all'] is defined and groups['murano_all'] | length > 0 }}" tempest_service_available_neutron: "{{ groups['neutron_all'] is defined and groups['neutron_all'] | length > 0 }}" tempest_service_available_neutron_bgpvpn: >- {{ (groups['neutron_all'] is defined) and (groups['neutron_all'] | length > 0) and ('bgpvpn' in neutron_plugin_base | default([])) }} tempest_service_available_neutron_vpnaas: >- {{ (groups['neutron_all'] is defined) and (groups['neutron_all'] | length > 0) and ('vpnaas' in neutron_plugin_base | default([])) }} tempest_service_available_nova: "{{ groups['nova_all'] is defined and groups['nova_all'] | length > 0 }}" tempest_service_available_novajoin: false tempest_service_available_octavia: "{{ groups['octavia_all'] is defined and groups['octavia_all'] | length > 0 }}" tempest_service_available_swift: >- {{ (groups['swift_all'] is defined and groups['swift_all'] | length > 0) or (groups['ceph-rgw'] is defined and groups['ceph-rgw'] | length > 0) or (ceph_rgws is defined and ceph_rgws | length > 0) }} tempest_service_available_trove: "{{ groups['trove_all'] is defined and groups['trove_all'] | length > 0 }}" tempest_service_available_whitebox: false tempest_service_available_whitebox_neutron: false tempest_service_available_zaqar: "{{ groups['zaqar_all'] is defined and groups['zaqar_all'] | length > 0 }}" tempest_service_available_zun: "{{ groups['zun_all'] is defined and groups['zun_all'] | length > 0 }}" # Var for setting ssl verification tempest_keystone_interface_insecure: "{{ (keystone_service_internaluri_insecure | default(false)) | bool }}" tempest_pip_packages: - "{{ (tempest_git_repo is defined) | ternary( 'git+' ~ (tempest_git_repo | default('https://opendev.org/openstack/tempest.git')) ~ '@' ~ tempest_git_install_branch ~ '#egg=tempest', 'tempest') }}" - cmd2 - ddt - junitxml - lxml - nose - python-cinderclient - python-glanceclient - python-heatclient - python-keystoneclient - python-manilaclient - python-memcached - python-neutronclient - python-novaclient - python-openstackclient - python-subunit - python-swiftclient - python-troveclient - testscenarios - os-testr # The list of images for tempest to download for the current architecture, as defined # in this role vars/main.yml file # To override this list, use a list of the form # tempest_images: # - url: ... where to download from (required) # checksum: ... checksum to validate downloaded file, format: <algorithm>:<checksum> (optional) # format: ... format to use when uploading to glance (required) # name: ... name to use when uploading to glance (optional) # properties: a dict of custom properties to attach to the image in glance (optional) # <property>: <value> tempest_images: "{{ tempest_images_map[ansible_facts['architecture']] }}" # The location where images are downloaded to tempest_image_dir: "{{ lookup('env', 'HOME') }}/tempest-images" tempest_flavors: - name: tempest1 id: 201 ram: 256 disk: 1 vcpus: 1 - name: tempest2 id: 202 ram: 512 disk: 1 vcpus: 1 # The projects for tempest to use tempest_projects: - "tempest" ## Tunable overrides tempest_tempest_conf_search_overrides_pattern: "tempest_tempest_conf_overrides" tempest_tempest_conf_overrides: {} ## The name of cloud from clouds.yaml tempest_cloud_name: "default" ## The name of domain from clouds.yaml tempest_domain_name: "Default" ## The name of interface from clouds.yaml tempest_interface_name: "internal" # The default endpoint type to use by tempest tempest_endpoint_type: "internal" # python-tempestconf variables # The tempest_use_tempestconf by default is set to false, set to true if you # want to generate the tempest.conf file with this tool, instead of # tempest.conf from the template tempest_use_tempestconf: false tempest_tempestconf_venv_tag: "{{ venv_tag | default('untagged') }}" tempest_tempestconf_venv_bin: "/openstack/venvs/tempestconf-{{ tempest_tempestconf_venv_tag }}/bin" # We comment out `tempest_tempestconf_git_repo` so that the repo_build role does not attempt to # build the wheel from this repo/branch. Instead, we want python-tempestconf to get built # from the stable release defined in global requirements. # tempest_tempestconf_git_repo: https://opendev.org/openinfra/python-tempestconf tempest_tempestconf_git_install_branch: master tempest_tempestconf_git_constraints: - "--constraint {{ tempest_upper_constraints_url }}" tempest_tempestconf_pip_packages: - "{{ (tempest_tempestconf_git_repo is defined) | ternary( 'git+' ~ (tempest_tempestconf_git_repo | default( 'https://opendev.org/openinfra/python-tempestconf') ) ~ '@' ~ tempest_tempestconf_git_install_branch ~ '#egg=python_tempestconf', 'python_tempestconf') }}" tempest_tempestconf_profile: debug: true create: true os-cloud: "{{ tempest_cloud_name }}" out: "{{ tempest_workspace }}/etc/tempest.conf" network-id: "{{ tempest_neutron_public_network_id }}" overrides: "{{ tempest_tempestconf_profile_overrides }}" tempest_tempestconf_profile_extras: {} tempest_tempestconf_profile_overrides: "{{ tempest_tempest_conf_overrides }}" # Stackviz tarball url stackviz_pip_install_args: "{{ pip_install_options | default('--isolated') }}" stackviz_tarball: "https://tarballs.opendev.org/openstack/stackviz/dist/stackviz-latest.tar.gz" stackviz_venv_tag: "{{ venv_tag | default('untagged') }}" stackviz_venv_bin: "/openstack/venvs/stackviz-{{ stackviz_venv_tag }}/bin" tempest_run_stackviz: true |