- After migrating a managed Kubernetes cluster from a Tanzu Mission Control (TMC) SaaS environment to a TMC Self-managed environment, specific installed packages fail to reconcile.
- The package reconciliation process, typically managed by kapp-controller within the cluster, produces the following error message in the package installation status:
"Reconcile failed: Expected to find at least one version, but did not."
- This error signifies that the package manager cannot locate the manifest or metadata for the currently installed package version within the newly configured package repositories of the TMC Self-managed instance.
- To confirm the issue, inspect the contents of the package repository resource in the affected namespace:
Execute the following kubectl command, replacing <name_space> with the appropriate namespace:
kubectl get pkg -n <name_space>
Review the output and confirm that the package version currently installed on the cluster (the version expected to reconcile) is not listed in the available versions within the Repository resource's status.