OpenStack Testing (Tempest) of an existing cloud
Go to file
Colleen Murphy cd0bbbdad3 Add system scope for admin auth
Keystone is moving away from using either project-scope or domain-scope
for the main cloud administrator user, and instead moving toward the
admin user having a role assignment on the "system" scope[1]. This will
mean that no particular project or domain is special, and instead the
cloud administrator scopes to the system in order to make
deployment-wide changes. Keystone has now migrated all of its policies
to understand system scope[2], and if a deployment sets
[oslo_policy]/enforce_scope=true in keystone.conf and uses the new
policies, an admin user scoped to the admin project will not be able to
create dynamic credentials for tempest.

This patch adds a new parameter ``[auth]/admin_system`` to indicate that
neither the ``admin_project`` or ``admin_domain`` parameters apply to
the admin user and that the user should instead authenticate with the
system scope. This also adds ``admin_user_domain_name`` so that the
admin user can be found in its domain (namespace) without setting
``domain_name``, and for completeness also adds
``admin_project_domain_name`` so that ``domain_name`` could be omitted
even if using project scope.

[1] http://specs.openstack.org/openstack/keystone-specs/specs/keystone/queens/system-scope.html
[2] https://bugs.launchpad.net/keystone/+bugs?field.status%3Alist=FIXRELEASED&field.tag=system-scope

Depends-on: https://review.opendev.org/739262

Change-Id: I840b273c37ca7cc4592c43813abfb424337e2836
2021-01-11 19:11:45 +00:00
doc Remove stable/stein testing jobs 2020-12-22 14:46:23 +00:00
etc Remove the Stress framework 2016-10-19 14:31:13 +02:00
playbooks Remove 'gabbi_tempest_path' from devstack-tempest job 2020-11-09 12:38:41 -06:00
releasenotes Add release notes page for version 26.0.0 2020-12-18 19:06:25 -06:00
roles Improve tempest-cleanup ansible role 2020-11-03 21:47:14 +00:00
tempest Add system scope for admin auth 2021-01-11 19:11:45 +00:00
tools Unskip Device detach compute tests on Focal 2020-11-01 18:47:32 +00:00
zuul.d Remove stable/stein testing jobs 2020-12-22 14:46:23 +00:00
.coveragerc Remove the NegativeAutoTest Framework 2016-10-13 10:32:53 +02:00
.gitignore Add index page for plugins documents 2020-05-05 02:12:05 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:35 +00:00
.mailmap Update .mailmap for ghanshyam emails 2018-09-05 08:45:46 +00:00
.stestr.conf Switch Tempest CLI commands from testrepository to stestr 2018-02-13 08:16:33 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-04-19 17:44:59 -05:00
HACKING.rst Add index page for plugins documents 2020-05-05 02:12:05 +00:00
LICENSE Add License to Tempest. 2012-04-12 16:04:36 +02:00
README.rst Add PDF building 2019-09-11 16:42:28 +09:00
REVIEWING.rst Merge "Add 'single core approve' policy for plugins sanity jobs failure" 2019-09-25 03:55:51 +00:00
bindep.txt Update and replace http with https for doc links in tempest 2017-08-14 00:12:40 -07:00
requirements.txt Updating the paramiko version to 2.7.0 or greater 2020-09-11 10:21:23 -04:00
setup.cfg Switch testing to Victoria testing runtime 2020-05-05 14:35:52 +00:00
setup.py [ussuri][goal] Drop python 2.7 support and testing 2020-02-12 00:11:31 +00:00
test-requirements.txt Use unittest.mock instead of third party mock 2020-05-17 17:22:58 +00:00
tox.ini Revert "Use victoria stable constraint in tox to release 26.0.0" 2020-12-16 16:10:15 +00:00

README.rst

Team and repository tags

image

Tempest - The OpenStack Integration Test Suite

This is a set of integration tests to be run against a live OpenStack cluster. Tempest has batteries of tests for OpenStack API validation, scenarios, and other specific tests useful in validating an OpenStack deployment.

Get in touch via email. Use [tempest] in your subject.