Attempting to delete a project in NSX Manager fails with error message: "Error in hierarchical API, could not load dto for:TraceflowStatus//.../traceflow-status/<UUID>"
search cancel

Attempting to delete a project in NSX Manager fails with error message: "Error in hierarchical API, could not load dto for:TraceflowStatus//.../traceflow-status/<UUID>"

book

Article ID: 380546

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

In the NSX Manager UI, when removing a Project, the following error is observed:


Error: Error in hierarchical API, could not load dto for:TraceflowStatus//orgs/default/projects/sdfgh/infra/traceflow-status/########-####-####-####-############ (Error code: 500076)

The API logs (/var/log/proton/nsxapi.log) show entries like the following:


2024-11-11T11:11:11.111Z  INFO http-###-###.#.#.#-7440-exec-### UI_LOG ##### - [nsx@6876 comp="nsx-manager" level="INFO" reqId="########-####-####-####-############" subcomp="manager" username="admin"] {"user":"admin","message":"Api Errors->","messageData":{"headers":{"normalizedNames":{},"lazyUpdate":null},"status":400,"statusText":"Bad Request","url":"https://####/policy/api/v1/infra?enforce_revision_check=true","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://#####/policy/api/v1/infra?enforce_revision_check=true: 400 Bad Request","error":"{n  "httpStatus" : "BAD_REQUEST",n  "error_code" : 500076,n  "module_name" : "Policy",n  "error_message" : "Error in hierarchical API, could not load dto for:TraceflowObservation//orgs/default/projects/Local-Pro/infra/traceflow-observations/########-####-####-####-############"n}"},"level":"Error","browser":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0","time":"Thu Oct 11 2024 11:11:11 GMT-0800 (Generic Standard Time)","location":"/app/system/home/support-bundle?p=<variable>"}

Environment

VMware NSX-T 3.x

VMware NSX 4.x

Cause

In some versions of NSX, there is an issue with a segment port being deleted before the Traceflow Config is deleted when trying to delete a Project in NSX Manager. This causes the validation to fail.

Resolution

FixedInVersion#4.2.0.0.0.23229422 and above.

The issue is resolved with changes implemented in NSX 4.2.0.0.0.23229422. If encountering issues with deletion of projects and receiving the noted error message, an upgrade to the fixed version or a higher one will be needed to be able to successfully delete projects from the NSX Manager.

If upgrading NSX Manager does not resolve the issue or if unable to remove Projects with a different error message, open a case with Broadcom NSX support.

Additional Information

If you are contacting Broadcom support about this issue, please provide the following:

  • NSX Manager log bundles
  • Ensure log date range covers the full date of the event(s) being investigated. When in doubt, retrieve logs for all time.
  • Text of any error messages seen in NSX GUI or command lines pertinent to the investigation

Handling Log Bundles for offline review with Broadcom support