[NETVIRT-722] Duplicate entry getting created in table 21 for remote VMs while testing ECMP Created: 09/Jun/17  Updated: 16/Jun/17  Resolved: 16/Jun/17

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

Type: Bug
Reporter: Ravi Ranjan Assignee: P Govinda Rajulu
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File UC01_03_log.7z    
Issue Links:
Duplicate
duplicates NETVIRT-667 [l3vpn_ecmp] Deleting the extra route... Resolved
External issue ID: 8648

 Description   

Duplicate entry is seen in table 21 for remote VMs, Details are as below
Switch 1
--------
VM 1: 10.10.1.2
VM 2: 10.10.2.2

Switch 2:
---------
VM 1: 10.10.1.3
VM 2: 10.10.2.3

Flows on Switch1 :
------------------
root@Ubuntu-97:~# flows | grep table=21,
cookie=0x8000003, duration=147.363s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.1.3 actions=set_field:0x434->tun_id,set_field:fa:16:3e:4f:1d:8b->eth_dst,load:0x400->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=142.998s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.2.3 actions=set_field:0x411->tun_id,set_field:fa:16:3e:c6:aa:53->eth_dst,load:0x400->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=134.098s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.3 actions=set_field:0x186ad->tun_id,set_field:fa:16:3e:4f:1d:8b->eth_dst,load:0x400->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=134.048s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.3 actions=set_field:0x186ae->tun_id,set_field:fa:16:3e:c6:aa:53->eth_dst,load:0x400->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=133.420s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.2 actions=group:150007
cookie=0x8000003, duration=133.262s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.2 actions=group:150004
cookie=0x8000003, duration=101.997s, table=21, n_packets=1, n_bytes=98, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.4 actions=group:150008
cookie=0x8000003, duration=74.133s, table=21, n_packets=1, n_bytes=98, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.5 actions=group:150009
cookie=0x8000003, duration=53.619s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=100.100.100.100 actions=group:150010
cookie=0x8000003, duration=135.654s, table=21, n_packets=0, n_bytes=0, priority=42,icmp,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.1,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:dc:81:fa>eth_src,move:NXM_OF_IP_SRC[]>NXM_OF_IP_DST[],set_field:10.10.2.1>ip_src,set_field:0->icmp_type,load:0->NXM_OF_IN_PORT[],resubmit(,21)
cookie=0x8000003, duration=134.767s, table=21, n_packets=2, n_bytes=196, priority=42,icmp,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.1,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:b9:19:a4>eth_src,move:NXM_OF_IP_SRC[]>NXM_OF_IP_DST[],set_field:10.10.1.1>ip_src,set_field:0->icmp_type,load:0->NXM_OF_IN_PORT[],resubmit(,21)
cookie=0x8000003, duration=137.035s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.0/24 actions=write_metadata:0x138a030d42/0xfffffffffe,goto_table:22
cookie=0x8000003, duration=137.035s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.0/24 actions=write_metadata:0x1389030d42/0xfffffffffe,goto_table:22
root@Ubuntu-97:~#

Flows on Switch2 :
-------------------

root@Ubuntu-98:~# flows | grep table=21,
cookie=0x8000003, duration=290.563s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.1.2 actions=set_field:0x434->tun_id,set_field:fa:16:3e:19:71:4d->eth_dst,load:0x500->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=286.936s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d40/0xfffffe,nw_dst=10.10.2.2 actions=set_field:0x411->tun_id,set_field:fa:16:3e:ba:ea:bc->eth_dst,load:0x500->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=278.253s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.2 actions=set_field:0x186ac->tun_id,set_field:fa:16:3e:ba:ea:bc->eth_dst,load:0x500->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=278.110s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.2 actions=set_field:0x186af->tun_id,set_field:fa:16:3e:19:71:4d->eth_dst,load:0x500->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=277.215s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.3 actions=group:150005
cookie=0x8000003, duration=277.174s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.3 actions=group:150006
cookie=0x8000003, duration=246.552s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.4 actions=set_field:0x186a4->tun_id,set_field:fa:16:3e:87:94:a1->eth_dst,load:0x500->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=218.530s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.5 actions=set_field:0x186a3->tun_id,set_field:fa:16:3e:cd:7b:48->eth_dst,load:0x500->NXM_NX_REG6[],resubmit(,220)
cookie=0x8000003, duration=197.155s, table=21, n_packets=0, n_bytes=0, priority=42,ip,metadata=0x30d42/0xfffffe,nw_dst=100.100.100.100 actions=group:150010
cookie=0x8000003, duration=279.223s, table=21, n_packets=0, n_bytes=0, priority=42,icmp,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.1,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:dc:81:fa>eth_src,move:NXM_OF_IP_SRC[]>NXM_OF_IP_DST[],set_field:10.10.2.1>ip_src,set_field:0->icmp_type,load:0->NXM_OF_IN_PORT[],resubmit(,21)
cookie=0x8000003, duration=278.461s, table=21, n_packets=0, n_bytes=0, priority=42,icmp,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.1,icmp_type=8,icmp_code=0 actions=move:NXM_OF_ETH_SRC[]>NXM_OF_ETH_DST[],set_field:fa:16:3e:b9:19:a4>eth_src,move:NXM_OF_IP_SRC[]>NXM_OF_IP_DST[],set_field:10.10.1.1>ip_src,set_field:0->icmp_type,load:0->NXM_OF_IN_PORT[],resubmit(,21)
cookie=0x8000003, duration=282.117s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.1.0/24 actions=write_metadata:0x1389030d42/0xfffffffffe,goto_table:22
cookie=0x8000003, duration=282.117s, table=21, n_packets=0, n_bytes=0, priority=34,ip,metadata=0x30d42/0xfffffe,nw_dst=10.10.2.0/24 actions=write_metadata:0x138a030d42/0xfffffffffe,goto_table:22
root@Ubuntu-98:~#



 Comments   
Comment by Ravi Ranjan [ 09/Jun/17 ]

Attachment UC01_03_log.7z has been added with description: karaf log and flows from switch

Comment by govind [ 16/Jun/17 ]

This issue is similar like 8441 bug. From the log provided in the TR , It is clear that the issue is similar like 8441 bug. Code-review has raised for NETVIRT-667.

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