For nova list, anyway you are getting the username of the each instance with it ID. You don't have to do any thing else.
Check Below :
ritesh@ritesh-ThinkCentre-M92p:~/devstack$ nova list
+--------------------------------------+--------+--------+------------+-------------+-------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+--------+--------+------------+-------------+-------------------+
| f058d03a-de2d-4eba-b3f4-8c074e76e17b | RITESH | ACTIVE | - | Running | public=172.24.4.3 |
+--------------------------------------+--------+--------+------------+-------------+-------------------+
The flow of calling api for nova list and nova usage list is different.
What username you want to put in which command . For a tenant , there are mulitpile users. So tenant is defined by tenant's name , not by any username.
Please check the openstach dasboard , overview usage.
For nova list, anyway you are getting the username of the each instance with it ID. You don't have to do any thing else.
Check Below :
ritesh@ ritesh- ThinkCentre- M92p:~/ devstack$ nova list ------- ------- ------- ------- ----+-- ------+ ------- -+----- ------- +------ ------- +------ ------- ------+ ------- ------- ------- ------- ----+-- ------+ ------- -+----- ------- +------ ------- +------ ------- ------+ de2d-4eba- b3f4-8c074e76e1 7b | RITESH | ACTIVE | - | Running | public=172.24.4.3 | ------- ------- ------- ------- ----+-- ------+ ------- -+----- ------- +------ ------- +------ ------- ------+
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| f058d03a-
+------
The flow of calling api for nova list and nova usage list is different.
What username you want to put in which command . For a tenant , there are mulitpile users. So tenant is defined by tenant's name , not by any username.
Please check the openstach dasboard , overview usage.