Upgrading OpenSDN using In-Place Upgrade Procedure¶
- date:
2021-01-19
Note
This procedure can be used for OpenSDN upgrades to OpenSDN Release 2003 or earlier only.
If you are upgrading to OpenSDN Release 2005 or later using an in-place upgrade procedure, see How to Perform a Zero Impact OpenSDN Upgrade using the Ansible Deployer.
This document provides steps to upgrade OpenSDN using in-place upgrade procedure.
The procedure supports incremental model and you can use it to upgrade
from OpenSDN Release N-1
to N
.
Tip
You must take snapshots of your current system before proceeding with the upgrade process.
For a list of supported platforms for all OpenSDN releases, see OpenSDN Supported Platforms List .
Update kernel version on all the compute nodes.
yum -y update kernel*
Note
You must not update kernel version if you are upgrading from Contrail Networking Release 1910 to Release 1911.
Update
CONTRAIL_VERSION
andCONTRAIL_CONTAINER_TAG
to the desired version tag in thisinstances.yml
file.Access
CONTRAIL_CONTAINER_TAG
located at README Access to OpenSDN Registry 20xx .Run the following commands from
contrail-ansible-deployer
directory.For OpenSDN with OpenStack deployment:
cd contrail-ansible-deployer
ansible-playbook -i inventory/ -e orchestrator=openstack playbooks/configure_instances.yml
ansible-playbook -e orchestrator=openstack -i inventory/ playbooks/install_contrail.yml
Reboot the compute node.
Check the status of Contrail service on the compute node.
All services must be
active
.sudo contrail-status
The ansible playbook logs are available on the terminal during
execution. You can also access it at /var/log/ansible.log
.