Bug 1947176 - 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: VERIFIED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Casey Callendrello
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On:
Blocks: 1956980
TreeView+ depends on / blocked
 
Reported: 2021-04-07 20:21 UTC by Casey Callendrello
Modified: 2021-06-15 15:55 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)

Description Casey Callendrello 2021-04-07 20:21:03 UTC
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.

Comment 1 Casey Callendrello 2021-04-20 15:56:58 UTC
This was pulled down to 4.8 as part of https://github.com/openshift/ovn-kubernetes/pull/496


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