Improve domain support

Allow to set domain for admin authentication and dynamically provisioned
accounts.

Currently tempest admin user has to reside in the same domain as
dynamically provisioned accounts.

Change-Id: I1d5aa1f32bae42e2eeeed37588f6ca564563e57a
This commit is contained in:
Damian Dabrowski 2022-04-06 15:43:37 +02:00 committed by Damian Dąbrowski
parent 7d2083ed0f
commit 6a7a209c9b
2 changed files with 3 additions and 2 deletions

View File

@ -286,7 +286,7 @@ tempest_tempest_conf_overrides: {}
tempest_cloud_name: "default" tempest_cloud_name: "default"
## The name of domain from clouds.yaml ## The name of domain from clouds.yaml
tempest_domain_name: "default" tempest_domain_name: "Default"
## The name of interface from clouds.yaml ## The name of interface from clouds.yaml
tempest_interface_name: "internal" tempest_interface_name: "internal"

View File

@ -12,7 +12,8 @@ use_dynamic_credentials = False
test_accounts_file = {{ tempest_test_accounts_file_path }} test_accounts_file = {{ tempest_test_accounts_file_path }}
{% else %} {% else %}
use_dynamic_credentials = True use_dynamic_credentials = True
admin_domain_name = Default default_credentials_domain_name = {{ tempest_domain_name }}
admin_domain_name = {{ tempest_domain_name }}
admin_username = {{ keystone_admin_user_name }} admin_username = {{ keystone_admin_user_name }}
admin_project_name = {{ keystone_admin_tenant_name }} admin_project_name = {{ keystone_admin_tenant_name }}
admin_password = {{ keystone_auth_admin_password }} admin_password = {{ keystone_auth_admin_password }}