Ask Your Question

How to Upgrage openstack kilo to rocky

asked 2018-11-27 04:50:59 -0600

John Bernad gravatar image

Hello Experts,

My existing environment runs on Ubuntu 14.04 and openStack Kilo. The controller node is a virtual machine and the we have 4 compute nodes which are physical servers.

The management is planning to upgrade the openstack to the latest rocky version that would indeed need to upgrade ubuntu to the latest 16.04LTS.

Can you help me out with the best way to approach this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-11-27 05:28:39 -0600

updated 2018-11-27 05:30:11 -0600

planning an OpenStack upgrade

The following points will help you plan for a successful OpenStack upgrade:

Identify any potential incompatibilities between releases by reading the OpenStack release notes.

Decide on the appropriate method for the upgrade.

Ensure that you are able to roll back if the upgrade fails.

Ensure that your data is backed up, including configuration files and databases.

Based on SLAs for your services, determine the acceptable downtime and inform users about the downtime in advance.

Use a test environment to verify that the selected upgrade method will work for your production environment.


Before you upgrade, clean the environment to ensure a consistent state. For example, if some instances are not fully purged from the system after deletion, unexpected behavior might occur.

For environments using the OpenStack Networking service (neutron), verify the release version of the database.

Taking a Backup

Take a backup of the current configurations and database. Save the configuration files on all nodes. Upgrading OpenStack Sequence for upgrading services

The sequence for upgrading the OpenStack services is important as upgrading services in wrong order can break the cloud easily. The following order is recommended:

Upgrade database
Upgrade RabbitMQ
Upgrade Memcached
Upgrade OpenStack Identity service (Keystone)
Upgrade the OpenStack image service (Glance)
Upgrade OpenStack compute (Nova)
Upgrade OpenStack networking (Neutron)
Upgrade the OpenStack dashboard (Horizon)
Upgrade the OpenStack orchestration (Heat)

refer to :

refer to:

edit flag offensive delete link more


Thank you Eranachandran for the prompt reply. really appreciate.

John Bernad gravatar imageJohn Bernad ( 2018-11-27 05:59:30 -0600 )edit

answered 2018-11-27 05:39:38 -0600

updated 2018-11-27 05:42:11 -0600

Three options in my opinion:

Go Kilo-Liberty-Mitaka-Newton-Ocata-Pike-Rocky. Some distros allow jumping over a release, Helion OpenStack for example, which can go from Newton to Pike (with downtime). SUSE OpenStack cloud as well, I think. The main problem is that each release has a different database schema, and schema conversion tools only exist for going from release N to N+1.

Build an equivalent Rocky cloud in parallel to your Kilo cloud, copy all resources (instances, images, networks, volumes, ...) to it, then switch clouds. Requires more servers and storage, but no or little downtime.

Stop the cloud, save all resources, build the Rocky cloud, restore the resources. Downtime, but no need for additional servers.

Or option 2b, run the Kilo cloud on half of the servers, install Rocky on the other half, copy resources, switch, add the former Kilo servers to the Rocky cloud. No downtime, or partial downtime if you freeze the less important instances.

edit flag offensive delete link more


Thank you bernad,

so if i plan to install rocky stack in parallel and then migrate the resources, how do we cover migration of all the areas in openStack starting from tenant's, users, roles, networks, routers, images, instances etc?

John Bernad gravatar imageJohn Bernad ( 2018-11-27 05:57:57 -0600 )edit

List everything, then re-create everything on the Rocky cloud.

You can create instance snapshots and copy those to the other cloud. For volumes, I'd say the best approach depends on the backend(s) you use. I would make volume copies using the backend, then include them in the new cloud.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-27 22:54:01 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-27 04:50:59 -0600

Seen: 284 times

Last updated: Nov 27 '18