Ask Your Question

cURL request hypervisor information

asked 2012-07-20 04:47:01 -0600


I am making some HTTP requests using cURL to the OpenStack API to gather information about my OpenStack deployment. I have used "" for the URI information about different sets of requests. However, I need information about the hypervisor: its IP addresses etc. I have not been able to find a way to access hypervisor information from the OpenStack cloud I have deployed.

To try different things, I looked at the URIs used in the python nova-client documentation and it recently added the OpenStack hypervisor information option and it uses the URI like "/os-hypervisors/detail/" but this does not work for me. It simply gives me an HTTP 404 error.

Can somebody please help me find a way to get the hypervisor information (IP addresses at least) using cURL requests?

NOTE: I am using the OpenStack Diablo Release. I have all the services running except for nova-volume and Swift.

P.S. If you need more information, please let me know. I will be happy to provide you with that. I really need to get this working.

Thanks a lot.

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted

answered 2012-07-26 16:22:08 -0600

It did help. Thank you so much, Armando.

edit flag offensive delete link more

answered 2012-07-25 23:41:54 -0600

armando-migliaccio gravatar image

Um...if you are using Diablo you won't be able to access the latest os-hypervisor extensions:

as they have been added in Folsom.

Fundamentally, I am not sure why you would need to know such low-level info, like hypervisor IP addresses; what are you trying to achieve?

edit flag offensive delete link more

answered 2012-07-26 03:58:51 -0600

Thank you for your response Armando.

I also have Essex setup now and it gives me the same 404 error, means the information is not available.

I need this information for a small university project work I am doing.

Are you sure it will be in the Folsom release as it will be coming out in Fall 2012? Why not in Essex?

Thanks, Fawad

edit flag offensive delete link more

answered 2012-07-26 14:12:44 -0600

armando-migliaccio gravatar image

Essex is closed:

If you need new functionality you can try and propose it for trunk:

Hope this help, A.

edit flag offensive delete link more

answered 2012-07-26 16:22:26 -0600

Thanks Armando Migliaccio, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-07-20 04:47:01 -0600

Seen: 147 times

Last updated: Jul 26 '12