openstackopenstack-horizon

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?


Solution

  • 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.