Update photon repositories to packages.vmware.com
search cancel

Update photon repositories to packages.vmware.com

book

Article ID: 337598

calendar_today

Updated On:

Products

VMware Telco Cloud Operations

Issue/Introduction

Manual changes required to perform the operations on k8s clusters.

Symptoms:
  • Unable to update add-on/upgrade nodepool for 1.17.3 and 1.18.2 k8s workload cluster.
  • Unable to upgrade management cluster if it is managing 1.17.3/1.18.2 workload cluster.
  • In UI the error message shows as unable to download nfs-util or any other package. 


Environment

1.x

Cause

Photon OS repositories changed. Because of this for any existing deployments, manual changes are required.

Resolution

All new cluster deployments will not face this issue. For existing clusters with the below mentioned versions this change is mandatory.

  • TCA 1.7 and TCA 1.8 with workload cluster versions 1.17.3 and 1.18.2



Workaround:
For 1.17.3/1.18.2 K8 clusters below information needs to be changed on each cluster nodes.

  • Login to each node of k8s cluster and make the changes;
root [ /home/capv ]# cat /etc/yum.repos.d/photon.repo
[photon]
name=VMware Photon Linux 3.0(x86_64)
baseurl=https://dl.bintray.com/vmware/photon_release_$releasever_$basearch
gpgkey=file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY
gpgcheck=1
enabled=1
skip_if_unavailable=True

to
 
root [ /home/capv ]# cat /etc/yum.repos.d/photon.repo
[photon]
name=VMware Photon Linux 3.0(x86_64)
baseurl=https://packages.vmware.com/photon/$releasever/photon_release_$releasever_$basearch
gpgkey=file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY
gpgcheck=1
enabled=1
skip_if_unavailable=True