"Error: packageinstall/harbor (packaging.carvel.dev/v1alpha1) namespace: user-packages: Reconciling: . Reconcile failed: Expected to find at least one version, but did not" error encountered while upgrading harbor
search cancel

"Error: packageinstall/harbor (packaging.carvel.dev/v1alpha1) namespace: user-packages: Reconciling: . Reconcile failed: Expected to find at least one version, but did not" error encountered while upgrading harbor

book

Article ID: 439634

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Management

Issue/Introduction

Attempting to update the Harbor package on a Tanzu Kubernetes Grid (TKG) cluster to apply new certificate values results in a reconciliation failure. The process halts with the following error:

Error: packageinstall/harbor (packaging.carvel.dev/v1alpha1) namespace: user-packages: Reconciling: . Reconcile failed: Expected to find at least one version, but did not

root@<REDACTED_HOSTNAMES>:/home/hcluser/Desktop/Tanzu_DR/kube-config/shared-srv# tanzu package installed update harbor --version 2.8.4+vmware.1-tkg.1 --values-file harbor-data-values-2026.yaml --namespace user-packages

1:34:32AM: Pausing reconciliation for package installation 'harbor' in namespace 'user-packages'
1:34:33AM: Updating secret 'harbor-user-packages-values'
1:34:33AM: Creating overlay secrets
1:34:33AM: Resuming reconciliation for package installation 'harbor' in namespace 'user-packages'
1:34:33AM: Waiting for PackageInstall reconciliation for 'harbor'
Error: packageinstall/harbor (packaging.carvel.dev/v1alpha1) namespace: user-packages: Reconciling: . Reconcile failed: Expected to find at least one version, but did not

Environment

Tanzu Kubernetes Grid Management 2.5.x

Cause

The kapp-controller cannot locate the requested package manifest version because the required package repository (e.g., tanzu-standard) is missing, unreachable, or incorrectly configured to point to the wrong image path (such as a core repository instead of a standard repository).

Resolution

  1. Validate the available Harbor versions by querying the active package repository:
    tanzu package available list harbor.tanzu.vmware.com -n user-packages

  2. Verify the configured repositories to ensure the tanzu-standard repository is present and actively reconciling:
    tanzu package repository list -A

  3. If the repository is missing or misconfigured, add or update the tanzu-standard repository to point to the correct TKG standard repository URL matching the cluster version:
    tanzu package repository add tanzu-standard \
      --url projects.registry.vmware.com/tkg/packages/standard/repo:<VERSION_REQUIRED> \
      -n tkg-system

  4. Confirm the repository has reconciled successfully and the target Harbor version is now available in the index:
    tanzu package available list harbor.tanzu.vmware.com -A

  5. Re-run the Harbor package update command:
    tanzu package installed update harbor \
      --version 2.8.4+vmware.1-tkg.1 \
      --values-file harbor-data-values-2026.yaml \
      --namespace user-packages