...
- 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 zed 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
Neutron
API-nodes
- Add the following to the node-specific hiera-file for neutronapi-hosts:
- apache::mod::wsgi::package_name: 'libapache2-mod-wsgi-py3'
- apache::mod::wsgi::mod_path: '/usr/lib/apache2/modules/mod_wsgi.so'
apache::service_ensure: 'stopped'
- neutron::server::enabled: false
- Pick the first node, and run puppet with the zed modules/tags, Run
apt-get autoremove && apt-get dist-upgrade
- Run
neutron-db-manage upgrade --expand
...
- Remove the sines stopping neutron-server.service
...
- and apache2 int the hiera node-file, and re-run puppet
- Upgrade the rest of the API-nodes (repeating step 1, and 3)
- Stop all neutron-server processes for a moment, and run:
neutron-db-manage upgrade --contract
- Re-start the neutron-server processes
BGP-agents
Either you simply reinstall the node with yoga modules/tags; or you follow the following list:
- Run puppet with the yoga modules/tags
- Run
apt dist-upgrade
- Rerun puppet and restart the service
systemctl restart neutron-bgp-dragent.service
or simply reboot
Network-nodes
Either you simply reinstall the node with yoga modules/tags; or you follow the following list:
- Run puppet with the yoga modules/tags
- Run
apt dist-upgrade
- Rerun puppet and restart the service (or simply reboot the host).
systemctl restart ovsdb-server
systemctl restart neutron-dhcp-agent.service neutron-l3-agent.service neutron-metadata-agent.service neutron-openvswitch-agent.service neutron-ovs-cleanup.service
- Verify that routers on the node actually work.