Symptoms:
- Deleting a route map for a T0 gateway does not seem to work: the route map deletion process is stuck in the UI.
- NSX-T logs shows the realization error below:
INFO providerTaskExecutor-7 PolicyProviderUtil - POLICY [nsx@6876 comp="nsx-manager" level="INFO" subcomp="policy"] Created alarm Alarm [policyPath=/infra/realized-state/enforcement-points/default/tier-0-logical-routers/gw01/route-maps/Deny_T0/alarms/########-####-####-####-########4f2d, message=Realization failure, waiting for realization of [{PrefixList}]: path=[/infra/tier-0s/gw01/prefix-lists/########-####-####-####-########f6aa], Realization will be reattempted in next cycle (max 5 minutes),errorId=PROVIDER_INVOCATION_FAILURE, path=null, apiError=null, sourceSiteId=null].
...
INFO policyProviderTaskScheduler-2 ConsolidatedRealizedStateServiceImpl - POLICY [nsx@6876 comp="nsx-manager" level="INFO" subcomp="policy"] Updated consolidated state for intentPath:/infra/tier-0s/gw01/route-maps/Deny_T0 to:ERROR
...
INFO providerTaskExecutor-36 RealizationFetchUtility - POLICY [nsx@6876 comp="nsx-manager" level="INFO" subcomp="policy"] Added dependent paths:[/infra/tier-0s/gw01/route-maps/Deny_T0] on:/infra/tier-0s/gw01/prefix-lists/########-####-####-####-########f6aa
- The route map shows as marked for delete in the following API call:
GET policy/api/v1/infra/tier-0s/gw01/route-maps/?include_mark_for_delete_objects=true
...
"resource_type": "Tier0RouteMap",
"id": "Deny_T0",
"display_name": "Deny T0",
"path": "/infra/tier-0s/gw01/route-maps/Deny_T0",
"relative_path": "Deny_T0",
"parent_path": "/infra/tier-0s/gw01",
"unique_id": "########-####-####-####-########065b",
"marked_for_delete": true,
...