Add an example configuration that does not use an admin user.

Rally added support for running
tests as non-admin users in the
0.10.0 release.

Change-Id: I96d125190f2419673c1417a372822fd9a773db72
Closes-Bug: 1751326
This commit is contained in:
Luke Short 2018-10-16 22:57:49 -04:00
parent 81ab47030e
commit 55d7c4dcda
2 changed files with 25 additions and 2 deletions

View File

@ -23,14 +23,19 @@ existing-keystone-v3.json
Register existing OpenStack cluster that uses Keystone v3. Register existing OpenStack cluster that uses Keystone v3.
existing-with-predefined-users.json existing-with-predefined-users.json
-------------------------------------- ------------------------------------
If you are using read-only backend in Keystone like LDAP, AD then If you are using read-only backend in Keystone like LDAP, AD then
you need this sample. If you don't specify "users" rally will use already you need this sample. If you don't specify "users" rally will use already
existing users that you provide. existing users that you provide.
existing-keystone-v3-user.json
------------------------------
Register an exisitng OpenStack cluster that uses Keystone v3 and a non-privileged user. The use of an admin account is optional because most tests can use a normal account.
existing-api.json existing-api.json
-------------------------------- -----------------
If you expect to specify version of some clients, you could register existing If you expect to specify version of some clients, you could register existing
Openstack cluster like this sample. Openstack cluster like this sample.

View File

@ -0,0 +1,18 @@
{
"openstack": {
"auth_url": "http://example.net:5000/v3/",
"region_name": "RegionOne",
"endpoint_type": "public",
"users": [
{
"username": "normal_user",
"password": "password",
"user_domain_name": "Default",
"project_name": "normal_project",
"project_domain_name": "Default"
}
],
"https_insecure": false,
"https_cacert": ""
}
}