NSX Segments stuck in 'Marked for Delete' state
search cancel

NSX Segments stuck in 'Marked for Delete' state

book

Article ID: 303323

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Deleted Segments are stuck (grayed out) in the NSX UI and cannot be modified.



  • The API request: GET https://{mgrIP}/policy/api/v1/infra/segments  may NOT list these segments, but they are listed with:  

    GET https://{mgrIP}/policy/api/v1/infra/segments?include_mark_for_delete_objects=true

  • The API request: DELETE https://{mgrIP}/policy/api/v1/infra/segments/<segment-id> returns a 404 response code, and the segment is not deleted

Cause

NSX segments or policy objects may become stuck in a "Marked for Delete" or "Deleting" state when the system is unable to complete the deletion due to underlying dependencies or stale references. 

Resolution

If the issue persists, please open a support case with Broadcom Support and refer to this KB article.

For more information, see Creating and managing Broadcom support cases.

 

Additional Information

NSX API Guide