Role os_tempest for OpenStack-Ansible
Go to file
Damian Dabrowski 1baf863bf6 Allow to create only specific tempest resources.
In most cases, many of tempest resources are not needed.
From the other hand, some of our contributors still need them so we
can't just drop this functionality from this role.
The best solution I see is to add more flexibility and let users
choose which resources should be created by tempest role.

- public network:
  new variable: bool tempest_public_net_create (default: true)
  if false: require tempest_neutron_public_network_id to be set
  if true: require all other tempest_public_net_* variables to be set
  explanation: it'd be useful to choose if user wants to use already
    existing public net or create a new one/
- private network:
  new variable: bool tempest_private_net_create (default: false)
  if true: require all tempest_private_* variables to be set
  explanation: by default tempest has use_dynamic_credentials &
    create_isolated_networks enabled, so it spawns an usable network,
    subnet, and router when needed for each project it creates, so in
    most cases it doesn't make sense to create special 'private' net.
- router:
  new variable: bool tempest_router_create (default: false)
  if true: both tempest_public_net_create and
    tempest_private_net_create should be enabled
  explanation: same case as for private network
- image:
  new variable: bool tempest_images_create (default: true)
  if false: require tempest_glance_image_id_1,
    tempest_glance_image_id_2 to be set
  explanation: tempest needs public images, so it'd be useful to just
    use already existing ones
- flavor:
  new variable: bool tempest_flavors_create (default: true)
  if false: require tempest_nova_flavor_id_1, tempest_nova_flavor_id_2
    to be set
  explanation: tempest needs public flavors, so it'd be useful to just
    use already existing ones
- projects:
  new variable: bool tempest_projects_create (default:
    "{{ tempest_public_net_create or tempest_private_net_create or
      tempest_public_router_create }}")
  explanation: by default tempest has use_dynamic_credentials &
    create_isolated_networks enabled, so we don't need to create any
    'static' projects, but network resources spawned by tempest
    playbook belong to this project, so it should exist if any of
    these resources are going to be created

I don't see any reason why users and tempest role should be created
so i dropped this functionality.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/825166
Change-Id: Icb46f5cb9e2dda6511cc49e30587f541aa7e399f
2022-04-26 16:44:02 +00:00
defaults Allow to create only specific tempest resources. 2022-04-26 16:44:02 +00:00
doc Allow to create only specific tempest resources. 2022-04-26 16:44:02 +00:00
examples User guide 2019-04-10 21:06:16 +02:00
meta Use config_template as a collection 2021-12-07 13:03:32 +00:00
molecule/default Enable placeholder openstack-tox-molecule job 2020-03-30 13:14:10 +01:00
releasenotes Allow to create only specific tempest resources. 2022-04-26 16:44:02 +00:00
tasks Allow to create only specific tempest resources. 2022-04-26 16:44:02 +00:00
templates do not include [*-feature-enabled] sections in tempest.conf 2022-04-14 22:52:04 +02:00
tests python-tempestconf moved from osf/ to openinfra 2021-10-18 11:01:18 +00:00
vars Added var file for EL9 2021-10-19 14:37:34 +05:30
zuul.d Rename whitelist and blacklist in role 2021-05-25 08:15:40 +00:00
.gitignore Updated from OpenStack Ansible Tests 2019-08-20 03:07:01 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:43:00 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-05-15 14:38:57 +03:00
LICENSE Implement base configuration for independent repository 2016-03-03 13:02:14 +00:00
README.rst Merge "add bug url to readme" 2021-03-02 10:18:12 +00:00
Vagrantfile Updated from OpenStack Ansible Tests 2021-12-17 16:48:40 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2021-03-12 22:21:35 +00:00
requirements.yml Fixed bugs identified by newer ansible-lint 2019-08-09 13:49:35 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2021-03-12 22:21:35 +00:00
setup.cfg Cleanup py27 support 2020-04-13 20:11:25 +02:00
setup.py Cleanup py27 support 2020-04-13 20:11:25 +02:00
tox.ini Changed minversion in tox to 3.18.0 2021-07-03 21:32:29 +08:00

README.rst

Team and repository tags

image

OpenStack-Ansible os_tempest role

Ansible role to install OpenStack Tempest.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_tempest/latest

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-os_tempest

The project source code repository is located at:

https://opendev.org/openstack/openstack-ansible-os_tempest

The project home is at:

https://launchpad.net/openstack-ansible

The project bug tracker is located at:

https://bugs.launchpad.net/openstack-ansible