[upgrade][openstack] OpenStack Upgrade Procedure
Hello, I need to upgrade an OpenStack installation for the first time. The system Admin who performed the original installation is no longer available. How can I determine the current OpenStack version, modules installed, type of installation, and networking paradigm from OpenStack Horizon? Once determined, where I can find the appropriate upgrade procedure? Thank you. -ammar
Hey, So you can try to determine OpenStack version using available microAPI versions. As you're using horizon, you can navigate to Project -> API Access, and you will see bunch of URLs which represent OpenStack projects. You can follow these URLs either in your browser or via cURL, and you should get a response with available microversions. Ie, if you follow Nova link you will see smth like that: { "version": { "id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [ ..... } So the current microapi version for Nova is 2.96. Now you can check MicroAPI version history (https://docs.openstack.org/nova/latest/reference/api-microversion-history.ht...) and figure out a release for Nova. So in this case 2.96 stands for either Caracal or Dalmatian. And you can follow the same process for other regions to come up with a ballpark of numbers if you don't really know where to start. So while it's not the most precise method and won't really tell you exact package versions, at least you should be able to figure out where in release cadence you are. Precise method of detecting the release would highly depend on the deployment tool that was used. And this is something which can not be seen from Horizon and needs some kind of reverse engineering. Do you have docker, k8s, lxc containers or OpenStack is just installed from distro-provided packages? Or are there virtualenvs used? So you need to gather as much details on your systems as possible to come up with an idea how OpenStack was installed, as there are quite some ways of doing that. Hope this helps. сб, 21 сент. 2024 г. в 10:23, Ammar Al-Sayegh <atalsayegh@gmail.com>:
Hello,
I need to upgrade an OpenStack installation for the first time. The system Admin who performed the original installation is no longer available. How can I determine the current OpenStack version, modules installed, type of installation, and networking paradigm from OpenStack Horizon? Once determined, where I can find the appropriate upgrade procedure?
Thank you.
-ammar
participants (2)
-
Ammar Al-Sayegh
-
Dmitriy Rabotyagov