Ask Your Question

which Rest API can get all tenant instance information [closed]

asked 2014-10-09 06:05:47 -0500

orangeiv gravatar image

Hi, Sir

I got the instance information by REST API with NOVA /v2/server. but it only can get my tenant instance.

On the other hand, i found Dashboard can show 2 types of instance list by Tenant view and Admin View.

the Admin View can show all tenant instance list information. can you tell me which Rest API can get tenant instance information.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by orangeiv
close date 2015-06-13 07:02:52.607188


What exactly is your aim. Do you want the user to act as admin. In that case i guess you need to assign user the admin roles through keystone. can you explain what do you mean buy get tenant instance information

Syed Awais Ali gravatar imageSyed Awais Ali ( 2014-10-09 13:31:52 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-10 13:38:06 -0500

larsks gravatar image

If you are accessing the API using admin credentials, you can pass the all_tenants option with your request. A good way to discover how to use the API is to look at the debug output from the standard clients. For example, if you run the following with admin credentials:

nova --debug list --all-tenants

You will see that it makes a request to:

That request will return information about all Nova servers (those owned by the admin tenant and those owned by other tenants).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-09 06:05:47 -0500

Seen: 3,389 times

Last updated: Oct 10 '14