Bug 1947917 - Egress Firewall does not reliably apply firewall rules
Summary: Egress Firewall does not reliably apply firewall rules
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.7
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: Jacob Tanenbaum
QA Contact: huirwang
: 1949530 (view as bug list)
Depends On:
Blocks: CVE-2021-3499 1950131 1987187
TreeView+ depends on / blocked
Reported: 2021-04-09 14:09 UTC by Christopher Wawak
Modified: 2024-06-14 01:11 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1950131 1987187 (view as bug list)
Last Closed: 2021-07-27 22:58:43 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 502 0 None open Bug 1947917: fix deadlock in EgressFirewall DNS code 2021-04-15 20:07:12 UTC
Github ovn-org ovn-kubernetes pull 2169 0 None open fix deadlock in EgressFirewall DNS code 2021-04-12 16:18:44 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:59:12 UTC

Description Christopher Wawak 2021-04-09 14:09:04 UTC
Description of problem:
When adding dns rules within an egress firewall, (seemingly random, more than 5), the firewall never applies successfully nor generates error messages indicating a failure.

This is reproduced on a clean OCP 4.7.4 cluster.

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

How reproducible:
If you add more than 5 DNS rules, it's more likely to reproduce. It's been seen with one. Doesn't always reproduce the same result.

Steps to Reproduce:
1. Install 4.7.4 cluster on vmware ipi, designate OVN-Kubernetes
2. Apply egress firewall definition yaml

Actual results:
Firewall does not apply, leaving egress unsecured.

Expected results:
Firewall applies

Comment 6 Victor Pickard 2021-04-12 12:51:34 UTC
Assigning to Jacob to investigate

Comment 12 Przemyslaw Roguski 2021-04-14 19:40:03 UTC
We agreed that embargo is not necessary for this case.
The CVE-2021-3499 is public since now.

Comment 17 Jacob Tanenbaum 2021-04-23 14:29:42 UTC
*** Bug 1949530 has been marked as a duplicate of this bug. ***

Comment 20 errata-xmlrpc 2021-07-27 22:58:43 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.8.2 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.


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