Add domain_id config option to remove the need of cloud admin user when generating dynamic credentials
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
In Progress
|
Undecided
|
Tianqi Xiao |
Bug Description
Currently generating dynamic credentials requires listing domains and filter the result by domain name to get the current/admin domain object from Keystone API (through `/v3/domains` API). And as stated in the default keystone policy, listing domains requires cloud_admin privilege, which means we cannot use a domain admin to create test accounts with tempest.
```
"identity:
```
A better behavior would be using `/v3/domains/
Changed in tempest: | |
assignee: | nobody → Tianqi Xiao (txiao) |
Changed in tempest: | |
status: | New → In Progress |
Related fix proposed to the tempest repo: https:/ /review. opendev. org/c/openstack /tempest/ +/889664