Ask Your Question
0

cURL request hypervisor information

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

Hi,

I am making some HTTP requests using cURL to the OpenStack API to gather information about my OpenStack deployment. I have used "http://api.openstack.org/" 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
0

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

It did help. Thank you so much, Armando.

edit flag offensive delete link more
0

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

armando-migliaccio gravatar image

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

https://github.com/openstack/nova/blo...

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
0

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

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
0

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

armando-migliaccio gravatar image

Essex is closed: http://wiki.openstack.org/StableBranch

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

http://wiki.openstack.org/HowToContri...

Hope this help, A.

edit flag offensive delete link more
0

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

Thanks Armando Migliaccio, that solved my question.

edit flag offensive delete link more

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

Stats

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

Seen: 93 times

Last updated: Jul 26 '12