Bug 1973679 - fix ovn-kubernetes NetworkPolicy 4.7->4.8 upgrade issue
Summary: fix ovn-kubernetes NetworkPolicy 4.7->4.8 upgrade issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Dan Winship
QA Contact: Arti Sood
URL:
Whiteboard:
Depends On:
Blocks: 1973672
TreeView+ depends on / blocked
 
Reported: 2021-06-18 13:05 UTC by Dan Winship
Modified: 2021-10-18 17:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:35:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 579 0 None closed Bug 1972287: 6-17-21 merge 2021-06-20 23:57:27 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:35:47 UTC

Description Dan Winship 2021-06-18 13:05:57 UTC
When upgrading from 4.7 to 4.8, an ovn-kubernetes cluster containing NetworkPolicies will leave stale ACLs around that will not get deleted, potentially causing connection failures later.

Comment 1 Dan Winship 2021-06-18 13:54:51 UTC
In theory the QE tests we added after bug 1914284 should catch this bug. That is, if you run the test case that was added for that bug, in an ovn-kube cluster across an upgrade from 4.7 to current 4.8, the test should fail.

Actually... maybe not. You might have to add an extra step, where after the upgrade you edit one of the NetworkPolicies that was created before the upgrade (eg, change the podSelector to no longer match the pods). The bug should cause that change to not take effect; the pods will still be able to connect even though the NP no longer matches them.

Comment 11 errata-xmlrpc 2021-10-18 17:35:44 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.9.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-2021:3759


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