Ask Your Question
0

nova list is giving empty list but nova list --all-tenants is not empty, why?

asked 2015-06-05 04:07:53 -0600

neelabhsingh gravatar image

updated 2015-06-05 04:19:12 -0600

uts9 gravatar image

I am using OpenStack(kilo) version I am using command line interface CLI, . I has login through admin and had started two instances . I was trying to run
nova list is giving empty list but nova list --all-tenants is not giving empty list with two entry, Please tell me why nova list is empty.

[vagrant@localhost devstack]$ nova list  
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+


[vagrant@localhost devstack]$ nova list --all-tenants
+--------------------------------------+------+----------------------------------+--------+------------+-------------+-------------------+
| ID                                   | Name | Tenant ID                        | Status | Task State | Power State | Networks          |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+-------------------+
| 52e108bd-cd73-4c2c-8fc3-832e0c619836 | cen1 | 020377f522324546b072af92862e6466 | ACTIVE | -          | Running     | private=192.0.0.3 |
| 86376383-1136-4f02-8b7e-adfac5fb325f | cen2 | 020377f522324546b072af92862e6466 | ACTIVE | -          | Running     | private=192.0.0.4 |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+-------------------+
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-05 04:41:16 -0600

this is because your VMs are in demo-tenant or may be in other one you created but not admin.

from admin tenant you see all the tenants. But you created instances in demo tenant.

now source demo-openrc.sh and check then do nova list.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-05 04:07:53 -0600

Seen: 865 times

Last updated: Jun 05 '15