CLI or Steps to find installed OpenStack version
Hi All, Looking for the steps to find out which release/version of OpenStack from the below link, is installed on a Server. https://releases.openstack.org/ Thanks, Manohar
Hi, To get the installed Openstack version is not easy as all the components (Nova, Neutron, Glance, Keystone ....etc) has different version. One way can be to check the Nova microversion: https://docs.openstack.org/nova/latest/reference/api-microversion-history.ht... In my env I fetched a token from keystone, and fetched the microversions from Nova API: $ export TOKEN="$( openstack token issue -f value -c id )" $ curl -s -H "X-Auth-Token: $TOKEN" http://127.0.0.1:80/compute/v2.1/ .... "version" : "2.96" } You can check the above page for the version of your environment. Best wishes Lajos Katona (lajoskatona) Manohar Kundapura (makundap) <makundap@cisco.com> ezt írta (időpont: 2024. nov. 15., P, 6:56):
Hi All,
Looking for the steps to find out which release/version of OpenStack from the below link, is installed on a Server.
https://releases.openstack.org/
Thanks,
Manohar
On 15/11/2024 10:29, Lajos Katona wrote:
Hi, To get the installed Openstack version is not easy as all the components (Nova, Neutron, Glance, Keystone ....etc) has different version. One way can be to check the Nova microversion: https://docs.openstack.org/nova/latest/reference/api-microversion-history.ht...
In my env I fetched a token from keystone, and fetched the microversions from Nova API: $ export TOKEN="$( openstack token issue -f value -c id )" $ curl -s -H "X-Auth-Token: $TOKEN" http://127.0.0.1:80/compute/v2.1/ <http://127.0.0.1:80/compute/v2.1/> .... "version" : "2.96" } You can check the above page for the version of your environment.
actully the microverion endpoint is basically the only one that does not require a token. but yes as a user of a cloud, if you dont have any way to ask the operator what version they are on hitting the microversion endpoint of some of the services is a good option. nova does nto alwasy have api chagnes each cycle but if you check a couple of services you likely can figure it out this way. the reason this is hard in generall is openstack is desgined to allow you to mix diffent verisons i.e. by designg you can have diffent version deploy for each service and in somecase within a service. so there is not necessarily one openstack version for the cloud even if that is typically what you will find in production. a lot fo larger deployment will do upgrades one service at a time so its not uncommon for there to be a mix for a time period while they are compelteing that for each service.
Best wishes Lajos Katona (lajoskatona)
Manohar Kundapura (makundap) <makundap@cisco.com> ezt írta (időpont: 2024. nov. 15., P, 6:56):
Hi All,
Looking for the steps to find out which release/version of OpenStack from the below link, is installed on a Server.
https://releases.openstack.org/
Thanks,
Manohar
participants (3)
-
Lajos Katona
-
Manohar Kundapura (makundap)
-
Sean Mooney