Upgrading Contrail Networking using contrail-ansible Deployer
This procedure can be used for Contrail Networking upgrades to Contrail Networking Release 2003 or earlier.
If you are upgrading to Contrail Networking Release 2005 or later using the Ansible deployer, see How to Perform a Zero Impact Contrail Networking Upgrade using the Ansible Deployer.
Use the following procedure to upgrade Contrail Networking using contrail-ansible deployer.
The procedure supports incremental model and you can use it to upgrade from Contrail Networking Release N-1 to N.
Take snapshots of your current configurations before you proceed with the upgrade process. For details, refer to How to Backup and Restore Contrail Databases in JSON Format.
- Navigate to the directory where the
Example using Contrail Networking Release 2003:
instances.yamlfiles for various other deployments are available at the same directory.
- Update CONTRAIL_VERSION and CONTRAIL_CONTAINER_TAG to the desired version tag in this
Access CONTRAIL_CONTAINER_TAG located at README Access to Contrail Networking Registry 20xx
CONTRAIL_VERSION = 2003.33
CONTRAIL_CONTAINER_TAG = 2003.33
- Run the following commands from
For Contrail with OpenStack deployment:
ansible-playbook -e orchestrator=openstack -i inventory/ playbooks/install_openstack.yml -v
ansible-playbook -e orchestrator=openstack -i inventory/ playbooks/install_contrail.yml -v
For Contrail with Kubernetes deployment:
ansible-playbook -e orchestrator=kubernetes -i inventory/ playbooks/install_k8s.yml -v
ansible-playbook -e orchestrator=kubernetes -i inventory/ playbooks/install_contrail.yml -v
The ansible playbook logs are available on the terminal during
execution. You can also access it at