Stuck Deleting a vSphere Supervisor Cluster? How to Fix NSX VPC Cleanup Error

Published by Jimmy Mankowitz on

So, there I was, trying to run a routine update on vCenter to 9.1.2.0. Simple enough, right? Well, vCenter immediately shut me down because my Supervisor version was out of whack. and reading all the KBs from Broadcom does not help since they require you to open a SR case, that is not possible when you do not have support from BC.

To get past the block, I decided to delete the Supervisor cluster. Instead of a clean removal, the deletion process completely stalled out. It turns out vCenter was getting hung up trying to delete the underlying NSX objects from NSX Manager.

If you are staring at a stuck Supervisor deletion right now, here is how to peel back the stuck NSX dependencies using the NSX Policy API and get your cluster removal moving again.

Step 1: Check the vCenter Logs

First, you need to confirm that an orphaned NSX object is holding up the line. SSH into your vCenter Server and check the stdstream.log.stdout log file.

In my case, I found a loop of errors that looked like this:

2026-12-03 09:19:35.000 INFO clean_service.go:198 VPC cleanup failed, requeuing maxRetries=12 requeues=1 vpcID=vmware-system-supervisor-services-vpc_r0p4a vpcPath=/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a
2026-12-03 09:19:45.000 INFO clean_service.go:144 Attempting to delete VPC vpcID=vmware-system-supervisor-services-vpc_r0p4a vpcPath=/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a
2026-12-03 09:19:45.000 ERROR clean_service.go:144 Failed to delete VPC on NSX error="nsx error code: 610791, message: VPC subnet path=[/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-c9912d6b_negrj] has existing subnet ports path=[/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-c9912d6b_negrj/ports/default:7fc1cacf-3100-4148-b282-682ed3496ab6]"

What this means: vCenter is trying to delete the Supervisor VPC, but NSX is blocking it (nsx error code: 610791) because there are still child objects hanging around inside it.

Step 2: Grab the VPC Path

From the error log, grab the parent VPC path that vCenter is struggling to delete:
/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a

We will use this path to query the NSX Policy API and work our way down the dependency tree.

Step 3: Peel Back and Delete the Child Objects via NSX Policy API

You can’t just delete the VPC right away—NSX won’t let you remove a parent object while children are still attached. Fire up your favorite REST client (like Postman or curl with basic auth) against your NSX Manager IP ( in the examples below) and follow the error breadcrumbs from the bottom up.
Follow this link on how to delete things in NSX API
https://knowledge.broadcom.com/external/article/429181/vpc-resources-remain-in-nsx-ui-after-vsp.html

Required Header: X-Allow-Overwrite: true

The X-Allow-Overwrite: true header allows a local administrator to override the Principal Identity lock and delete orphaned system-managed objects.

Check what is blocking the VPC
First, send a GET (or attempt a DELETE) on the VPC path to see every child object holding it up:

    GET https:///policy/api/v1/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a

    (Note: If you try a DELETE here right away, NSX will spit back a handy error listing all the blockers). In my environment, it revealed two subnets, an attachment, and a load balancer:

    {
    "error_message": "The object path=[/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a] cannot be deleted as either it has children or it is being referenced by other objects path=[/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-7f480abf_cdsnw, /orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/attachments/default, /orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-c9912d6b_negrj, /orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/vpc-lbs/default]"
    }
    1. Try deleting the subnets to find the lingering ports
      Next, try sending a DELETE request to the subnets listed in that error message:
    DELETE https:///policy/api/v1/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-7f480abf_cdsnw

    NSX will block this too, exposing the exact subnet port path at the bottom of the chain:

    {
    "error_message": "The object path=[/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-7f480abf_cdsnw] cannot be deleted as either it has children or it is being referenced by other objects path=[/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-7f480abf_cdsnw/ports/default:2a69006f-6549-46bb-9868-c4c460ce1f0c]"
    }
    1. Delete the subnet ports first
      Now that you have the exact port URLs, delete the ports for each stuck subnet. Notice the general API format uses /ports/{port-id}:
    DELETE https:///policy/api/v1/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-7f480abf_cdsnw/ports/default:2a69006f-6549-46bb-9868-c4c460ce1f0c

    Repeat the same process for the second subnet (pod-default-c9912d6b_negrj). Attempting a DELETE on it reveals its own lingering port (default:7fc1cacf-3100-4148-b282-682ed3496ab6), which you can wipe out with:

    DELETE https:///policy/api/v1/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-c9912d6b_negrj/ports/default:7fc1cacf-3100-4148-b282-682ed3496ab6
    1. Clean up the now-empty subnets (and any remaining VPC children)
      Once the ports are gone, re-run your DELETE requests on the subnets:
    DELETE https:///policy/api/v1/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-7f480abf_cdsnw
    DELETE https:///policy/api/v1/orgs/default/projects/default/vpcs/vmware-system-supervisor-services-vpc_r0p4a/subnets/pod-default-c9912d6b_negrj

    (Tip: If any other child objects from step 1—like /attachments/default or /vpc-lbs/default—don’t get cleaned up automatically, you can send DELETE requests to those paths as well before deleting the VPC itself).

    Step 4: Let vCenter Finish the Cleanup

    Once those stubborn subnet ports and child objects are cleared out, you don’t even need to restart the Supervisor deletion. As seen in the log (requeuing maxRetries=12), vCenter automatically retries the VPC cleanup every few seconds.

    Keep tailing stdstream.log.stdout. Within a minute or two, the retry worker will run again, see that the blockers are gone, delete the VPC, and finish removing your Supervisor cluster.

    Once that’s clear, you are free to kick off your vCenter 9.1.2.0 update!

    Categories: Uncategorized

    0 Comments

    Leave a Reply

    Avatar placeholder

    Your email address will not be published. Required fields are marked *

    Translate