Dmitrii Shcherbakov 1ce92bf34d Make create_user domain-aware for V3CredsClient
Currently create_user is just inherited from CredsClient and, therefore,
does not pass a domain_id to the /v3/users POST API call to create a new
user. As a result a domain with id "default" is used as no domain is
explicitly passed in the API call which results in 404 NOT FOUND and the
following error: "Could not find domain: default.".

The right way is passing a domain from:

1) CONF.auth.admin_domain_name
2) CONF.auth.default_credentials_domain_name

This is already taken into account when a domain_name is passed from
identity_utils during object instantiation and used for in the
create_project method specific to V3CredsClient. The API calls only
accept a domain_id which is why creds_domain field of a V3CredsClient
object is used to store an id of a domain_name domain passed via
constructor. The same can be used for create_user method specific to v3.

Change-Id: I66f22c61d7a8596cafdc415654edfecdc5495d2e
Closes-Bug: #1613819
2021-01-22 11:00:42 +00:00
2020-12-22 14:46:23 +00:00
2016-10-19 14:31:13 +02:00
2020-12-22 14:46:23 +00:00
2019-04-19 19:29:35 +00:00
2018-09-05 08:45:46 +00:00
2012-04-12 16:04:36 +02:00
2019-09-11 16:42:28 +09:00

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.

Description
OpenStack Testing (Tempest) of an existing cloud
Readme 243 MiB
Languages
Python 99.8%
Shell 0.2%