Edge cluster <UUID> with selected edge node <edge node uuid> is hosting tier-1 services for kubernetes-workload management.
Unable to edit the T1 and or DHCP server instance in SDDC Manager.
InvalidRequest .... /edge-nodes/1 can not be deleted as it is being referenced by entity(s):LogicalDhcpServer/.....
NSX
VCF
vSphere with Tanzu
This is due to WCP/Kubernetes objects being configured to use the selected Edge cluster. WCP configurations are treated as protected objects in NSX and cannot be removed/edited via the UI. This is per design and not a BUG.
The below steps will allow users to attempt to workaround this limitation without performing a "scale-up/scaled-down" of their WCP enviornment. This procedure should be tested in a staging/lab enviornment prior to implementing in a production cluster.
Get cluster edge path
GET https://<nsx-manager-fqdn/api/v1/infra/sites/default/enforcement-points/default/edge-clusters/
Example:
{
"nsx_id": "########-####-####-####-########",
"inter_site_forwarding_enabled": false,
"member_node_type": "EDGE_NODE",
"resource_type": "PolicyEdgeCluster",
"id": "########-####-####-####-########",
"display_name": ",Edge-Cluster-Name",
"tags": [],
"path": "/infra/sites/default/enforcement-points/default/edge-clusters/########-####-####-####-########", < -- Copy this path
GET https://<nsx-manager-fqdn>/policy/api/v1/infra/tier-1s/
{
"results": [
{
"tier0_path": "/infra/tier-0s/Tier0-name",
"failover_mode": "NON_PREEMPTIVE",
"enable_standby_relocation": false,
...
},
"resource_type": "Tier1",
"id": "domain-####7:########-####-####-####-####606b817", <------ Copy this T1 ID
PATCH:
https://<NSX_FQDN>/policy/api/v1/infra/tier-1s/domain-####7:########-####-####-####-####606b817/locale-services/domain-####7:########-####-####-####-####606b817-0
Body
{
"edge_cluster_path": "/infra/sites/default/enforcement-points/default/edge-clusters/########-####-####-####-########"
}