Description of problem: when running keystone user-get we can see the tenant id but it would be very helpful if we can add the tenant name as well. If I am trying to find in which tenant a specific user is on, i will not only have to run keystone tenant-list (which is an extra command) but also, the grep will issue the result without the table fields: [root@opens-vdsb ~(keystone_admin)]# keystone tenant-list |grep 00e646e7737047f0af361e7f06525cac | 00e646e7737047f0af361e7f06525cac | dafna | True | in any case, I think that we should either add a tag to be able to get the tenant display name as well as id or simply add it to the current list. Version-Release number of selected component (if applicable): openstack-keystone-2013.1.2-2.el6ost.noarch How reproducible: 100% Steps to Reproduce: 1. create tenants and a user with member permissions for a tenant 2. run: keystone user-get <user> 3. Actual results: we get the results with tenant id only Expected results: we need to either add the tenant name in the results of the query or add an option so we can also display the name field. Additional info: [root@opens-vdsb ~(keystone_admin)]# keystone user-get dron +----------+----------------------------------+ | Property | Value | +----------+----------------------------------+ | email | dron | | enabled | True | | id | c9032a2bb21248009a88106a55306ce6 | | name | dron | | tenantId | 00e646e7737047f0af361e7f06525cac | +----------+----------------------------------+ [root@opens-vdsb ~(keystone_admin)]# keystone tenant-list +----------------------------------+----------+---------+ | id | name | enabled | +----------------------------------+----------+---------+ | f372ca53f0484f589413148b6c9ad39c | admin | True | | 00e646e7737047f0af361e7f06525cac | dafna | True | | 9e33f7a141bf496aadc7fc06646871ec | gaga | True | | c17129298f2641cbac6979b6a79a432a | new_ten | True | | 1562db18fbb3450e93614f72664928ce | services | True | +----------------------------------+----------+---------+ [root@opens-vdsb ~(keystone_admin)]# keystone help tenant-list usage: keystone tenant-list List all tenants [root@opens-vdsb ~(keystone_admin)]# keystone tenant-list |grep 00e646e7737047f0af361e7f06525cac | 00e646e7737047f0af361e7f06525cac | dafna | True |
Please open this as an upstream feature request and link to the bug report.
Not going to be changed upstream.