not able to authenticate with user from non-default domain, v3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
python-openstackclient |
Fix Released
|
High
|
Unassigned |
Bug Description
Here's steps to reproduce
1) Set up keystone endpoints to v3
2) openstack --os-identity-
3) openstack --os-identity-
4) openstack --os-identity-
5) openstack --os-identity-
6) openstack --os-identity-
ERROR: cliff.app Could not find project: myproject (HTTP 401)
If I add user to tenant from default domain and try to authenticate again
openstack --os-identity-
ERROR: cliff.app Could not find user: myuser (HTTP 401)
Well, looking at the code I see that user is searched within default domain, not mydomain
description: | updated |
tags: | added: identity |
Changed in python-openstackclient: | |
milestone: | none → m2 |
Changed in python-openstackclient: | |
status: | Fix Committed → Fix Released |
You're also not specifying either the user's domain or the project's domain in step 6, so the client is (correctly) assuming that both exist in the default domain (which they don't, because you created them in a non-default domain). So, the server is correctly returning a 401 for the request in step 6, based on steps 1-5.