Ask Your Question

How to get all instance details (deployments) in Openstack

asked 2015-12-02 11:07:39 -0500

Suresh Kumar gravatar image

updated 2015-12-03 22:16:48 -0500

Hi, I want to list all the deployments done on openstack.As per my knowledge, Openstack uses Database to persist all the deployment details(I'm not sure. Please correct me if I'm wrong). how can I get all those details including the deleted/terminated deployments. Is there any REST API available for this?

Thanks, Suresh

edit retag flag offensive close merge delete



Do you have any specific question ?

Bipin gravatar imageBipin ( 2015-12-02 22:14:15 -0500 )edit

Interesting ... What kind of deployments we are referring to here ... Can you please elaborate

Prateek K gravatar imagePrateek K ( 2015-12-03 01:26:19 -0500 )edit

I want to list all the details of VMs provisioned, like if I query GET servers, I get the list of instances running on a particular host at that instance of time. I want to know is there a service that can list deployments(including deleted) deployments. This is to keep track of what is done.

Suresh Kumar gravatar imageSuresh Kumar ( 2015-12-03 03:38:39 -0500 )edit

well the details of the VM are stored in mysql database and that gets edited whenever an instance is deleted and spawned, I dont think there is a service which can tell you this. You can create a very small process which uses cielometer api and counts the number of VM spawned in the system.

Prateek K gravatar imagePrateek K ( 2015-12-03 22:47:24 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-12-03 09:00:45 -0500

There is API available to get the instance information, you can find details at

edit flag offensive delete link more


Thanks coolsvap for your reply. I got it. We have to add a queryparameter "status" while listing the servers.

Suresh Kumar gravatar imageSuresh Kumar ( 2015-12-03 23:39:47 -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

1 follower


Asked: 2015-12-02 11:07:39 -0500

Seen: 165 times

Last updated: Dec 03 '15