[NETVIRT-344] NPE in VpnFloatingIpHandler Created: 11/Dec/16  Updated: 19/Oct/17  Resolved: 15/Dec/16

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

Type: Bug
Reporter: Tal Rosenzweig Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: HTML File karaf-models-dump     File karaf.rar    
External issue ID: 7336

 Description   

2016-12-11 09:54:59,758 | ERROR | pool-49-thread-4 | VpnFloatingIpHandler | 369 - org.opendaylight.netvirt.natservice-impl - 0.3.2.SNAPSHOT | Failed to send GARP request for flo
ating ip 10.0.59.5 from interface 119222486769793:br-dpdk0-patch:424
java.lang.NullPointerException: Supplied value may not be null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)[74:com.google.guava:18.0.0]
at org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress.<init>(PhysAddress.java:53)[118:org.opendaylight.mdsal.model.ietf-yang-types-201307
15:2013.7.15.9_2-SNAPSHOT]
at org.opendaylight.netvirt.natservice.internal.VpnFloatingIpHandler.sendGarpOnInterface(VpnFloatingIpHandler.java:367)[369:org.opendaylight.netvirt.natservice-impl:0.3.2.SNAPSHOT]
at org.opendaylight.netvirt.natservice.internal.VpnFloatingIpHandler.onAddFloatingIp(VpnFloatingIpHandler.java:193)[369:org.opendaylight.netvirt.natservice-impl:0.3.2.SNAPSHOT]
at Proxy3268f8cb_fed4_424d_baa0_6aa6c8d20f9f.onAddFloatingIp(Unknown Source)[:]
at org.opendaylight.netvirt.natservice.internal.FloatingIPListener.createNATFlowEntries(FloatingIPListener.java:451)[369:org.opendaylight.netvirt.natservice-impl:0.3.2.SNAPSHOT]
at org.opendaylight.netvirt.natservice.internal.FloatingIPListener.processFloatingIPAdd(FloatingIPListener.java:368)[369:org.opendaylight.netvirt.natservice-impl:0.3.2.SNAPSHOT]
at org.opendaylight.netvirt.natservice.internal.FloatingIPListener.add(FloatingIPListener.java:105)[369:org.opendaylight.netvirt.natservice-impl:0.3.2.SNAPSHOT]
at org.opendaylight.netvirt.natservice.internal.FloatingIPListener.add(FloatingIPListener.java:54)[369:org.opendaylight.netvirt.natservice-impl:0.3.2.SNAPSHOT]
at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:136)[324:org.opendaylight.genius.mdsalutil-a
pi:0.1.2.SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_111]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_111]



 Comments   
Comment by Tal Rosenzweig [ 11/Dec/16 ]

Attachment karaf.rar has been added with description: Karaf log

Comment by Tali Ben-Meir [ 11/Dec/16 ]

Seems like a duplicate of https://bugs.launchpad.net/networking-odl/+bug/1637828
Could you verify if neutron ports model contains the FIP?

Comment by Tal Rosenzweig [ 12/Dec/16 ]

Attachment karaf-models-dump has been added with description: karaf models

Comment by Tal Rosenzweig [ 12/Dec/16 ]

(In reply to Tali Ben-Meir from comment #1)
> Seems like a duplicate of
> https://bugs.launchpad.net/networking-odl/+bug/1637828
> Could you verify if neutron ports model contains the FIP?

it seems that it contains the FIP, i attached the karaf models

Comment by Koby Aizer [ 15/Dec/16 ]

Tal - thanks for adding the info - it seems that Tali is right, the floating ip entry is missing from neutron ports model - and therefore this is a duplicate on the openstack bug (which believed to be fixed in v2)

Closing as fixed just because it can't be marked as duplicate

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