Bug 2034102 - [OVN] Recreate the deleted EgressIP object got InvalidEgressIP warning
Summary: [OVN] Recreate the deleted EgressIP object got InvalidEgressIP warning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.10.0
Assignee: Patryk Diak
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-20 06:36 UTC by huirwang
Modified: 2022-03-10 16:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:35:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ovn-org ovn-kubernetes pull 2734 0 None open EgressIP: miscellaneous fixes 2022-01-13 10:52:37 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:35:21 UTC

Description huirwang 2021-12-20 06:36:11 UTC
Description of problem:
[OVN AWS] Recreating the  deleted EgressIP object got  InvalidEgressIP  warning

Version-Release number of selected component (if applicable):
4.10.0-0.ci-2021-12-19-184945

How reproducible:
Always

Steps to Reproduce:
1. Label some nodes as egress nodes and create one egressip object

2. Then delete above egressip object
$ oc delete egressip --all
egressip.k8s.ovn.org "egressip-1" deleted

3. Create above egressip object again.


Actual results:

EgressIP was not assigned and check event got below warnings.
$ oc get egressip
NAME         EGRESSIPS     ASSIGNED NODE   ASSIGNED EGRESSIPS
egressip-1   10.0.48.215 


5m19s       Warning   InvalidEgressIP       egressip/egressip-1                                egress IP: 10.0.48.215 for object EgressIP: egressip-1 is already referenced by another EgressIP object

Expected results:
Recreating the deleted egressip object should take effect correctly. 


Additional info:
Workaround: Restart ovnkube-master pods.

Comment 3 Patryk Diak 2022-01-13 10:52:38 UTC
This should be addressed by https://github.com/ovn-org/ovn-kubernetes/pull/2734, I will update the status once it merges downstream.

Comment 7 errata-xmlrpc 2022-03-10 16:35:04 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.10.3 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:0056


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