This article provides guidance on resolving synchronization issues where static routes configured in the NSX-T Manager GUI are not realized in the dataplane on Edge transport nodes.
This behavior is typically caused by stale configurations stored in the Corfu database, which prevent the NSX-T RouteGraphManager from successfully processing updates for logical routers.
Symptoms
nsxapi.log reveals RouteGraphManager errors or NullPointerException during the processing of static route work-items.<timestamps> UTC ERROR workerTaskExecutor-1-6 EdgeWorkItemExceptionAspect 5093 - [nsx@6876 comp="nsx-manager" errorCode="MP11268" level="ERROR" subcomp="manager"] Failed to process work-items [WorkItem{identifier=StaticRoute/########-####-####-####-7f8a3803e7c5, Timestamp{epoch=159, address=<IP_ADDRESS>}}] of lr LogicalRouter/########-####-####-####-d86a51d8dae4 by method processStaticRouteWorkItems
java.lang.NullPointerException: null
at com.vmware.nsx.management.edge.lrouter.routing.rec.RouteGraphUtils.addEdgesToParentsAndChildren(RouteGraphUtils.java:269) ~[?:?]
at com.vmware.nsx.management.edge.lrouter.routing.rec.RouteGraphUtils.addNhToRouteNode(RouteGraphUtils.java:65) ~[?:?]
at com.vmware.nsx.management.edge.lrouter.routing.rec.RouteGraphManager.addNetworkForRoute(RouteGraphManager.java:183) ~[?:?]
at com.vmware.nsx.management.edge.lrouter.routing.rec.RouteGraphManager.addNetworkForRoute(RouteGraphManager.java:100) ~[?:?]
at com.vmware.nsx.management.edge.lrouter.routing.rec.RouteGraphManager.addAllStaticRoutes(RouteGraphManager.java:579) ~[?:?]
at com.vmware.nsx.management.edge.lrouter.routing.rec.RouteGraphManager.buildGraph(RouteGraphManager.java:533) ~[?:?]VMware NSX
Identify the stale interface/config:
get gatewayget gateway <UUID> interface
Upload the attached script (corfu_script.sh) file to NSX Manager
Run: # chmod +x corfu_script.sh
Run this corfu_script.sh file on manager node as # ./corfu-script.sh
The script actually reads and stores corfu tables in "corfuBackup" directory.
corfuBackup" directory.tar -czvf corfuBackup.tar.gz ." to create an archive file with the contents of that directory for ease of transfer.