[Routing] Entity PolicyEdgeNode '####' can not be deleted as it is being referenced by entity(s): Transit Gateway 'Default Transit Gateway' (Error code: 10026) (Error code: 500157)
The object path=[/infra/sites/default/enforcement-points/default/edge-transport-nodes/####] cannot be deleted as either it has children or it is being referenced by other objects path=[/infra/sites/default/enforcement-points/default/edge-clusters/####/edge-nodes/####]
VCF NSX 9.1
The Edge cannot be deleted when there are dependent objects or references under them. If an Edge node is part of an Edge cluster referenced by a Transit gateway (TGW), removal is blocked.
You must remove the dependent objects to allow the edge to be removed.
Note: This operation will lead to traffic loss/interruption, if this is a production environment, plan to do the workaround in a maintenance window.
'Default Transit Gateway' was the one blocking the edge removal.Note: The 'x' to delete the HA Mode will only show once the Connection is removed (set to None), prior to this, you can only select a HA Mode (Active Standby or Active Active).
In VCF NSX 9.1, additional TGW's can be added, therefore the message above may list a different TGW name.
You need to ensure that once the operation is complete, there are enough edge nodes in the cluster to support the number of gateways.