When performing the Scale up operation on a Management Cluster using TCA UI You might see the below error:
From the TCA UI Everything Shows green even the Kubernetes status on the Dashboard of the TCA-CP:
While running show mc command on CCLI we may see the below error:
While checking the Tanzu Plugin we can see that the below 3 Plugins are showing as Not installed:
Management cluster upgrade ran successfully using kbs api which internally uses tanzu cli command with airgap server data provided as environment variables. tanzu cli scaled management cluster pods images from the airgap server during upgrade. However, once the nodes are upgraded tanzu cli installs/upgrade context related plugins. Context related plugins are plugins associated with management cluster namely, “cluster”, “feature”, “kubernetes-release”. These plugins are required for management cluster scale operation post creation or upgrade. During context plugin upgrade tanzu cli tries to pull plugin images from airgap server but it fails. Tanzu cli fails with error “untrusted registry” as mentioned in the screenshot above. Then, perhaps cli uses default registry url which is projects.registry url. Since this is an airgapped scenario default url is not reachable. Hence, after upgrade completes context plugins are not installed using any of the sources.
Resolution:
From TCA-CP: Run the below command:
TKG_CUSTOM_IMAGE_REPOSITORY_SKIP_TLS_VERIFY=true
export TKG_CUSTOM_IMAGE_REPOSITORY_SKIP_TLS_VERIFY=true
Post this Run the below command to sync-up:
tanzu plugin sync