Bug 2106444 - EgressnodeIP update need special logic to handle creation errors
Summary: EgressnodeIP update need special logic to handle creation errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.12.0
Assignee: Mohamed Mahmoud
QA Contact: jechen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 17:11 UTC by Mohamed Mahmoud
Modified: 2023-01-17 19:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:52:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 1210 0 None Merged OCPBUGSM-45393: Bug 2078691: [Downstream Merge] 22-07-2022 2022-07-27 13:16:43 UTC
Github ovn-org ovn-kubernetes pull 3073 0 None Merged EgressIP node handle create errs followed by update in < 30s 2022-07-21 19:43:40 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:52:47 UTC

Description Mohamed Mahmoud 2022-07-12 17:11:18 UTC
Description of problem:
Egress nodeIP update path need to call addNodeForEgress() to recover creation failures followed immediatly by an update before retryobjs get a chance to retry failed creation.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 jechen 2022-08-19 22:38:22 UTC
Verified in 4.12.0-0.nightly-2022-08-19-072813

Ran all egressIP automated cases on both AWS and GCP with OVN-Kubernetes plugin


 The Case Execution Summary:
 PASS OCP-47017 Author:huirwang Multiple projects use same EgressIP. [Serial] 
 PASS OCP-47018 Author:huirwang Multiple projects use same EgressIP. [Serial] 
 PASS OCP-47019 Author:huirwang EgressIP works well with networkpolicy and egressFirewall. [Serial] 
 PASS OCP-47020 Author:huirwang EgressIP node liveness probe. [Disruptive] [Serial]
 PASS OCP-47021 Author:huirwang lr-policy-list and snat should be updated correctly after remove pods. [Disruptive] [Serial]
 PASS OCP-47023 Author:huirwang EgressIP works well with networkpolicy and egressFirewall. [Serial] 
 PASS OCP-47024 Author:huirwang EgressIP node liveness probe. [Disruptive] [Serial]
 PASS OCP-47025 Author:huirwang Be able to update egressip object. [Serial] 
 PASS OCP-47026 Author:huirwang Deleting EgressIP object and recreating it works. [Serial] 
 PASS OCP-47028 Author:huirwang After remove EgressIP node tag, EgressIP will failover to other availabel egress nodes. [Serial] 
 PASS OCP-47030 Author:huirwang An EgressIP object can not have multiple egress IP assignments on the same node. [Serial] 
 PASS OCP-47031 Author:huirwang After reboot egress node EgressIP still work. [Disruptive] [Serial]
 PASS OCP-47032 Author:huirwang Traffic is load balanced between egress nodes. [Serial] 
 PASS OCP-47033 Author:huirwang If an egress node is NotReady traffic is still load balanced between available egress nodes. [Disruptive] [Serial]
 PASS OCP-47034 Author:huirwang Traffic is load balanced between egress nodes. [Serial] 
 PASS OCP-47163 Author:huirwang Deleting EgressIP object and recreating it works. [Serial] 
 PASS OCP-47164 Author:huirwang Be able to update egressip object. [Serial] 
 PASS OCP-47208 Author:huirwang The configured EgressIPs exceeds IP capacity. [Disruptive] [Serial]
 PASS OCP-47272 Author:huirwang Pods will not be affected by the egressIP set on other netnamespace. [Serial] 
 PASS OCP-53069 Author:huirwang [Bug2097243] EgressIP should work for recreated same name pod. [Serial]

Comment 5 errata-xmlrpc 2023-01-17 19:52:29 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security 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/RHSA-2022:7399


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