add tenant uuid when running cinder list --all-tenants

Bug #1333257 reported by Dafna Ron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Wishlist
Liyingjun

Bug Description

when we run cinder list --all-tenants I think we should add the tenant UUID to the output.
since this is an admin command any way, it would help to list the tenant UUID so we do not have to run cinder show to see the tenant uuid when we have further queries to run.

[root@puma31 ~(keystone_admin)]# cinder list --all-tenants 1
+--------------------------------------+-----------+----------------------+------+---------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+----------------------+------+---------------+----------+-------------+
| 034e20fd-fa73-4b17-967e-b4aa25fd2c96 | error | | 3 | None | false | |
| 191c3ac0-2f3f-429e-84ab-4495c0cdd462 | available | None | 5 | None | true | |
| 2c87f2f5-4674-4602-b570-1a3731abb271 | available | dafna-cirus | 4 | None | true | |
| 2db89faa-bc81-403c-8d76-6a3c8deb66a1 | available | qa1-tshefi | 1 | None | true | |
| 2e7fc930-d207-437d-8b0e-a39286c8cec0 | available | test | 45 | None | true | |
| 3619c9da-3e47-41d2-b0e6-1f37574b8ca5 | error | dafna | 4 | None | false | |

Liyingjun (liyingjun)
Changed in python-cinderclient:
assignee: nobody → Liyingjun (liyingjun)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/104056

Changed in python-cinderclient:
status: Confirmed → In Progress
Changed in python-cinderclient:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/104056
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=ae04b4b09982bf98ed963fb541da5f3bf73b9a17
Submitter: Jenkins
Branch: master

commit ae04b4b09982bf98ed963fb541da5f3bf73b9a17
Author: liyingjun <email address hidden>
Date: Wed Jun 25 04:47:25 2014 +0800

    Add tenant uuid when running cinder list --all-tenants

    Add the tenant uuid to the output when running cinder list --all-tenants,
    since this is an admin command any way, it would help to list the tenant
    UUID so we do not have to run cinder show to see the tenant uuid when we
    have further queries to run.

    Change-Id: I661789e957fa00947c4d5595f7e0515c27963735
    Closes-bug: 1333257

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.3.1
status: Fix Committed → Fix Released
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.