Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 1.08 KB

README_ziu.md

File metadata and controls

18 lines (18 loc) · 1.08 KB

ZIU Ansible

Sequence of steps to perform Zero impact upgrade unsing ansible:

  1. Upgrade contrail_container_tag in instances.yaml to set proper version of contrail
  2. Run controller stage of ziu.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
  1. Run openstack stage of ziu.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
  1. Run contrail-status to check all works well
  2. 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.
  3. Run compute stage of ziu.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
  1. Repeat steps 5 and 6 for all groups of compute nodes