...
- Select which glance-server to upgrade first.
- In the node-specific hiera for this host you should set:
apache::service_ensure: 'stopped'
- In the node-specific hiera for this host you should set:
- Run puppet with the 2023.1 modules/tags, run apt-get dist-upgrade, and run puppet again
- Remove the
apache::service_ensure: 'stopped'
from the node-specific hiera, and run puppet again. This would re-start the glance api-server on this host.- Test that this api-server works.
- Upgrade the rest of the glance hosts (ie; step 2 for each of the remaining glance hosts)
Cinder
To upgrade cinder without any downtime, follow this procedure
- Add the following three lines to the node-file of the first node you would like to upgrade:
apache::service_ensure: 'stopped'
cinder::scheduler::enabled: false
cinder::volume::enabled: false
- Run puppet with the 2023.1 modules/tags, run apt-get dist-upgrade, and run puppet again
- Run
cinder-manage db sync && cinder-manage db online_data_migrations
- Remove the lines added at step 1, re-run puppet, and test that the upgraded cinder version works.
- Perfom step 2 for the rest of the cinder nodes