...
- Select which glance-server to upgrade first.
- In the node-specific hiera for this host you should set:
glance::api::enabled: false
followed by a puppet-run. This would stop the glance-api service on the host.
- In the node-specific hiera for this host you should set:
- Do one of these two alternatives:
- Run puppet
- with the
- victoria modules/tags
- , run apt-get dist-upgrade
- , and run puppet again
- Reinstall the node with the victoria modules/tags
- Run
glance-manage db expand
- Run
glance-manage db migrate
- Remove the
glance::api::enable: false
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 -4 for each of the remaining glance hosts)
- Run
glance-manage db contract
on one of the glance-nodes.
...