Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1939741

Summary: [21.C RHEL-8] Fast Datapath Release
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Timothy Redaelli <tredaelli>
Component: openvswitch2.15Assignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: ovs-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 21.CCC: ctrautma, jhsiao, kfida, ralongi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.15-2.15.0-3.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-12 18:08:58 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 Timothy Redaelli 2021-03-16 22:33:40 UTC
commit c4fc969d7eeee55f3b6b248018c9575a83710044
Merge: 105482aee7 d5dc16670e
Author: Open vSwitch CI <ovs-team>
Date:   Tue Mar 16 14:08:09 2021 -0400

    Merging upstream branch-2.15
    
    Commit list:
    d5dc16670e python: Send notifications after the transaction ends.
    556e65e179 ovs-ctl: Allow recording hostname separately.
    3982aee455 dpif-netdev: Fix crash when add dp flow without in_port field.
    02096f1b37 Documentation: Fix DPDK qos example.
    8f1dda3164 raft: Report disconnected in cluster/status if candidate retries election.
    79e9749daa raft: Reintroduce jsonrpc inactivity probes.
    2e84a4adb1 ovsdb-cs: Fix use-after-free for the request id.
    d2c311dce8 connmgr: Check nullptr inside ofmonitor_report().
    7307af6908 ovsdb-client: Fix needs-conversion when SERVER is explicitly specified.
    2a7a635718 windows, tests: Modify service test.
    9b48549c68 netdev-linux: Fix indentation.
    861a9f3b4d ofproto-dpif-upcall: Fix ukey leak on udpif destroy.
    339044c3cc ci: Use parallel build for distcheck.
    38744b1bcb ofp-actions: Fix use-after-free while decoding RAW_ENCAP.
    33abe6c052 Prepare for 2.15.1.

commit d5dc16670ec95702058fccad253ed6d24ebd5329
Author: Terry Wilson <twilson>
Date:   Tue Mar 9 14:34:16 2021 +0000

    python: Send notifications after the transaction ends.
    
    The Python IDL notification mechanism was sending a notification
    for each processed update in a transaction as it was processed.
    This causes issues with multi-row changes that contain references
    to each other.
    
    For example, if a Logical_Router_Port is created along with a
    Gateway_Chassis, and the LRP.gateway_chassis set to that GC, then
    when the notify() passes the CREATE event for the LRP, the GC will
    not yet have been processed, so __getattr__ when _uuid_to_row fails
    to find the GC, will return the default value for LRP.gateway_chassis
    which is [].
    
    This patch has the process_update methods return the notifications
    that would be produced when a row changes, so they can be queued
    and sent after all rows have been processed.
    
    Fixes: d7d417fcddf9 ("Allow subclasses of Idl to define a notification hook")
    Signed-off-by: Terry Wilson <twilson>
    Acked-by: Brian Haley <haleyb.dev>
    Acked-by: Dumitru Ceara <dceara>
    Tested-by: Flavio Fernandes <flavio>
    Signed-off-by: Ilya Maximets <i.maximets>

Comment 4 Christian Trautman 2021-04-09 12:49:46 UTC
Regression tests were run and no blockers were found.

Comment 6 errata-xmlrpc 2021-04-12 18:08:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (openvswitch2.15 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1162