Bug 2093842 - [RFE] Sample all packet drops
Summary: [RFE] Sample all packet drops
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: OVN
Version: FDP 20.E
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: OVN Team
QA Contact: Jianlin Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-06 07:59 UTC by Adrián Moreno
Modified: 2023-07-28 17:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-28 17:39:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2009 0 None None None 2022-06-06 08:08:48 UTC

Description Adrián Moreno 2022-06-06 07:59:36 UTC
Sometimes it's difficult to know what packets are being dropped by OVN and why. Two main reasons arise:

- Some drops are implicit. Some tables do not have an explicit drop action so packets that do not match any lflow are silently dropped by OVS.
- We lack packet information from explicit drops that would help debug why the packet was actually dropped.

In order to help debugging OVN issues, the proposal is to:
* Add a config flag that makes ovn-northd add an explicit drop action to all tables if needed
* Allow OVN to add a "sample" action to those explicit drop actions so dropped packets can be collected by an IPFIX collector. That way, they can be visualized and the header information can be used to further troubleshoot the problem.

This was a suggestion by Tim Rozet in a demo about per-flow OVN sampling.
Related to BZ2038867.

Comment 2 Mark Michelson 2023-07-28 17:39:05 UTC
I'm closing this since the feature has been implemented and merged into OVN. This bug slipped through the cracks and we did not close it earlier.


Note You need to log in before you can comment on or make changes to this bug.