Error: Fetching image: Error while preparing a transport to talk with the registry...
search cancel

Error: Fetching image: Error while preparing a transport to talk with the registry...

book

Article ID: 447862

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

An install or deployment of a VMware Cloud Foundation (VCF) regional service component fails during reconciliation. The user interface flags a SupervisorService as Unhealthy, displaying the following detailed error message:

requeue after 1m0s Unhealthy supervisor returned error status: Reason: ReconcileFailed. Message: vendir: Error: Syncing directory '0': Syncing directory '.' with imgpkgBundle contents: Fetching image: Error while preparing a transport to talk with the registry: Unable to create round tripper: Get "[https://depot.kube-system.svc/v2/](https://depot.kube-system.svc/v2/)": dial tcp: lookup depot.kube-system.svc on <REDACTED_IP>:53: no such host .

The local Harbor instance inside the host Supervisor cluster fails because the underlying local depot service prerequisite is missing. Because the regional Harbor installation process is responsible for deploying and configuring this depot service, a failure at this stage indicates a broken or incomplete Supervisor service install attempt due to missing regional prerequisites.

Environment

  • VCF Operations/Automation (formerly VMware Aria Suite)
  • VMware vSphere Kubernetes Service

Cause

A Harbor Supervisor Service deployment attempt failed on the host Supervisor cluster because the required regional Harbor repository and depot service dependencies were not pre-configured.

Resolution

  1. Connect with the cluster administrator to confirm that the pre-existing, unhealthy Harbor Supervisor Service represents a failed initial setup attempt and does not contain any active production workloads or user data.
  2. Once the configuration is verified as an inactive greenfield failure, navigate to the host Supervisor under Workload Management in the vSphere Client.
  3. Manually uninstall and remove the failed greenfield Harbor Supervisor Service to purge the broken configuration elements.
  4. Deploy the Regional Harbor via VMware Cloud Foundation Automation, which automatically adds the correct routing architecture and initializes the missing depot.kube-system.svc service mapping. See Additional Information for detailed steps.


 

Additional Information