Role os_tempest for OpenStack-Ansible
1baf863bf6
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 |
||
---|---|---|
defaults | ||
doc | ||
examples | ||
meta | ||
molecule/default | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
requirements.yml | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
Vagrantfile |
Team and repository tags
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:
- The project home is at:
- The project bug tracker is located at: