While creating TKGM clusters process failed with the following errors.Error from server (Forbidden): error when creating "/tmp/kubeapply-######": admission webhook "tkr-vsphere-resolver-webhook.tanzu.vmware.com" denied the request: unable to find VM Template associated with OVA Version v####.. Please upload at least one VM Template to continue: exit status 1, retrying
TKGM 2.5.x
An OS metadata mismatch exists between the cluster configuration YAML (requesting RHEL) and the vSphere template vApp properties (which default to photon or ubuntu).
Navigate to the VM template in vCenter.
1.Go to Configure > vApp Options.
2.Add or update the following properties to match the values from the YAML:
OS_NAME: <osname>
OS_VERSION: <osversion>
OS_ARCH: <cpudetails>
Example:
OS_NAME: rhel
OS_VERSION: 9
OS_ARCH: amd64
3.Purge the local kind bootstrap cache and retry the deployment.