yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05995
[Bug 1246970] Re: Can not list the role for new created user
IMO, the bug reported is a question rather than deviation from
functionality.
The CLI command "keystone user-role-list --user <user-name>" will work
according to the environment variables specified via OS_* variables (
OS_TENANT_NAME )
We have to specify the tenant name explicitly, if the user is different
from the one, specified via OS_* variable.
Please revert, if you think the explanation is not valid.
** Changed in: keystone
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/keystone/+question/239087
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1246970
Title:
Can not list the role for new created user
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
After created a new user (user-a), a new tenant (tenant-a) and new
role (role-a), then used "keystone user-role-add" to combine them.
When using "keystone user-role-list --user user-a " to show the role
arranged on user-a, there is no any results returned. I must also
point the tenant in command , such like "keystone user-role-list
--user user-a --tenant tenant-a" to get the correct results returned.
But for the default user, such like "cinder", only need to point the user name in command to get the correct results returned.
# keystone user-role-list --user cinder
+----------------------------------+----------+----------------------------------+----------------------------------+
| id | name | user_id | tenant_id |
+----------------------------------+----------+----------------------------------+----------------------------------+
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | 339a1160bd0a4a1dae3db7b616a97dea | a54d66a2f38446dd98148c9fbe01d112 |
| 34ea482792c44147a088762db9f4be66 | admin | 339a1160bd0a4a1dae3db7b616a97dea | a54d66a2f38446dd98148c9fbe01d112 |
+----------------------------------+----------+----------------------------------+----------------------------------+
Why there is differents between the default user and new created user?
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1246970/+subscriptions