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: | Networking | Assignee: | 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
|