Bug 1651770
Summary: | [RHOSP14] [ODL] L3 DVR Flow Discrepancy | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Pradipta Kumar Sahoo <psahoo> |
Component: | opendaylight | Assignee: | lpeer <lpeer> |
Status: | CLOSED NOTABUG | QA Contact: | Noam Manos <nmanos> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 14.0 (Rocky) | CC: | mkolesni, nyechiel, psahoo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-21 10:52:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pradipta Kumar Sahoo
2018-11-20 18:49:16 UTC
Hi, Sorry for trouble to you all. There is a mistake in my flow trace. When we flow trace changed dl_dst=fa:16:3e:93:ca:ab (router interface MAC), the sequence looks good to me. I am closing this BZ. # ovs-appctl ofproto/trace br-int "in_port=7,icmp,dl_src=fa:16:3e:e0:94:71,dl_dst=fa:16:3e:93:ca:ab,nw_src=192.168.1.8,nw_dst=10.0.0.1" Flow: icmp,in_port=7,vlan_tci=0x0000,dl_src=fa:16:3e:e0:94:71,dl_dst=fa:16:3e:93:ca:ab,nw_src=192.168.1.8,nw_dst=10.0.0.1,nw_tos=0,nw_ecn=0,nw_ttl=0,icmp_type=0,icmp_code=0 bridge("br-int") ---------------- 0. in_port=7,vlan_tci=0x0000/0x1fff, priority 4, cookie 0x8000000 write_metadata:0x180000000000/0xffffff0000000001 goto_table:17 17. metadata=0x180000000000/0xffffff0000000000, priority 10, cookie 0x6900000 write_metadata:0x8000180000000000/0xfffffffffffffffe goto_table:210 210. ip,metadata=0x180000000000/0xfffff0000000000,dl_src=fa:16:3e:e0:94:71,nw_src=192.168.1.8, priority 61010, cookie 0x6900000 goto_table:211 211. icmp, priority 100, cookie 0x6900000 write_metadata:0/0x2 goto_table:212 212. ip,metadata=0x180000000000/0xfffff0000000000, priority 100, cookie 0x6900000 ct(table=213,zone=5502) drop -> A clone of the packet is forked to recirculate. The forked pipeline will be resumed at table 213. -> Sets the packet to an untracked state, and clears all the conntrack fields. Final flow: icmp,metadata=0x8000180000000000,in_port=7,vlan_tci=0x0000,dl_src=fa:16:3e:e0:94:71,dl_dst=fa:16:3e:93:ca:ab,nw_src=192.168.1.8,nw_dst=10.0.0.1,nw_tos=0,nw_ecn=0,nw_ttl=0,icmp_type=0,icmp_code=0 Megaflow: recirc_id=0,eth,icmp,in_port=7,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:e0:94:71,nw_src=192.168.1.8,nw_frag=no Datapath actions: ct(zone=5502),recirc(0x17f7) =============================================================================== recirc(0x17f7) - resume conntrack with default ct_state=trk|new (use --ct-next to customize) =============================================================================== Flow: recirc_id=0x17f7,ct_state=new|trk,ct_zone=5502,eth,icmp,metadata=0x8000180000000000,in_port=7,vlan_tci=0x0000,dl_src=fa:16:3e:e0:94:71,dl_dst=fa:16:3e:93:ca:ab,nw_src=192.168.1.8,nw_dst=10.0.0.1,nw_tos=0,nw_ecn=0,nw_ttl=0,icmp_type=0,icmp_code=0 bridge("br-int") ---------------- thaw Resuming from table 213 213. priority 0, cookie 0x6900000 goto_table:214 214. ip,metadata=0x180000000000/0xfffff0000000000, priority 2001, cookie 0x6900000 goto_table:217 217. ip,metadata=0x180000000000/0xfffff0000000002, priority 100, cookie 0x6900000 ct(commit,zone=5502,exec(set_field:0x1->ct_mark)) set_field:0x1->ct_mark -> Sets the packet to an untracked state, and clears all the conntrack fields. ct_clear resubmit(,17) 17. metadata=0x8000180000000000/0xffffff0000000000, priority 10, cookie 0x8000001 load:0x19258->NXM_NX_REG3[0..24] write_metadata:0x90001800000324b0/0xfffffffffffffffe goto_table:19 19. metadata=0x324b0/0xfffffe,dl_dst=fa:16:3e:93:ca:ab, priority 20, cookie 0x8000009 goto_table:21 21. ip,metadata=0x324b0/0xfffffe, priority 10, cookie 0x8000006 goto_table:26 26. ip,metadata=0x324b0/0xfffffe,nw_src=192.168.1.8, priority 10, cookie 0x8000004 set_field:10.0.0.50->ip_src write_metadata:0x324be/0xfffffe goto_table:28 28. ip,metadata=0x324be/0xfffffe,nw_src=10.0.0.50, priority 10, cookie 0x8000004 set_field:fa:16:3e:0d:da:81->eth_src resubmit(,21) 21. ip,metadata=0x324be/0xfffffe,nw_dst=10.0.0.1, priority 42, cookie 0x8000003 set_field:52:54:00:ca:77:d8->eth_dst load:0x1c00->NXM_NX_REG6[] resubmit(,220) 220. reg6=0x1c00, priority 9, cookie 0x8000007 output:1 bridge("br-provider") --------------------- 0. priority 0 NORMAL -> forwarding to learned port Final flow: recirc_id=0x17f7,eth,icmp,reg3=0x19258,reg6=0x1c00,metadata=0x90001800000324be,in_port=7,vlan_tci=0x0000,dl_src=fa:16:3e:0d:da:81,dl_dst=52:54:00:ca:77:d8,nw_src=10.0.0.50,nw_dst=10.0.0.1,nw_tos=0,nw_ecn=0,nw_ttl=0,icmp_type=0,icmp_code=0 Megaflow: recirc_id=0x17f7,ct_state=+new-est-rel-inv+trk,ct_mark=0/0x1,eth,icmp,in_port=7,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:e0:94:71,dl_dst=fa:16:3e:93:ca:ab,nw_src=192.168.1.8,nw_dst=10.0.0.1,nw_frag=no Datapath actions: ct(commit,zone=5502,mark=0x1/0xffffffff),ct_clear,set(eth(src=fa:16:3e:0d:da:81,dst=52:54:00:ca:77:d8)),set(ipv4(src=10.0.0.50,dst=10.0.0.1)),3 |