...
- Run puppet on the first host with rocky modules/tags
- Stop puppet, apache2 and the cinder-services
- Run
apt dist-upgrade
- Run
cinder-manage db sync
- In hiera, add
cinder::keystone::authtoken::www_authenticate_uri: "%{alias('ntnuopenstack::keystone::auth::uri')}"
- And Remove
cinder::keystone::authtoken::auth_uri: "%{alias('ntnuopenstack::keystone::auth::uri')}"
- And Remove
- Re-run puppet
- Repeat steps 1-3 and 6 on the rest of the cinder nodes
Neutron
To upgrade neutron without any downtime, follow this procedure
On the API-nodes
- Pick the first node, and run puppet with the rocky modules/tags
- Run
apt dist-upgrade
- Run
neutron-db-manage upgrade --expand
- Restart neutron-server.service and rerun puppet
- Upgrade the rest of the API-nodes (repeating step 1-4)
- When all API-nodes are upgraded, run neutron-db-mange has_offline_migrations
- When the above command reports "
No offline migrations pending
" it is safe to: - Run
neutron-db-manage upgrade --contract
- When the above command reports "
On the network nodes
- Run puppet with the rocky modules/tags
- Run
apt dist-upgrade
- Rerun puppet and restart the service
systemctl restart neutron-dhcp-agent.service neutron-l3-agent.service neutron-lbaasv2-agent.service neutron-metadata-agent.service neutron-openvswitch-agent.service neutron-ovs-cleanup.service
Heat
The rolling upgrade procedure for heat includes a step where you are supposed to create a new rabbit vhost. I don't want that. Therefore, this is the cold upgrade steps
...