[NETVIRT-1070] EVPN: Exception in vpnmanager during tep creation. Created: 25/Jan/18  Updated: 04/Oct/18  Resolved: 04/Oct/18

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Sridhar Gaddam Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

ODL Codebase: stable/nitrogen branch (commit-id: 64c70bcc901265ba7efd8352c2764850e9f26f10)
OpenStack: Ocata

While trying to create an EVPN setup with Cumulus-VX router, noticed an exception in vpnmanager during tep creation.

 

[vagrant@centos7_aione_ocata_odl scripts]$ more tep.json 
 {
 "input":
{ "destination-ip": "192.168.121.63", "tunnel-type": "odl-interface:tunnel-type-vxlan" }
}
 curl -X POST -u admin:admin -k -v -H "$CT_JSON" \
 $ODL_URL/operations/itm-rpc:add-external-tunnel-endpoint -d @tep.json
As soon as I run this command, the following exception is seen in Netvirt.
 Note: The VxLAN tunnel from Compute node to DC-GW was however created. 192.168.121.63 is the DC-GW/Cumulus-VX IP.
018-01-22 06:56:43,912 | ERROR | nPool-1-worker-1 | DataStoreJobCoordinator | 245 - org.opendaylight.genius.mdsalutil-api - 0.3.2.SNAPSHOT | Exception when executing jobEntry: JobEntry
{key='VPNINTERFACE-b8d75c3b-eb46-4097-80fe-edde32d84b85', mainWorker=org.opendaylight.netvirt.vpnmanager.TunnelInterfaceStateListener$UpdateVpnInterfaceOnTunnelEvent@d2bce71, rollbackWorker=null, retryCount=0, futures=null}
java.lang.NullPointerException
 at org.opendaylight.netvirt.vpnmanager.VpnInterfaceManager.updateVpnInterfaceOnTepAdd(VpnInterfaceManager.java:817)[331:org.opendaylight.netvirt.vpnmanager-impl:0.5.2.SNAPSHOT]
 at org.opendaylight.netvirt.vpnmanager.TunnelInterfaceStateListener$UpdateVpnInterfaceOnTunnelEvent.call(TunnelInterfaceStateListener.java:445)[331:org.opendaylight.netvirt.vpnmanager-impl:0.5.2.SNAPSHOT]
 at org.opendaylight.netvirt.vpnmanager.TunnelInterfaceStateListener$UpdateVpnInterfaceOnTunnelEvent.call(TunnelInterfaceStateListener.java:416)[331:org.opendaylight.netvirt.vpnmanager-impl:0.5.2.SNAPSHOT]
 at org.opendaylight.genius.datastoreutils.DataStoreJobCoordinator$MainTask.run(DataStoreJobCoordinator.java:285)[245:org.opendaylight.genius.mdsalutil-api:0.3.2.SNAPSHOT]
 at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)[:1.8.0_151]
 at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)[:1.8.0_151]
 at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)[:1.8.0_151]
 at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)[:1.8.0_151]
 at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)[:1.8.0_151]

 



 Comments   
Comment by Sam Hague [ 06/Apr/18 ]

SridharG is this still an issue?

Comment by Sridhar Gaddam [ 07/Apr/18 ]

shague, I'll try with the latest codebase and will update the Bug.

Generated at Wed Feb 07 20:23:09 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.