This article summarizes the steps required to upgrade from the newton release to the queens release of openstack.
Prerequisites:
- This documents expects that your cloud is deployed with the latest newton tag(vP.0.0) of the ntnuopenstack repository.
- Your cloud is designed with one of the two architectures:
- Each openstack project have their own VM(s) for their services
- You have a recent mysql backup in case things go south.
VM-based architecture
If you use the VM based infrastructure you have the luxury of upgrading one service at a time and test that the upgrade works before doing the next service. This allows for ~zero downtime. If the services are redundantly deployed it is also very easy to do a rollback.
The recommended order to upgrade the services are listed below:
Keystone
- Run puppet with the queens modules/tags
- Run apt-get dist-upgrade
- If this fails you can try one of two things:
- Stop apache2
- Purge the keystone package
- If this fails you can try one of two things:
- Run puppet again
- Perform the DB sync
- keystone-manage db_sync
- Restart apache2