R4.1 build 15 Netronome build 47: Port mirroring is not working
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.1 |
Fix Released
|
Critical
|
Pieter Malan | |||
Trunk |
Fix Committed
|
High
|
Pieter Malan |
Bug Description
Following is the scenario:
Compute/VM: SRC: nodei8 / 199.78.177.3, -> DST: nodel9 / 69.189.97.3 => ANALYZER: nodel9 / 42.51.87.3
Steps:
1) Ping 69.189.97.3 from 199.78.177.3: count =5
2) Enable port mirroring on the port 199.78.177.3
Observation : Expecting 10 packets, received only 2
[ubuntu@
[ubuntu@
[ubuntu@
[ubuntu@
[ubuntu@
[ubuntu@
[ubuntu@
[ubuntu@
root@ctest-
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
19:08:50.524659 IP 199.78.177.3.61310 > 42.51.87.3.8099: UDP, length 1581
19:08:52.623990 IP 199.78.177.3.50506 > 42.51.87.3.8099: UDP, length 1309
Counters before and after:
root@nodel9:
Obtaining VIF Counters for each VIF entry
VIF index 3
VIF Input bytes=131239
VIF Input packets=292
VIF Input errors=10
VIF Output bytes=3585182
VIF Output packets=31305
VIF Output errors=0
root@nodel9:
root@nodel9:
root@nodel9:
root@nodel9:
root@nodel9:
Obtaining VIF Counters for each VIF entry
VIF index 3
VIF Input bytes=137449
VIF Input packets=297
VIF Input errors=10
VIF Output bytes=3593390
VIF Output packets=31329
VIF Output errors=0
Netronome team needs to debug it further. Without Netronome acceleration the mirroring works as expected.
I am not able to reproduce the mirroring issue locally.
We are seeing VRCNTR_ WIRE_DROP_ RPF_FAIL increments on the Ankit's setup.
if (rpf_result == NH_SOURCE_
} else if (rpf_result == NH_SOURCE_INVALID) {
/* Drop the packet. */
}
input_vif_index is used to determine the rpf_result, this issue may be related to https:/ /bugs.launchpad .net/juniperope nstack/ +bug/1797358, where the input_vif_index is not valid.