Ask Your Question
3

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
0

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

Comments

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
0

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

Comments

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
0

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
0

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

Comments

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

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

2 followers

Stats

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

Seen: 2,354 times

Last updated: Jul 04 '16