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?
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With