Comment 5 for bug 1318770

Revision history for this message
Shraddha Pandhe (shraddha-pandhe) wrote : Re: [Bug 1318770] Re: nova usage list to show tenant name.

What I am trying to say is, irrespective of whether its nova list or nova usage-list, the novaclient part is common. So you would need to call keystone client somehow to get the actual name for the tenant ID. I am doing the same thing but just for username, and not for tenant name.

On Wednesday, May 14, 2014 2:45 AM, Ritesh <email address hidden> wrote:

Hi Shraddha

The name I am talking about is TENANT NAME and in a TENANT there are
mulitple vm's . In  nova list command , the command  gives me about  VM
details.

To be more clear,
Here we are talking two different commands.

1. List instances:
    $ nova list

2. Get summary statistics for each tenant:
    $ nova usage-list

I am talking about the second command above. I am talking about the each tenant statistics. Not about the VM's.

I want to know on which command you are talking about.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1318770

Title:
  nova usage list to show tenant name.

Status in OpenStack Compute (Nova):
  New

Bug description:
  $nova --version
  2.17.0.75

  When I issue nova usage list command , I get the following details.

  $ nova usage-list
  Usage from 2014-04-11 to 2014-05-10:
  +----------------------------------+---------+--------------+-----------+---------------+
  | Tenant ID                        | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |
  +----------------------------------+---------+--------------+-----------+---------------+
  | 41a0db24bc8940b6a2f3297bef5f6cee | 3      | 1478.70      | 23.10    | 0.00          |
  | 0dceee00627f44838174cccb6bf29421 | 3      | 172.36      | 1.36      | 0.00          |
  +----------------------------------+---------+--------------+-----------+---------------+

  From the Tenant ID, I cannot  able to know what tenant name it is . I
  want to know the tenant name. Because tenant ID is long to remember.
  To get tenant name , we have to use keystone tenant list.

  My proposal is to include tenant name in the current columns of nova usage list.
  So that user can easily recognize its tenant name. As the same thing is available in Horizon Dashboard.

  Is their any problems  or dependices so that we are not including
  tenant name. If yes, please share the details for it.

   I would like to  do the code executions for this.

  Thank you

  RITESH.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1318770/+subscriptions