[NETVIRT-382] Unimgr:L3 service: port keeps sending arp req. to remotegw even though it gets a reply - arp entry is not learned Created: 20/Dec/16  Updated: 13/Mar/17  Resolved: 13/Mar/17

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

Type: Bug
Reporter: Gal Gabi Assignee: Koby Aizer
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: Zip Archive RemotegwAfterDelete.zip    
Issue Links:
Duplicate
is duplicated by NETVIRT-356 Unimgr:L3 service: arp timeout is not... Resolved
External issue ID: 7411

 Description   

add a tenant with a L3 service:
2CPE - remote subnet behind UNI2 on each CPE

traffic:
10 untagged packets from c1u1 (local host) to c2u2 remote host
10 tagged packets from c2u2 remote host to c1u2 remote host

performed the following test:
configuration
send traffic
delete configuration

performing the test after init_karaf - tests passes

performing the same test again without init_karaf - fails
meaning:
init_karaf
configuration
send traffic - passed
delete configuration
configuration
send traffic - fails

looking at the wireshark port "CE 2 UNI 2 port 2" i see that the port sends an arp req. "who has 110.2.2.250" (which is the remotegw) and gets a reply but still it sends again and again
i even added a GARP in the test for the remotegw and i see it in the wireshark but still the port sends the req. again

in the arp table i see that the arp entry of the remotegw is not shown
http://10.0.90.131:8181/restconf/operational/neutronvpn:neutron-vpn-portip-port-data/

ips and macs:
IP_ADD_C1U1: 110.1.1.1/24
UNI_ID_C1U1: 111
HOST_IP_C1U1: 110.1.1.2
HOST_MAC_C1U1: 00:AA:AB:00:11:00

IP_ADD_C1U2: 110.1.2.1/24
UNI_ID_C1U2: 112
HOST_IP_C1U2: 110.1.2.2
HOST_MAC_C1U2: 00:AA:AB:00:12:00
GW_IP_C1U2: 110.1.2.250
GW_MAC_C1U2: 00:AA:AB:FF:12:00
REMOTE_NET_C1U2: 111.1.2.0/24
REMOTE_HOST_IP_C1U2: 111.1.2.2

IP_ADD_C2U1: 110.2.1.1/24
UNI_ID_C2U1: 121
HOST_IP_C2U1: 110.2.1.2
HOST_MAC_C2U1: 00:AA:AB:00:21:00

IP_ADD_C2U2: 110.2.2.1/24
UNI_ID_C2U2: 122
HOST_IP_C2U2: 110.2.2.2
HOST_MAC_C2U2: 00:AA:AB:00:22:00
GW_IP_C2U2: 110.2.2.250
GW_MAC_C2U2: 00:AA:AB:FF:22:00
REMOTE_NET_C2U2: 111.2.2.0/24
REMOTE_HOST_IP_C2U2: 111.2.2.2

attached:
test - sd_vpn-L3-2CPE_remote.tgen
logs - 20-12-16---13-52-59_ConfigTrafficDelete - test run after init_karaf and passed
logs - 20-12-16---13-54-28_ConfigTraffic - test run again and failed



 Comments   
Comment by Gal Gabi [ 20/Dec/16 ]

Attachment RemotegwAfterDelete.zip has been added with description: test,logs,capture_files

Comment by Gal Gabi [ 21/Dec/16 ]

performed the following test:
4 CPEs with 2 UNI ports on each
vlan configured on UNI1 (in each CPE)
send traffic between the hosts
after init_karaf the test passes
running the test again - some of the traffic fails
noticed in the arp table operational/neutronvpn:neutron-vpn-portip-port-data/ that the mac of the host to which the traffic has failed is not shown there (in the wireshark the arp reply from that host was sent to the port)

the host that was not shown in the arp table is 110.2.1.2

Tali B. noticed the following in the karaf.log:
SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and vpnId 70001
2016-12-21 09:14:27,330 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and elan Tag 32478
2016-12-21 09:14:27,331 | INFO | pool-24-thread-1 | ArpUtils | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: sendArpRequest dpnId 252904177606720, actions [], groupId 264956, senderIPAddress 110.1.1.2, targetIPAddress 110.2.1.2
2016-12-21 09:14:27,331 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and vpnId 70001
2016-12-21 09:14:27,331 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and elan Tag 32478
2016-12-21 09:14:27,331 | INFO | pool-24-thread-1 | ArpUtils | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: sendArpRequest dpnId 252904177606720, actions [], groupId 264956, senderIPAddress 110.1.1.2, targetIPAddress 110.2.1.2
2016-12-21 09:14:27,332 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and vpnId 70001
2016-12-21 09:14:27,332 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and elan Tag 32478
2016-12-21 09:14:27,332 | INFO | pool-24-thread-1 | ArpUtils | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT |
SubnetRoutePacketInHandler: sendArpRequest dpnId 252904177606720, actions [], groupId 264956, senderIPAddress 110.1.1.2, targetIPAddress 110.2.1.2
2016-12-21 09:14:27,332 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT | SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and vpnId 70001
2016-12-21 09:14:27,332 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT | SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and elan Tag 32478
2016-12-21 09:14:27,333 | INFO | pool-24-thread-1 | ArpUtils | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT | SubnetRoutePacketInHandler: sendArpRequest dpnId 252904177606720, actions [], groupId 264956, senderIPAddress 110.1.1.2, targetIPAddress 110.2.1.2
2016-12-21 09:14:27,333 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT | SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and vpnId 70001
2016-12-21 09:14:27,333 | INFO | pool-24-thread-1 | SubnetRoutePacketInHandler | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT | SubnetRoutePacketInHandler: Processing IPv4 Packet received with Source IP 110.1.1.2 and Target IP 110.2.1.2 and elan Tag 32478
2016-12-21 09:14:27,334 | INFO | pool-24-thread-1 | ArpUtils | 369 - org.opendaylight.netvirt.vpnmanager-impl - 0.3.2.SNAPSHOT | SubnetRoutePacketInHandler: sendArpRequest dpnId 252904177606720, actions [], groupId 264956, senderIPAddress 110.1.1.2, targetIPAddress 110.2.1.2
2016-12-21 09:14:27,340 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,340 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,341 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,341 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,343 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,343 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,344 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,344 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received
2016-12-21 09:14:27,345 | WARN | pool-24-thread-1 | AlivenessMonitor | 359 - org.opendaylight.genius.alivenessmonitor-impl - 0.1.2.SNAPSHOT | Monitoring State not available for key: c48df33b-b665-3ccf-a12f-2eb68e96a640.110.1.1.2.110.2.1.2.Arp to process the Packet received

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