GET https://<mgr-ip>/policy/api/v1/infra/traceflowsupgrade-coordinator.log
[TIMESTAMP] INFO pool-36-thread-2 UpgradeServiceImpl 4057624 SYSTEM [nsx@4413 comp="nsx-manager" level="INFO" logger="UpgradeServiceImpl" msgID="SYSTEM" subcomp="upgrade-coordinator" threadName="pool-36-thread-2"] [PUC] Finish Check for data inconsistencies in DB on component MP. Result -- BasicInspectionTaskResult{status=FAILURE, taskInfo=InspectionTaskInfo[acknowledgement=false,componentType=MP,description=This precheck aims to identify and resolve data inconsistencies in the NSX Manager database.,id=dataConsistencyCheckCheck-StaleTraceflowDetectorTask,name=Check for data inconsistencies in DB,needsAcknowledgement=false,needsResolution=true,resolution=false,resolutionError=<null>], failureMessages=null, failures=[{"moduleName":"upgrade-coordinator","errorCode":31911,"errorMessage":"Found data inconsistencies: Found 0 stale records in Traceflow Config, 460 stale records in Traceflow Observation, and 7 stale records in Traceflow Status tables. Traceflow Observation IDs: [/infra/traceflow-observations/########-####-####-####-############,....]
/opt/vmware/bin/corfu_tool_runner.py -n nsx -o showTable -t TraceflowObservation
/opt/vmware/bin/corfu_tool_runner.py -n nsx -o showTable -t TraceflowStatusVMware NSX 9.1
VMware Cloud Foundation 9.1
This precheck error is for removing the remaining stale resources in the system.
Follow any one of the below options to resolve the error:
(Option: A)
curl -k -u 'admin:<PASSWORD>' "https://<NSX-MANAGER-VIP>/api/v1/upgrade/pre-upgrade-checks/failures" -H "Accept: application/json"
Expected response excerpt:{ "results": [ { "type": "FAILURE", "message": { "message": "Found data inconsistencies: Found 0 stale records in Traceflow Config, 460 stale records in Traceflow Observation, and 7 stale records in Traceflow Status tables.", "error_code": 31911 }, "component_type": "MP", "origin_type": "COMPONENT", "needs_resolve": true, "resolution_status": "UNRESOLVED", "id": "dataConsistencyCheckCheck-StaleTraceflowDetectorTask" } ]}
curl -k -u 'admin:<PASSWORD>' -X POST "https://<NSX-MANAGER-VIP>/api/v1/upgrade/pre-upgrade-checks/dataConsistencyCheckCheck-StaleTraceflowDetectorTask?action=resolve" -H "Content-Type: application/json"This calls deletes all TraceflowObservation and TraceflowStatus stale Corfu records.
curl -k -u 'admin:<PASSWORD>' "https://<NSX-MANAGER-VIP>/api/v1/upgrade/pre-upgrade-checks/failures" -H "Accept: application/json"The StaleTraceflowDetectorTask failure should now have resolution_status: "RESOLVED" (or disappear entirely after a fresh precheck run).
(Option: B)
.pub file having same NSX version.
For any assistance, contact Broadcom Support