Bug 1956980 - OVN-Kubernetes leaves stale AddressSets around if the deletion was missed.
Summary: OVN-Kubernetes leaves stale AddressSets around if the deletion was missed.
Keywords:
Status: POST
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.z
Assignee: Casey Callendrello
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On: 1947176
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-04 19:30 UTC by Casey Callendrello
Modified: 2021-05-04 19:32 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 523 0 None open Bug 1956980: [release-4.7] fix ForEachAddressSet() as it is not calling the callback functions 2021-05-04 19:31:27 UTC

Description Casey Callendrello 2021-05-04 19:30:28 UTC
This bug was initially created as a copy of Bug #1947176

I am copying this bug because: 



Upstream PR https://github.com/ovn-org/ovn-kubernetes/pull/2152 fixes a bug where ForEachAddressSet didn't work.

This means that we won't delete old address sets if the deletion is missed, say, because ovn-k was restarting.

If another namespace or NetworkPolicy comes into existence with the same name, it will have spurious IPs in the address set.

We should backport this fix as appropriate.


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