v3 credentials client does not honour the configured domain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
High
|
Lukas Piwowarski |
Bug Description
I'm running keystone in multi-domain setup:
+------
| ID | Name | Enabled | Description |
+------
| 1a37107e7eed4a7
| fd64f342726549e
+------
Running tempest causes following exceptions:
{1} setUpClass (tempest.
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/local/
File "/usr/local/
File "/usr/local/
File "/usr/local/
File "/usr/local/
creds = getattr(
File "/usr/local/
return self.get_
File "/usr/local/
credentials = self._create_
File "/usr/local/
username, user_password, project, email)
File "/usr/local/
user = self.users_
File "/usr/local/
resp, body = self.post('users', post_body)
File "/usr/local/
return self.request(
File "/usr/local/
resp, resp_body)
File "/usr/local/
raise exceptions.
tempest.
Details: {u'message': u'Could not find domain: default', u'code': 404, u'title': u'Not Found'}
I've noticed that the reason to this is in the tempest/
As soon as I replace that default value with the id of my domain it works well.
So I see the following two problems, correct me if I'm wrong:
1. calling code does not pass domain id
2. the string 'default' cannot be a default value since id of domains are now normal ids, not human-readable strings
If this is a real issue and not my misconfiguration I can dig into the code and provide a patch.
Changed in tempest: | |
status: | New → Confirmed |
Changed in tempest: | |
assignee: | Dmitrii Shcherbakov (dmitriis) → nobody |
status: | In Progress → New |
Changed in tempest: | |
status: | New → Confirmed |
assignee: | nobody → Lukáš Piwowarski (bluebutton) |
Changed in tempest: | |
assignee: | Lukáš Piwowarski (bluebutton) → Lukas Piwowarski (lukas-piwowarski) |
status: | Confirmed → In Progress |
There's a config flag named 'default_domain_id' in the 'identity' section. Have you tried it ?