Bug 1824243

Summary: [3.11] openshift-sdn does not update egress IPs on the node due to deadlock
Product: OpenShift Container Platform Reporter: Ben Bennett <bbennett>
Component: NetworkingAssignee: Juan Luis de Sousa-Valadas <jdesousa>
Networking sub component: openshift-sdn QA Contact: huirwang
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: high CC: aarapov, aconstan, aivaraslaimikis, andbartl, cmarches, erich, jdesousa, jnordell, palonsor, zzhao
Version: 3.11.0   
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The egressIPTracker had methods that lock eit.mutex and that call evm functions that lock evm.mutex. The problem with this was that evm.mutex had to write to the evm.updates channel which isn't buffered and becomes blocked until eit.setNodeOffline was run, and this function also locked eit.mutex. Consequence: When there was a vas amount of egressIPs there was a deadlock Fix: Removed the deadlock by making the updates channel buffered so that it's a mere notification system which doesn't contain the actual data. Result: There is no deadlock
Story Points: ---
Clone Of: 1824203 Environment:
Last Closed: 2020-07-27 13:49:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1824203, 1840215    
Bug Blocks:    

Comment 19 errata-xmlrpc 2020-07-27 13:49:10 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, 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-2020:2990