Bug 1980793

Summary: [RFE] Add support for record/replay to OVN daemons and use in unit/system tests
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Ilya Maximets <i.maximets>
Component: OVNAssignee: OVN Team <ovnteam>
Status: NEW --- QA Contact: Jianlin Shi <jishi>
Severity: medium Docs Contact:
Priority: medium    
Version: RHEL 8.0CC: ctrautma, jiji
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: 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 Ilya Maximets 2021-07-09 14:32:28 UTC
Open vSwitch recently added support for recording and replaying streams and
some other types of events:
  https://docs.openvswitch.org/en/latest/topics/record-replay/

Since OVN is based on OVS libraries, it may use this functionality almost
for free, we only need to add support for cmdline arguments to OVN daemons
(northd, ovn-controller, ovn-nbctl in daemon mode).

This task is to add this support and also record all the processes while
running unit and system tests, so it will be possible to easily reproduce
issues caught by CI systems (e.g., GitHub Actions) or during manual testing.