[NETVIRT-907] NPE while installing received EVPN flow Created: 13/Sep/17  Updated: 19/Oct/17  Resolved: 21/Sep/17

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

Type: Bug
Reporter: Vyshakh Krishnan Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates VPNSERVICE-81 EVPN remote routes are not pushed to ... Resolved
External issue ID: 9151

 Description   

On receiving an RT5 route via QBGP, ODL is throwing a null pointer exception and not programming flows:

2017-09-10 03:13:28,456 | INFO | ool-104-thread-1 | BgpConfigurationManager | 366 - org.opendaylight.netvirt.bgpmanager-impl - 0.4.1.Carbon | ADD: Adding Fib entry rd 100:100 prefix 20.0.0.0 nexthop 1.1.1.1 label 5000 afi null
2017-09-10 03:13:28,456 | INFO | ool-104-thread-1 | BgpConfigurationManager | 366 - org.opendaylight.netvirt.bgpmanager-impl - 0.4.1.Carbon | ADD: Added Fib entry rd 100:100 prefix 20.0.0.0 nexthop 1.1.1.1 label 5000
2017-09-10 03:13:28,468 | INFO | eChangeHandler-4 | VrfEntryListener | 369 - org.opendaylight.netvirt.fibmanager-impl - 0.4.1.Carbon | EVPN flows need to be programmed.
2017-09-10 03:13:28,468 | INFO | eChangeHandler-4 | EvpnVrfEntryHandler | 369 - org.opendaylight.netvirt.fibmanager-impl - 0.4.1.Carbon | Initiating creation of Evpn Flows
2017-09-10 03:13:28,469 | INFO | atchingManager-0 | ResourceBatchingManager | 326 - org.opendaylight.genius.mdsalutil-api - 0.2.1.Carbon | Total taken ##time = 12ms for resourceList of size 1 for resourceType BGP-RESOURCES
2017-09-10 03:13:28,470 | ERROR | eChangeHandler-4 | AsyncDataTreeChangeListenerBase | 326 - org.opendaylight.genius.mdsalutil-api - 0.2.1.Carbon | Thread terminated due to uncaught exception: AsyncDataTreeChangeListenerBase-DataTreeChangeHandler-4
java.lang.NullPointerException
at org.opendaylight.netvirt.fibmanager.EvpnVrfEntryHandler.createFlows(EvpnVrfEntryHandler.java:99)[369:org.opendaylight.netvirt.fibmanager-impl:0.4.1.Carbon]
at org.opendaylight.netvirt.fibmanager.VrfEntryListener.addFibEntries(VrfEntryListener.java:175)[369:org.opendaylight.netvirt.fibmanager-impl:0.4.1.Carbon]
at org.opendaylight.netvirt.fibmanager.VrfEntryListener.add(VrfEntryListener.java:163)[369:org.opendaylight.netvirt.fibmanager-impl:0.4.1.Carbon]
at org.opendaylight.netvirt.fibmanager.VrfEntryListener.add(VrfEntryListener.java:100)[369:org.opendaylight.netvirt.fibmanager-impl:0.4.1.Carbon]
at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:158)[326:org.opendaylight.genius.mdsalutil-api:0.2.1.Carbon]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_141]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_141]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_141]
2017-09-10 03:13:34,351 | INFO | pool-16-thread-1 | ArpNotificationHandler | 367 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.1.Carbon | ArpNotification Non-Gratuitous Request Received from interface c8c6bfef-5a6f-41db-8a2a-bfa9f9faa884 and IP 10.0.0.5 having MAC FA:16:3E:4F:FB:87 target destination 10.0.0.1, ignoring..



 Comments   
Comment by Sam Hague [ 21/Sep/17 ]

(In reply to Kiran N Upadhyaya from comment #1)
>
> *** This bug has been marked as a duplicate of VPNSERVICE-81 ***

Kiran, did you mean to dup this to 8801? 8801 has been resolved for a while so seems strange that this bug here is more recent.

Comment by Kiran N Upadhyaya [ 21/Sep/17 ]

(In reply to Sam Hague from comment #2)
> (In reply to Kiran N Upadhyaya from comment #1)
> >
> > *** This bug has been marked as a duplicate of VPNSERVICE-81 ***
>
> Kiran, did you mean to dup this to 8801? 8801 has been resolved for a while
> so seems strange that this bug here is more recent.

Sam,
Fix for 8801 has been merged in master, but the cherrypick for stable/nitrogen is still pending merge.
Hence, this NETVIRT-907 was raised recently for nitrogen (I think RC2 was used to test this), since the fix is yet to be merged in this branch.

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