Ask Your Question
0

openstacksdk list server on all projects

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

uffe gravatar image

Hi

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
1

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

ShyamBiradar gravatar image

Hi,

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

Comments

Is a way to get this output sorted by projects?

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

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

2 followers

Stats

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

Seen: 441 times

Last updated: Jan 17 '18