Sequence of steps to perform Zero impact upgrade unsing ansible:
- Upgrade contrail_container_tag in instances.yaml to set proper version of contrail
- Run
controller
stage ofziu.yml
playbook to upgrade the control plane:
sudo -E ansible-playbook -v -e stage=controller -e orchestrator=openstack -e config_file=../instances.yaml playbooks/ziu.yml
- Run
openstack
stage ofziu.yml
playbook to upgrade openstack plugin
sudo -E ansible-playbook -v -e stage=openstack -e orchestrator=openstack -e config_file=../instances.yaml playbooks/ziu.yml
- Run contrail-status to check all works well
- Migrate workloads VM from one group of compute nodes. Leave them uncommented in the instances.yaml. Comment other computes not ready to upgrаde in instances.yaml.
- Run
compute
stage ofziu.yml
playbook to upgrade compute nodes (group that uncommented in instances.yml).
sudo -E ansible-playbook -v -e stage=compute -e orchestrator=openstack -e config_file=../instances.yaml playbooks/ziu.yml
- Repeat steps 5 and 6 for all groups of compute nodes