Supervisor Services fail to reconcile due to mgmt-image-proxy LoadBalancer VIP timeout awaiting response headers
search cancel

Supervisor Services fail to reconcile due to mgmt-image-proxy LoadBalancer VIP timeout awaiting response headers

book

Article ID: 429947

calendar_today

Updated On:

Products

VCF Automation VMware vSphere Kubernetes Service

Issue/Introduction

In VMware Cloud Foundation 9.0.1, the VKS Cluster Management Service may fail to reconcile on the vSphere Supervisor Cluster with a Reconcile failed status.

The VKS Cluster Management Service is automatically deployed when creating a region in VMware Cloud Foundation Automation 9.x.

The failure occurs during package reconciliation when vendir/imgpkg attempts to fetch container images from the mgmt-image-proxy service.

Symptoms:

  • Running the following command from a Supervisor control plane VM results in a timeout awaiting response headers or connection refused:
    curl -vk https://mgmt-image-proxy.kube-system.svc.cluster.local/v2/

  • Describe of Supervisor service or package installs of failed service, such as VKS Cluster Management Service has the following error:
    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://mgmt-image-proxy.kube-system.svc.cluster.local/v2/": net/http: timeout awaiting response headers; Get "http://mgmt-image-proxy.kube-system.svc.cluster.local/v2/": dial tcp <mgmt-image-proxy_LoadBalancer_VIP>:80: connect: connection refused .
     
  • Running the following command on Supervisor control plane VM shows the package svc-auto-attach.vksm.broadcom.com is not reconciling

kubectl -n vmware-system-supervisor-services get pkgi
NAME                                PACKAGE NAME                            PACKAGE VERSION           DESCRIPTION                                                            AGE
kube-state-metrics                  kube-state-metrics.vsphere.vmware.com   2.14.0-24825200           Reconcile succeeded                                                    67m
svc-auto-attach.vksm.broadcom.com   auto-attach.vksm.broadcom.com           0.1.0                     Reconcile failed: Error (see .status.usefulErrorMessage for details)   28m
svc-tkg.vsphere.vmware.com          tkg.vsphere.vmware.com                  3.4.1-embedded+v1.33      Reconcile succeeded                                                    55m
svc-velero.vsphere.vmware.com       velero.vsphere.vmware.com               1.8.2-embedded+24925800   Reconcile succeeded                                                    55m

  • Logs from the kubectl-plugin-vsphere pod on the Supervisor control plane VM show upstream timed out errors:

    YYYY/MM/DD 04:58:27 [error] 14#0: *658 upstream timed out (110: Connection timed out) while connecting to upstream, client: ##.##.##.##, server: mgmt-image-proxy. kube-system.svc.cluster.local, request: "GET /v2/ HTTP/1.1", upstream: https://<VCFA_IP>:443/v2/", host:"mgmt-image-proxy. kube-system. ayc. cluster. local'

    ##.##.##.## - - [18/Feb/2026:04:58:27 +0000] "GET /v2/ HTTP/1.1" 504 167 "-" "Go-http-client/1.1"

    ##.##.##.## - - [18/Feb/2026:04:58:48 +0000] "GET /v2/ HTTP/1.1" 499 0 "-" "Go-http-client/1.1"

Note:

To find kubectl-plugin-vsphere pod, run the following command on Supervisor control plane VM:

kubectl -n kube-system get pods | grep kubectl-plugin-vsphere-

To view the logs of kubectl-plugin-vsphere pod:

kubectl -n kube-system logs <kubectl-plugin-vsphere-POD-ID>

 

Environment

  • VCF 9.0.1
  • VCF 9.1
  • VMware vSphere Kubernetes Service

Cause

This issue occurs when the Supervisor Cluster cannot establish HTTPS connectivity to the VCF Automation appliance (VCFA) through the mgmt-image-proxy LoadBalancer VIP.

The mgmt-image-proxy service forwards image requests to the VCFA endpoint over HTTPS (port 443). If network communication is blocked (for example, by a firewall rule), the request times out, resulting in:

  • timeout awaiting response headers

  • connection refused

  • ReconcileFailed status for Supervisor services

Resolution

  • Engage the physical networking team to verify connectivity between:
    • Supervisor control plane VMs IP addresses
    • VCF Automation (VCFA) appliance IP address

  • Ensure that firewall rules allow HTTPS (TCP port 443) from Supervisor control plane nodes to VCFA appliance/VIP address(ip address seen in the kubectl-plugin-vsphere pod logs)