The Tier-1 Gateway enters a 'Failed' state when linked to a VRF that has been deleted and recreated using the same name.
search cancel

The Tier-1 Gateway enters a 'Failed' state when linked to a VRF that has been deleted and recreated using the same name.

book

Article ID: 423833

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • When the Tier1 is attached to a VRF, then the VRF is deleted and later recreated with the same name under a different parent Tier0, the IpBlockSubnet and its marker remain stale and the Tier1 state becomes failed with the below error message in the nsxapi logs.

    2025-06-17T06:35:00.388Z ERROR providerTaskExecutor-1-138 PolicyProviderUtil 5016 POLICY [nsx@6876 comp="nsx-manager" errorCode="PM500015" level="ERROR" subcomp="manager"] Unexpected exception received during provider invocation.
    com.vmware.nsx.management.common.exceptions.ObjectNotFoundException: null at com.vmware.nsx.management.container.dao.IdentifiableProxyObjectDao.findByIdentifier(IdentifiableProxyObjectDao.java:400) ~[?:?] at com.vmware.nsx.management.edge.lrouter.ports.dao.LRPortDaoImpl.findLRPortByIdentifier(LRPortDaoImpl.java:162) ~[?:?] at com.vmware.nsx.management.edge.lrouter.ports.dao.LRPortDaoImpl.findLRPort(LRPortDaoImpl.java:151) ~[?:?] at com.vmware.nsx.management.edge.lrouter.ports.service.LRPortsServiceImpl.getLRPort(LRPortsServiceImpl.java:346) ~[?:?] at com.vmware.nsx.management.policy.providers.routing.nsxt.LogicalRouterPortUtilsNsxT.createLogicalRouterPortOnNSX(LogicalRouterPortUtilsNsxT.java:1773) ~[?:?] at com.vmware.nsx.management.policy.providers.routing.nsxt.LogicalRouterPortUtilsNsxT.handleRouterLinkRealization(LogicalRouterPortUtilsNsxT.java:558) ~[?:?] at com.vmware.nsx.management.policy.providers.routing.nsxt.NetworkProviderNsxT.connectNetworkToProvider(NetworkProviderNsxT.java:739) ~[?:?] at com.vmware.nsx.management.policy.providers.routing.nsxt.NetworkProviderNsxT.handleNetworkRealizationInternal_aroundBody0(NetworkProviderNsxT.java:496) ~[?:?] at com.vmware.nsx.management.policy.providers.routing.nsxt.NetworkProviderNsxT$AjcClosure1.run(NetworkProviderNsxT.java:1) ~[?:?] at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[?:?] at io.micrometer.core.aop.TimedAspect.processWithTimer(TimedAspect.java:119) ~[?:?]

Environment

VMware NSX

Resolution

This will be fixed in a later version of VMware NSX. 

Workaround

  • Update the parent Tier0 gateway that the VRF in question is attached to with any kind of update (i.e. description) to resolve the issue.