...
Adding or redeploying a DLR from NSX fails with an error similar to the below: Deployment of edge gateway dlr-name failed. Failed while updating distributed router interfaces and dhcp relay on controller for NSX Edge edge-id., error code 10026, (org.hibernate.PropertyAccessException: Null value was assigned to a property [class com.vmware.vshield.vsm.vdn.nvpcontroller.model.VdrInstance.global] of primitive type setter of com.vmware.vshield.vsm.vdn.nvpcontroller.model.VdrInstance.global) Unable to access or ping networks behind DLRPing from ESG internal interface to DLR uplink Interface failsCommand output for net-vdr --instance -l on the ESXi host shows number of LIFs and routes as 0: VDR Instance Information ---------------------------Vdr Name: edge-628Vdr Id: 0x000493f5Number of Lifs: 0Number of Routes: 0Number of Hold Pkts: 0Number of Neighbors: 0State: EnabledController IP: 192.168.189.25Control Plane IP: 192.168.190.59Control Plane Active: YesNum unique nexthops: 0Generation Number: 0Edge Active: NoPmac: 00:00:00:00:00:00Multicast Routing: Disabled ESXi host and NSX Manager logs indicate stale VDR table entries in the NSX Manger DBEntries similar to the below will be observed in the ESXi host vmkernel.log: 2021-12-29T13:34:54.727Z cpu7:2102109)WARNING: vdrb: VdrCpProcessVdrMcastUpdateMessage:3137: CP:Mcast Update: Failed for VDR [I:0x493e5] status: Bad parameter Entries similar to the below will be observed in the ESXi host vmkwarning.log: 2021-12-29T13:34:46.867Z cpu7:2102109)WARNING: vdrb: VdrCpProcessLifUpdateMessage:1348: CP:[I:0x493f4] Lif Update: Not able to find Active connection Entries similar to the below will be observed in the NSX Manageer vsm.log: 2022-01-24 08:59:52.833 GMT INFO messagingTaskExecutor-9 VdrDvsInfoHandler:27 - - [nsxv@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Processing VdrDvsInfoRequest from: host-4390Caused by: java.lang.IllegalArgumentException: Can not set boolean field com.vmware.vshield.vsm.vdn.nvpcontroller.model.VdrInstance.global to null valueCaused by: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Null value was assigned to a property [class com.vmware.vshield.vsm.vdn.nvpcontroller.model.VdrInstance.global] of primitive type setter of com.vmware.vshield.vsm.vdn.nvpcontroller.model.VdrInstance.global2022-01-24 09:00:00.134 GMT INFO TaskFrameworkExecutor-24 MissingResourcesHousekeeper:44 - - [nsxv@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Housekeeping: Started checking for stale Vdr Instances in DB2022-01-24 09:00:00.158 GMT WARN TaskFrameworkExecutor-24 SqlExceptionHelper:129 - SQL Error: 0, SQLState: 235032022-01-24 09:00:00.159 GMT ERROR TaskFrameworkExecutor-24 SqlExceptionHelper:131 - ERROR: update or delete on table "vnvp_vdr_instance" violates foreign key constraint "vnvp_vdr_instance_backing_vdr_instance_fkey" on table "vnvp_vdr_instance_backing"Detail: Key (vdr_id)=(300014) is still referenced from table "vnvp_vdr_instance_backing"
Stale VDR table entries are not cleaned up due to a housekeeping task error. This precedes the symptoms and log entries detailed above.
Fix will be in 6.4.14
Please raise a support request should you encounter this issue.
Click on a version to see all relevant bugs
VMware Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.