Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get openstack version using Horizon or Openstack client?

How to get OpenStack version using Horizon or OpenStack client?

When I ran the command openstack --version, I got below output :

openstack 3.15.0

Now from this, how we can get which relesae of openstack it is e.g. newton, kilo?

Another question, if I have access to Horizon dashbord, is it possible to get the version of openstack from UI?

like image 355
sauumum Avatar asked Jul 13 '18 15:07

sauumum


2 Answers

nova-manage --version will give you the OpenStack version. The output will be a number which corresponds to letter in the alphabet. For example if output is 18 then its OpenStack ROCKY Version, since 18 corresponds to 18th letter in the alphabet.

17- Queen 
18- Rocky
19- Stein
like image 121
spoorthi vaidya Avatar answered Oct 02 '22 21:10

spoorthi vaidya


I think it's worth noting that openstack --version from the command line is only going to give you the version of the openstack client on the system you're looking at. openstack host list or nova service-list might give you a better idea of where openstack services are running in your openstack deployment.

I don't recall seeing a way to see specific OpenStack service versions through Horizon. From the command line on a given service's host (like nova, neutron, cinder, keystone), you should be able to list the packages as installed.

I think the canonical installation uses the distribution's package manager:

For yum-based systems like rhel and centos

sudo yum list installed | grep openstack
sudo yum list installed | grep nova

For aptitude-based systems

sudo dpkg -l | grep openstack
sudo dpkg -l | grep nova 

From there, you'll have to cross reference the release with the version from the OpenStack documentation. Nova version 14 would be the Newton release, for instance. See the nova versions here. For the list of releases, look here.

like image 36
burling Avatar answered Oct 02 '22 20:10

burling