Domains should be supported for 'user show' command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Nathan Kinder |
Bug Description
When using Keystone domains, it is possible to list users for a specific domain in python-
(openstack) user list
+------
| ID | Name |
+------
| 21e38d0643fb48b
+------
(openstack) user list --domain ipa
+------
| ID | Name |
+------
| a089b38b1406171
| d6375cc35e25936
+------
Unfortunately, it is not possible to show a user from a different domain, as the '--domain' option is not valid for the 'user show' command:
-------
(openstack) user show --domain ipa admin
usage: user show [-h] [-f {shell,
user show: error: unrecognized arguments: --domain admin
-------
The '--domain' option should be supported for the 'user-show' command.
Changed in python-openstackclient: | |
assignee: | nobody → Nathan Kinder (nkinder) |
status: | New → In Progress |
Changed in python-openstackclient: | |
milestone: | none → m6 |
Changed in python-openstackclient: | |
status: | Fix Committed → Fix Released |
This looks like it will require changes to python- keystoneclient, as UserManager.get() currently only accepts a single 'user' argument:
------- ------- ------- ------- ------- ------- ------- --
user_ id=base. getid(user) ) ------- ------- ------- ------- ------- ------- --
def get(self, user):
return super(UserManager, self).get(
-------