[NETVIRT-262] all VpnPortIpToPort entries (including configuration ones) are lost from ODL cache after reboot Created: 10/Nov/16  Updated: 07/Jan/17  Resolved: 07/Jan/17

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

Type: Bug
Reporter: Arnon Yahel Assignee: Gobinath Suganthan
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: File karaf.log.gz     Text File no_arp_to_gw_int_model.txt    
Issue Links:
Duplicate
is duplicated by NETVIRT-273 all VpnPortIpToPort instances are los... Resolved
External issue ID: 7142

 Description   

trying to ping a vm in a different network, but the vm doesn't receive arp response for the gw interface.
in karaf.log we see that arp requests are received by the odl:
rpNotification Request Received from interface bb156e2a-aef6-4aa1-8f0f-cecf4ae86454 and IP 8.0.0.5 having MAC FA:16:3E:BA:81:C1 target destination 8.0.0.1

in the neutronvpn:neutron-vpn-portip-port-data model, we don't see an entry for the router interface.

i suspect that an ODL restart performed yesterday caused that.

WO: remove and re-add router interfaces.



 Comments   
Comment by Arnon Yahel [ 10/Nov/16 ]

Attachment karaf.log.gz has been added with description: karaf log

Comment by Arnon Yahel [ 10/Nov/16 ]

Attachment no_arp_to_gw_int_model.txt has been added with description: yang model

Comment by Koby Aizer [ 16/Nov/16 ]

Should be fixed by: http://git.opendaylight.org/gerrit/#/c/47965

Comment by Alon Kochba [ 04/Dec/16 ]

According to Vivek in review 47965:

The review https://git.opendaylight.org/gerrit/#/c/48054/ already addressed most part of the problem that this review attempts to solve..
This has been lying around for a while that I need to revisit this again to see what benefit this would offer over #48054.

Please let us know if this is still happening with latest code.

Comment by Koby Aizer [ 12/Dec/16 ]

ARP responses no longer rely on the VpnPortIpToPort cache (as they're implemented in arp responder rules) - changed the title of the bug.

I still the bug is still valid, but in a less critical flow. I believe that the following flow will result in missing table=19 rule for the router interface:
1. Configure a router which exists on DPN X
2. ODL reboot (VpnPortIpToPort cache is cleared)
3. Add a VM which is connected to the router, but on a new DPN

Comment by Vivekanandan Narasimhan [ 13/Dec/16 ]

The remaining issue hanging this bug is being addressed here:
https://git.opendaylight.org/gerrit/#/c/47965/

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