Error: The policy object has a different version (Error code: 500071) when removing Edge node
search cancel

Error: The policy object has a different version (Error code: 500071) when removing Edge node

book

Article ID: 426512

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • When attempting to remove an Edge transport node from an Edge Cluster in NSX 4.x, the operation fails.

  • The following error displays in the NSX Manager UI or API response: 
    Error: "The policy object", used in this operation, has a different version (X) than the current system version (Y). Fetch the latest copy of the object and retry operation. (Error code: 500071)
  • This issue typically occurs when:

    • Tier-1 Gateway logical routers are still associated with the Edge node.

    • Routed Tunnel Endpoints (RTEPs) are configured on the node.

    • Residual configurations prevent the policy object from updating correctly.

Environment

  • VMware NSX 4.x

  • VMware NSX 4.2.x

Cause

  • The Edge transport node retains residual or undeleted configurations.

  • Because network services remain actively associated with the node, a version mismatch occurs in the database when the system attempts to modify the policy object for removal.

Resolution

Relocate all service configurations before removing the Edge node from the cluster to ensure the policy object updates correctly.

  1. Identify the services (Tier-0/Tier-1) currently hosted on the Edge node.

  2. Relocate these services to another Edge node in the cluster.

  3. For NSX 4.0.1.1 and later, use the relocate and remove API: 
    POST https://<nsx-mgr>/api/v1/edge-clusters/<edge-cluster-id>?action=relocate_and_remove
  4. Verify that the Edge node no longer has associated services.

  5. Retry the removal of the Edge node from the cluster.

For automated relocation steps, see Relocate and Remove an NSX Edge Node.

Additional Information