Ask Your Question

openstacksdk list server on all projects

asked 2018-01-16 13:19:09 -0500

uffe gravatar image


I have just started to use openstacksdk and would like to list all instances not just the project I'm connected to, is that possible?

Like you can do using the cli: server list --all-projects

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-17 04:05:50 -0500

ShyamBiradar gravatar image


Yes, it is possible.

You can use either of the following command .

openstack server list --all-projects

nova list --all-tenants

Note: If you are using V3 keystone, you need to have admin role on cloud admin domain. (In case of single domain it is "default" domain)

edit flag offensive delete link more


Is a way to get this output sorted by projects?

ddlingo gravatar imageddlingo ( 2018-01-18 10:46:18 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2018-01-16 13:19:09 -0500

Seen: 1,192 times

Last updated: Jan 17 '18