Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-1070

EVPN: Exception in vpnmanager during tep creation.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Cannot Reproduce
    • None
    • None
    • General
    • None

    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]
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            SridharG Sridhar Gaddam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: