The Uploading Upgrade Package assists you with uploading the upgrade/patch package for VMware Telco Cloud Operations system using command-line interface and user interface.
Procedure
- Run the following commands from a host with SSH access to the Control Plane Node:
ssh clusteradmin@control-plane-ip docker tag registry.cluster.omega.local:8443/omega/omega-patching-runner:1.0.0-2 registry.cluster.omega.local:8443/omega/omega-patching-runner:latest ssh clusteradmin@control-plane-ip docker push registry.cluster.omega.local:8443/omega/omega-patching-runner:latest
Note: You must run the earlier mentioned commands before installing a patch for the first time. - To create a directory on the control plane node, run the following commands:
$ ssh clusteradmin@control-plane-ip
, For example:ssh [email protected]
$ mkdir upgrade-package
- Copy the package to the control plane node of the VMware Telco Cloud Operations.
$ scp <patching file name>.tar.gz clusteradmin@control-plane-ip:/home/clusteradmin/upgrade-package
For example:scp patch-v101.tar.gz [email protected]:/home/clusteradmin/upgrade-package
- Copy the package from the main nodes VM, to the container location: /var/data/tco/sys-upgrade:
- Find patching service, by using command:
$ kubectl get pods -n vmware-smarts |grep patching
, where you find the patching service ID such as: omega-patching-rest-566cf497bb-ddzxw - Create a directory, by using command:
$ kubectl -n vmware-smarts exec -it patching-service-ID -- mkdir -p /var/data/tco/sys-upgrade/
For example:
kubectl -n vmware-smarts exec -it omega-patching-rest-566cf497bb-ddzxw -- mkdir -p /var/data/tco/sys-upgrade/
- Verify the directory, by using command:
$ kubectl -n vmware-smarts exec -it patching-service-ID -- ls /var/data/tco/sys-upgrade/
For example:
kubectl -n vmware-smarts exec -it omega-patching-rest-566cf497bb-ddzxw -- ls /var/data/tco/sys-upgrade
- Copy the package into the container, using command:
$ kubectl -n vmware-smarts cp /home/clusteradmin/upgrade-package/your-package.tar.gz patching-service-ID:/var/data/tco/sys-upgrade/your-package.tar.gz
For example:
kubectl -n vmware-smarts cp /home/clusteradmin/upgrade-package/patch-v101.tar.gz omega-patching-rest-566cf497bb-ddzxw:/var/data/tco/sys-upgrade/patch-v101.tar.gz
- Go to https://Control Plane Node IP.
- Navigate to Administration > System Upgrade.
- Click Check For Update.
All the available patches which were uploaded to the patching service are listed.
- Find patching service, by using command: