keystone-manage role list <tenant_name> does not return useful output

Bug #897819 reported by Justin Shepherd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Undecided
Justin Shepherd

Bug Description

----- SETUP -----
# ./bin/keystone-manage tenant add test_tenant
SUCCESS: Tenant test_tenant created.
# ./bin/keystone-manage user add test_user password test_tenant
SUCCESS: User test_user created.
# ./bin/keystone-manage role add Admin
SUCCESS: Role Admin created successfully.
# ./bin/keystone-manage role add Member
SUCCESS: Role Member created successfully.
./bin/keystone-manage role grant Member test_user test_tenant
SUCCESS: Granted test_user the Member role on test_tenant.
-- END SETUP --

Using the above setup steps, the following output is basically useless from a CLI point of view:

# ./bin/keystone-manage role list test_tenantRole assignments for tenant test_tenant
User Role
-------------------------------------------------------------------------------
1 2

Changed in keystone:
status: New → In Progress
assignee: nobody → Justin Shepherd (jshepher)
Revision history for this message
Justin Shepherd (jshepher) wrote :

https://review.openstack.org/#change,1945

The proposed new output of the keystone-manage role list <tenant_name> command:

# ./bin/keystone-manage role list test_tenant
Role assignments for tenant test_tenant
UserID User RoleID Role
-------------------------------------------------------------------------------
1 test_user 2 Member

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/1945
Committed: http://github.com/openstack/keystone/commit/4a443840c0cc04c118c83e6a68e95bd4715bbd28
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 4a443840c0cc04c118c83e6a68e95bd4715bbd28
Author: Justin Shepherd <email address hidden>
Date: Tue Nov 29 13:22:56 2011 -0600

    Fixes bug lp:897819

    Output of keystone-manage role list <tenant_name> now lists User.name and Role.name instead of IDs.

    Change-Id: I8a3363c7563b80fbc5968bd2878a2cb90eb12b7f

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → essex-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.