Contour Supervisor Service Stuck in Deactivated State with Delete Option Greyed Out
search cancel

Contour Supervisor Service Stuck in Deactivated State with Delete Option Greyed Out

book

Article ID: 436505

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • When attempting to uninstall or remove a Supervisor Service (e.g., contour.tanzu.vmware.com) from the Workload Management UI, the following symptoms occur:
    • The service status is stuck as Deactivated.
    • Clicking Confirm does not progress the removal.
    • The Delete button is greyed out.
  • In the vCenter Server logs at /var/log/vmware/wcp/wcpsvc.log, the following error is present: error wcp [appplatform/supervisorserviceversions.go:302] [opID=########] Failed to delete version '[VERSION]' of Supervisor Service [SERVICE_NAME] from DB: Cannot delete Supervisor Service version because it is installed on cluster(s): [CLUSTER_NAME].

Environment

VMware vCenter Server

Cause

The deactivation workflow is unable to complete because the Workload Control Plane (WCP) database still identifies the service as 'installed' on the supervisor cluster, even if it appears deactivated in the UI. This is typically due to a synchronization failure in the management plane.

Resolution

Reach out to Broadcom Support in case you encounter this issue.

 

To workaround this state, use the Data Center CLI (DCLI) to manually remove the service association from the supervisor cluster.

  1. Access DCLI: SSH into the vCenter Server Appliance and enter the interactive DCLI prompt:

    dcli +i

  2. Identify the Supervisor ID: List the supervisor clusters to find the ID for the affected cluster (e.g., supervisor-production):

    com vmware vcenter namespacemanagement supervisors summary list

  3. Verify Service Presence: Check if the stuck service is still associated with that specific Supervisor ID:

    com vmware vcenter namespacemanagement supervisors supervisorservices list --supervisor <SUPERVISOR_ID>

  4. Manually Delete the Service Association: If the service (e.g., contour.tanzu.vmware.com) is listed, run the delete command:

    com vmware vcenter namespacemanagement supervisors supervisorservices delete --supervisor <SUPERVISOR_ID> --supervisor-service <SERVICE_NAME>

  5. Verification: Wait approximately 5 minutes for the management plane to reconcile, then verify the service is no longer listed:

    com vmware vcenter namespacemanagement supervisors supervisorservices list --supervisor <SUPERVISOR_ID>

  6. Once removed via DCLI, the service should no longer appear in the vSphere Workload Management UI.