Ask Your Question

How to get the details of SELECTED instances with APIs in Openstack Kilo

asked 2016-03-14 03:46:42 -0600

Aditi gravatar image

On the "Instances" page, there is a list of instances in the Openstack Kilo. Suppose, I want to know the details of only the selected(by me) instances, how and what commands/APIs can be used? Which files can be used to view the same?

edit retag flag offensive close merge delete


Do you mean nova show followed by your instance UUID maybe?

haukebruno gravatar imagehaukebruno ( 2016-03-14 06:58:28 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-03-15 07:52:44 -0600

There are multiple methods to achieve this.

  • Firstly through Horizon GUI if you click on specific instance it will show all the details of that instance.
  • Second is through nova client. You can use nova show <instnace-id> to get details for that instance
  • Third is through Python nova client

    from novaclient.client import Client
    nova = Client('1.1', 'username', 'password', 'tenant', 'http://auth_ip:5000/v2.0')
    # Get a list of servers
    # Get details of specific servers
  • Then other way is through Nova compute API. This provides you with API that will fetch server details. Also mentioning it here.


You can also check the API response through any REST based client from borwser like for example Postman.

Hope that helps !!

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-03-14 03:46:42 -0600

Seen: 480 times

Last updated: Mar 15 '16