Unable to delete exiting IP Address Block due to dependency error
search cancel

Unable to delete exiting IP Address Block due to dependency error

book

Article ID: 422200

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • You initially had a VPC project deployed under the path - /orgs/default/projects/<VPC-Project-name> which is now removed and an IP block was referenced to the non-existing VPC preventing it's deletion with below error.

    parameters visibility and CIDR cannot be updated since it is being referenced by other objects path(s)=[/orgs/default/projects/<VPC-project-name>/vpcs/<VPC-Name>/subnets/<subnet-name>/ip-pools/_static-ipv4--empty/ip-subnets/<UUID>, /orgs/default/projects/<VPC-project-name>/vpcs/<VPC-Name>/subnets/<subnet-name>/ip-pools/_static-ipv4--empty/ip-subnets/<UUID>]
  • You are unable to link this IP block to any new VPC project as well.

Environment

VMware NSX

Cause

One of the known causes is that the IPAM cleanup did not proceed correctly because the first subnet creation failed. This results in any follow-up creation call failing.

Resolution

Workaround:

Try the below API's one after the other independently and see if the IP block in question is removed. 

DELETE https://<nsx-manager-fqdn>/api/v1/infra/ip-blocks/<IP block name>
DELETE https://<nsx-manager-fqdn>/api/v1/infra/ip-blocks/<IP block name>?force=true

If the issue persists even after executing the above API's, please open a case with Broadcom Support Team for further investigation.