Supervisor Upgrade Stuck at Bootstrap Phase Due to svchost Deadlock - vSphere Kubernetes Service
search cancel

Supervisor Upgrade Stuck at Bootstrap Phase Due to svchost Deadlock - vSphere Kubernetes Service

book

Article ID: 438026

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service VMware vSphere ESXi

Issue/Introduction

  • During a vSphere Kubernetes Service (VKS) Supervisor upgrade, the process becomes stuck when deploying a new Workload Control Plane (WCP) node. The new node is deployed but remains hung at the bootstrap phase, unable to proceed with configure-wcp or join the VKS cluster.
  • In the Supervisor menu within vCenter it shows as similar status such as:

    Configured Supervisor Control plane VM as Kubernetes Control Plane Node
    Configuration error (since ########)
    System error occurred on Master node with identifier ######. Details: Base configuration of node ######. failed as a Kubernetes node. See /var/log/vmware-imc/configure-wcp.stderr on control plane node ###### for more information.

  • The /var/log/update-controller/sync.log file on the stuck node displays the following:

    Waiting for signed bootstrapper certificate at: /dev/shm/bootstrap/wcp_node_bootstrapper.crt

  • Additionally, the /var/log/vmware/svchost/stderr.log file on the healthy nodes contains the following error:

    POTENTIAL DEADLOCK: Duplicate locking, saw callers this locks in one goroutine.

Environment

vSphere Kubernetes Service 8.0 U3

Cause

WCP continuously attempts to process the certificate signing request (wcp_node_bootstrapper-<node>.csr) but fails to obtain the signed certificate because the svchost service on the existing healthy nodes has encountered a deadlock.

Resolution

  1. Log in to a healthy Supervisor nodes via SSH.

  2. Verify if the svchost service is "active" and running:

    systemctl status svchost
  3. If this is not the case, restart the svchost service on the node by running the following command:

    systemctl restart svchost

  4. Verify the service is running correctly now:

    systemctl status svchost

  5. Perform steps 1-4 for the remaining Supervisor nodes as applicable.
  6. Monitor the deployment status of the stuck node. The upgrade process should automatically resume and complete successfully.

  7. If the node does not automatically recover after restarting the services, reach out to Broadcom Support.

Additional Information

Refer to the "Known Issues" (Supervisor stuck in configuring state after restore due to potential svchost issues) section in vSphere Supervisor 8.0 Release Notes