I think it because in _create_creds function from dynamic_creds.py the body request to keystone didnt depend any domain feature. From trace:
File "tempest/common/dynamic_creds.py", line 303, in get_primary_creds
return self.get_credentials('primary')
File "tempest/common/dynamic_creds.py", line 284, in get_credentials
credentials = self._create_creds(admin=is_admin)
File "tempest/common/dynamic_creds.py", line 138, in _create_creds
username, user_password, project, email)
File "tempest/common/cred_client.py", line 47, in create_user
user = self.users_client.create_user(**params)
Default domain id is not default for me: ------- ------- ------- ------- +------ ---+--- ------+ ------- ------- ------- -----+ ------- ------- ------- ------- +------ ---+--- ------+ ------- ------- ------- -----+ a8f88300e3a3ef2 37 | default | True | Default Domain | b8311c4b7ecc728 b5 | heat | True | Stack projects and users | ------- ------- ------- ------- +------ ---+--- ------+ ------- ------- ------- -----+
openstack domain list
+------
| ID | Name | Enabled | Description |
+------
| 8cb83861ae81409
| c95f6e6234b9483
+------
I use such configuration option in conf file: credentials_ domain_ name = default credentials = True credentials_ domain_ name = default 192.168. 1.200:55357/ v2.0 192.168. 1.200:55357/ v3 ssl_certificate _validation = True _file = a8f88300e3a3ef2 37
[DEFAULT]
debug = True
log_file = tempest.log
use_stderr = False
default_
[auth]
use_dynamic_
admin_username = admin
admin_password = ***
admin_project_name = admin
admin_domain_name = default
default_
[identity]
region = RegionOne
auth_version = v3
uri = http://
uri_v3 = http://
disable_
ca_certificates
default_domain_id = 8cb83861ae81409
The problem is still persist.
I think it because in _create_creds function from dynamic_creds.py the body request to keystone didnt depend any domain feature. From trace:
File "tempest/ common/ dynamic_ creds.py" , line 303, in get_primary_creds credentials( 'primary' ) common/ dynamic_ creds.py" , line 284, in get_credentials creds(admin= is_admin) common/ dynamic_ creds.py" , line 138, in _create_creds common/ cred_client. py", line 47, in create_user client. create_ user(** params)
return self.get_
File "tempest/
credentials = self._create_
File "tempest/
username, user_password, project, email)
File "tempest/
user = self.users_