nova list --all-tenants should display tenant name/uuid as well

Bug #1403431 reported by Yamini Sardana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
python-novaclient
Fix Released
Undecided
Yamini Sardana

Bug Description

nova list --all-tenants (which is an admin command) does not display the Tenant Name/UUID. In order to find out which tenant the server belongs to, we have to run nova show command passing it the server UUID.

In order to prevent this extra step, the nova list --all-tenants should display the Tenant Name/UUID as well. This will also make it consistent with the horizon Admin -> System -> Instances -> All Instances tabular display.

Tags: novaclient
Changed in nova:
status: New → Confirmed
Revision history for this message
Matthew Gilliard (matthew-gilliard-u) wrote :

Confirmed:

ubuntu@cont:~/devstack$ nova list --all-tenants
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 2350ea5e-726c-497f-9300-7290b63407b6 | s2 | PAUSED | - | Paused | private=10.0.0.4 |
+--------------------------------------+------+--------+------------+-------------+------------------+

I think this would be a nice addition. It seems that tenant_id is already sent back to the client as part of the HTTP response, so at least that could be shown easily.

Changed in python-novaclient:
status: New → Confirmed
Changed in python-novaclient:
assignee: nobody → Numan Siddique (numansiddique)
tags: added: novaclient
Changed in python-novaclient:
assignee: Numan Siddique (numansiddique) → Yamini Sardana (yamini-sardana)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in nova:
status: Confirmed → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/142721
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=5f154636c2037ee16e972c7dd1d78f60807dfacf
Submitter: Jenkins
Branch: master

commit 5f154636c2037ee16e972c7dd1d78f60807dfacf
Author: yamini sardana <email address hidden>
Date: Thu Dec 18 16:10:52 2014 +0530

    Display tenant id with nova list --all-tenants

    For each server, nova list --all-tenants will now display
    its corresponding tenant ID as well.

    Change-Id: I586d6c5bbb15ebb5df25dc4fa849ac4d5af149e9
    Closes-bug: #1403431

Changed in python-novaclient:
status: In Progress → Fix Committed
Michael Still (mikal)
Changed in python-novaclient:
milestone: none → 2.21.0
Michael Still (mikal)
Changed in python-novaclient:
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.