Ask Your Question

How to check openstack version using REST API ?

asked 2015-10-05 08:51:59 -0500

Manav gravatar image

updated 2015-10-06 03:06:01 -0500

It is similar to the question asked here but i am looking if there is any way to get the version information using the REST end points?

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2015-10-05 16:43:36 -0500

smaffulli gravatar image

updated 2015-10-05 16:43:59 -0500

You can use the openstack client to get a list of API version supported by your cloud but I don't think that those are necessarily going to reveal what version of each service is running behind them.
Why would you want to know anyway? In theory, as an end user, all you should care about are the capabilities offered to you, not the implementation details behind the curtains.

edit flag offensive delete link more


I am writing script to get openstack version information and wanted to use the REST so that it can be executed from remote machine.

Manav gravatar imageManav ( 2015-10-06 03:15:36 -0500 )edit

@Manav do you have any updates on this?

ssbarnea gravatar imagessbarnea ( 2017-02-17 09:05:11 -0500 )edit

answered 2016-07-04 20:59:20 -0500

xiangfeiz gravatar image

If you want to get the major version of the OpenStack (such as Kilo, Liberty), you can check the nova REST API for API version. The maximum version (called "version" in REST API) for Kilo is 2.3, for Liberty is 2.12, for Mitaka is 2.25 .

edit flag offensive delete link more


Can you give some CLI examples for getting these? I am really interested about the subject as I need to investigate some API bugs.

ssbarnea gravatar imagessbarnea ( 2017-02-17 09:06:35 -0500 )edit

answered 2015-10-07 20:43:38 -0500

nethawk gravatar image

You can use this command to get nova release: nova-manage version

edit flag offensive delete link more


I guess that's something that requires direct access to the host running nova or an admin account so is not really useful for a normal user.

ssbarnea gravatar imagessbarnea ( 2017-02-17 09:04:57 -0500 )edit

answered 2015-10-08 08:36:48 -0500

updated 2015-10-08 08:38:11 -0500

Yeah, in theory, you should only care about API version, but in practice, even slight package version mismatches can wreak havoc though... DAMHIKT

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-10-05 08:51:59 -0500

Seen: 3,387 times

Last updated: Jul 04 '16