Ask Your Question
2

how to determine my Openstack release name

asked 2015-07-08 18:28:25 -0500

manishsehgal gravatar image

Hi There,

I am not able to determine the name of Openstack release running on my machine. I tried to match the output of nova package version with webpage listing release name and versions. But my nova package version does not have a match on that site.

stack@Selm:~$  nova-manage  --version

12.0.0

This package is not listed on following release site: https://wiki.openstack.org/wiki/Releases

Could someone please tell me how can I determine the release name running on my machine?

Thanks, Manish

edit retag flag offensive close merge delete

Comments

what is the output of

dpkg -l | grep nova-common

or

 rpm -qa|grep -i nova-common
fgorbat gravatar imagefgorbat ( 2015-07-09 09:20:51 -0500 )edit

I am running ubuntu 14.4. dpkg -l |grep nova-common did not provide any ouput. Here is output

stack@Selm:~$ dpkg -l | grep nova-common
stack@Selm:~$ 

stack@Selma-vRR:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
R
manishsehgal gravatar imagemanishsehgal ( 2015-07-09 09:40:47 -0500 )edit

find location of the nova-common

which nova-common
fgorbat gravatar imagefgorbat ( 2015-07-09 11:10:17 -0500 )edit

Nothing printed from that command: stack@Selm:/opt/stack/nova$ which nova-common stack@Selm:/opt/stack/nova$

stack@Selma-vRR:/opt/stack/nova$ git branch -la * master remotes/origin/HEAD -> origin/master remotes/origin/master remotes/origin/stable/juno remotes/origin/stable/kilo

manishsehgal gravatar imagemanishsehgal ( 2015-07-09 11:59:19 -0500 )edit

so, it is devstack?

fgorbat gravatar imagefgorbat ( 2015-07-09 13:33:51 -0500 )edit

4 answers

Sort by ยป oldest newest most voted
2

answered 2016-06-07 04:42:57 -0500

vishmule gravatar image

nova-manage --version is showing 12.0.0 means Liberty release as Liberty is 12th release of Openstack. Same as if you install Mitaka you will get 13.0.0.

edit flag offensive delete link more
2

answered 2015-07-09 20:28:46 -0500

nethawk gravatar image

updated 2015-07-09 20:32:17 -0500

You can do it like this:

[root@localhost neutron(keystone_admin)]# nova-manage shell python
Python 2.6.6 (r266:84292, Nov 22 2013, 12:16:22) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from nova import version
>>> version.version_string()
'2014.1.3'
>>>

Then you can check the 2014.1.3 release on https://wiki.openstack.org/wiki/Releases.

edit flag offensive delete link more

Comments

The link for openstack releases has changed. As of October 2016 it is https://releases.openstack.org/

gojun077 gravatar imagegojun077 ( 2016-10-29 00:50:02 -0500 )edit
1

answered 2015-07-09 21:19:03 -0500

manishsehgal gravatar image

Well above answers did not work. Finally an expert help came and here is their answer (that worked). Use the command "git branch -la". It will show a * in front of the release that is running on the system. Below is output from my machine.

stack@Selm:~/devstack$ git branch -la
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/stable/juno
  remotes/origin/stable/kilo
stack@Selm:~/devstack$

In above output * is in front of master. This means that my system is running the current release that was on devstack, which is liberty. Because I followed the following command during installation:

git clone https://git.openstack.org/openstack-dev/devstack

So my system got latest release i.e. liberty. liberty is currently master release so * is in front of master instead of juno or kilo. If some other stable release is required then use following command:

git clone https://git.openstack.org/openstack-dev/devstack  -b stable/juno
cd devstack
./stack.sh

It will install juno. And after that if we execute "git branch -la" then * will be in front of juno

edit flag offensive delete link more
0

answered 2016-06-07 04:18:33 -0500

The initial solution worked for me:

nova-manage  --version
12.0.0

But I had to search the different releases on the following page:

http://releases.openstack.org

for the corresponding nova package

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: 2015-07-08 18:28:25 -0500

Seen: 22,405 times

Last updated: Jun 07 '16