Ask Your Question
1

how to list all nova services infomation with nova API ?

asked 2018-04-03 02:52:25 -0500

haha_nova gravatar image

I need to fetch all information of the nova services: their name, their zone, their status, their state using the Python API. This can be easily done with the CLI command: #nova service-list

But when I use API: nova = client.Client(XXX) print nova.services.list() it only show the service name without more information. What's wrong with me ?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2018-04-06 04:50:13 -0500

Rupesh Chowdary gravatar image

Refer the following link that will help you,

https://docs.openstack.org/python-nov...

edit flag offensive delete link more
0

answered 2018-04-05 07:12:48 -0500

Deepa gravatar image

Sometimes this link may help you .https://stackoverflow.com/questions/27928491/how-to-list-openstack-services-with-full-info-using-python-api ..Have a look

edit flag offensive delete link more
0

answered 2018-04-08 22:34:29 -0500

haha_nova gravatar image

i solved, but what I mean is nova related services not openstack services thanks whatever

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

Stats

Asked: 2018-04-03 02:52:25 -0500

Seen: 216 times

Last updated: Apr 08 '18