NAPP deployment has failed at guest cluster setup with error "No compatible TKR present".
search cancel

NAPP deployment has failed at guest cluster setup with error "No compatible TKR present".

book

Article ID: 379335

calendar_today

Updated On:

Products

VMware vDefend Firewall with Advanced Threat Prevention

Issue/Introduction

 when on the step to Create/Update Guest Cluster while tryign to deploy NAPP 4.2 using NAPPAA 4.2  failed with Error while fetching TKR image v1.27.6---vmware.1-fips.1-tkg.1 deploy log. 

napp-deploy.log shows below error: 

{"function":"WaitForVirtualMachineImages","level":"debug","msg":"Error while fetching TKR image v1.27.6---vmware.1-fips.1-tkg.1. Error is: tanzukubernetesreleases.run.tanzu.vmware.com \"v1.27.6---vmware.1-fips.1-tkg.1\" not found.","time":"2024-10-08T13:29:56Z"}{"function":"WaitForVirtualMachineImages","level":"debug","msg":"TKR v1.27.6---vmware.1-fips.1-tkg.1 did not show up on supervisor cluster. Max retries exhausted for instance nsx.","time":"2024-10-08T13:29:56Z"}

Cause

"kubectl get tkr" output show only 2 images v1.26.5---vmware.2-fips.1-tkg.1 and v1.23.8---vmware.3-tkg.1 and doesn't show v1.27.6---vmware.1-fips.1-tkg.1, even though all 3 images were uploaded and VC UI shows OB size for v1.27.6---vmware.1-fips.1-tkg.1 image in NSX content library.

Resolution

1. SSH into NAPPAA VM
2. Remove 1.27.6 version from /opt/napp/config/settings.json

/opt/napp/config/settings.json:
{
  "TkrSupportMatrix": [
    {
      "name": "v1.23.8---vmware.3-tkg.1",
      "image": "ob-20953521-tkgs-ova-photon-3-v1.23.8---vmware.3-tkg.1",
      "compatible_napps": [
        "4.1",
        "4.1.2",
        "4.2"
      ],
      "CompatibleNSXs": [
        "4.1.2.1.0"
      ],
      "tools": "kubernetes-tools-1.23.3-00_3.8.0-1.tar.gz"
    }
  ]
}

3. Continue deployment by clicking on “UPDATE & REDEPLOY" button under Deploy TKG page on UI.