[NETVIRT-371] NullPointerException at org.opendaylight.netvirt.neutronvpn.NeutronvpnManager.deleteVpnInterface Created: 14/Dec/16 Updated: 19/Nov/19 Resolved: 30/Jan/17 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Boron |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sam Hague | Assignee: | Abhinav Gupta |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 7384 | ||||||||
| Description |
|
2016-12-14 14:03:24,306 | ERROR | nPool-1-worker-1 | DataStoreJobCoordinator | 281 - org.opendaylight.genius.mdsalutil-api - 0.1.2.SNAPSHOT | Exception when executing jobEntry: JobEntry {key='PORT-5b0e66e0-a05a-4739-a6c6-68e3b2b1ccec', mainWorker=org.opendaylight.netvirt.neutronvpn.NeutronvpnManager$$Lambda$155/1524762708@44b44c6a, rollbackWorker=null, retryCount=0, futures=null}java.lang.NullPointerException |
| Comments |
| Comment by Sam Hague [ 14/Dec/16 ] |
|
Attachment odl1_karaf.tar.xz has been added with description: karaf.log |
| Comment by Abhinav Gupta [ 05/Jan/17 ] |
|
Hi Sam, just stumbled upon this one. |
| Comment by Abhinav Gupta [ 24/Jan/17 ] |
|
Since the log link was old, got the recent logs for ODL netvirt master: NPE is in deleteVpnInterface, caused due to fetching the concerned port in ODL/Neutron Ports Config DS and finding it absent there. 1. This is strange in the first process, since no remove() DCN on NeutronPortChangeListener is received for the same. 2. Some intermediate TRACE logs on neutronvpn-impl seem missing since add() for the same port at least should have come, as also reflected by further processing, but the absence of add() calls looks absurd. 3. Anyway, this exception lands for an IPv6 port, since VPNService is not currently processing IPv6 ports and subnets, thinking through a fix to filter out such ports and subnets at NeutronVPN level itself, to avoid further processing of the same (population in subnetmaps, leading to notifications, etc). |
| Comment by Abhinav Gupta [ 24/Jan/17 ] |
|
Missed adding the log above: https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-mitaka-gate-transparent-carbon/475/archives/odl1_karaf.log.gz |
| Comment by Abhinav Gupta [ 30/Jan/17 ] |