Installation Instructions to Patch the CSO Release 6.1.0
Perform the following steps to patch the CSO Release 6.1.0:
The following instructions are applicable only for CSO Release 6.1.0 On-Premises version.
- Download the following CSO Release 6.1.0 patch installer
packages from the CSO Downloads
page to the startupserver1 VM:
Contrail_Service_Orchestration_6.1.0-Hotpatch-V1.tar.gz
Contrail_Service_Orchestration_6.1.0-Hotpatch-V2.tar.gz
- Log in to the startupserver1 VM as root.
- On the startupserver1 VM, create the folder patch and
extract the installer packages.
root@host:~/# mkdir 6.1_patch
root@host:~/# cd 6.1_patch
root@host:~/6.1_patch#
root@host:~/6.1_patch# tar –xvzf Contrail_Service_Orchestration_6.1.0-Hotpatch-V1.tar.gz
root@host:~/6.1_patch# tar –xvzf Contrail_Service_Orchestration_6.1.0-Hotpatch-V2.tar.gz
The contents of the installer package are extracted in a directory with the same name as the installer package.
- Install patch 1:
Navigate to the
Contrail_Service_Orchestration_6.1.0-Hotpatch-V1
directory.root@host:~/6.1_patch# cd Contrail_Service_Orchestration_6.1.0-Hotpatch-V1
Run the patch.sh script.
root@host:~/6.1_patch/Contrail_Service_Orchestration_6.1.0-Hotpatch-V1# ./patch.sh
- Install patch 2:
Navigate to the
Contrail_Service_Orchestration_6.1.0-Hotpatch-V2
directory.root@host:~/6.1_patch# cd Contrail_Service_Orchestration_6.1.0-Hotpatch-V2
Run the patch.sh script.
- Update the ETCD key:
Run the following commands:
kubectl -n infra exec -it etcd-etcd-0 -- bash -c "export ETCDCTL_API=2 && etcdctl set /cms/configdeploytimeout 1500"
kubectl -n infra exec -it etcd-etcd-0 -- bash -c "export ETCDCTL_API=2 && etcdctl set /pslam/rpc/publish/retry 4"
kubectl -n infra exec -it etcd-etcd-0 -- bash -c "export ETCDCTL_API=2 && etcdctl set /pslam/rpc/publish/sleep 150"
Restart the cms-regional pods for both API and core:
kubectl delete pods -n regional --grace-period=0 --force -l microservice=csp.csp-dms-cms-inv-regional
kubectl delete pods -n regional --grace-period=0 --force -l microservice=csp.csp-dms-cms-inv-regional-core
Restart the pslam pods for both API and core:
kubectl delete pods -n central --grace-period=0 --force -l microservice=csp.csp-hybrid-routing-pslam
kubectl delete pods -n central --grace-period=0 --force -l microservice=csp.csp-hybrid-routing-pslam-core
Update the ETCD key for policy management:
kubectl -n infra exec -it etcd-etcd-0 -- bash -c 'export ETCDCTL_API=2 && etcdctl set /policymgmt/deployment/jobtimeout 120'
Restart the Policy-Mgmt pods for both API and core:
kubectl delete pods -n central --grace-period=0 --force -l microservice=csp.csp-policy-mgmt-shared-core
kubectl delete pods -n central --grace-period=0 --force -l microservice=csp.csp-policy-mgmt-shared-ipam