Bug 1995872 - OpenShift SDN doesn't add NOTRACK rule to raw iptables table to prevent vxlan from reaching conntrack
Summary: OpenShift SDN doesn't add NOTRACK rule to raw iptables table to prevent vxlan...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.7.z
Assignee: Andrew Stoycos
QA Contact: Ying Wang
URL:
Whiteboard:
Depends On: 1995871
Blocks: 1995873
TreeView+ depends on / blocked
 
Reported: 2021-08-20 02:05 UTC by OpenShift BugZilla Robot
Modified: 2021-10-26 07:21 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 09:16:49 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sdn pull 338 0 None None None 2021-08-31 01:01:08 UTC
Red Hat Product Errata RHBA-2021:3422 0 None None None 2021-09-15 09:17:06 UTC

Comment 1 Ying Wang 2021-08-31 10:30:50 UTC
Deployed cluster via cluster-bot using openshift/sdn/pull/338, the issue is fixed.


sh-4.4# iptables -t raw -S
-P PREROUTING ACCEPT
-P OUTPUT ACCEPT
-N OPENSHIFT-NOTRACK
-A PREROUTING -m comment --comment "disable conntrack for vxlan" -j OPENSHIFT-NOTRACK
-A OUTPUT -m comment --comment "disable conntrack for vxlan" -j OPENSHIFT-NOTRACK
-A OPENSHIFT-NOTRACK -p udp -m udp --dport 4789 -j NOTRACK
sh-4.4# exit


% oc version
Client Version: 4.9.0-0.nightly-2021-08-18-144658
Server Version: 4.7.0-0.ci.test-2021-08-31-091530-ci-ln-s3w5yrb-latest
Kubernetes Version: v1.20.0-1095+9689d22dc3121e-dirty


Thanks,
Ying

Comment 2 Ying Wang 2021-08-31 10:31:43 UTC
Deployed cluster via cluster-bot using openshift/sdn/pull/338, the issue is fixed.


sh-4.4# iptables -t raw -S
-P PREROUTING ACCEPT
-P OUTPUT ACCEPT
-N OPENSHIFT-NOTRACK
-A PREROUTING -m comment --comment "disable conntrack for vxlan" -j OPENSHIFT-NOTRACK
-A OUTPUT -m comment --comment "disable conntrack for vxlan" -j OPENSHIFT-NOTRACK
-A OPENSHIFT-NOTRACK -p udp -m udp --dport 4789 -j NOTRACK
sh-4.4# exit


% oc version
Client Version: 4.9.0-0.nightly-2021-08-18-144658
Server Version: 4.7.0-0.ci.test-2021-08-31-091530-ci-ln-s3w5yrb-latest
Kubernetes Version: v1.20.0-1095+9689d22dc3121e-dirty


Thanks,
Ying

Comment 6 Ying Wang 2021-09-07 03:10:38 UTC
Checked on version 4.7.0-0.nightly-2021-09-06-042858, issue is fixed.


sh-4.4# iptables -t raw -S
-P PREROUTING ACCEPT
-P OUTPUT ACCEPT
-N OPENSHIFT-NOTRACK
-A PREROUTING -m comment --comment "disable conntrack for vxlan" -j OPENSHIFT-NOTRACK
-A OUTPUT -m comment --comment "disable conntrack for vxlan" -j OPENSHIFT-NOTRACK
-A OPENSHIFT-NOTRACK -p udp -m udp --dport 4789 -j NOTRACK


% oc version
Client Version: 4.9.0-0.nightly-2021-08-18-144658
Server Version: 4.7.0-0.nightly-2021-09-06-042858
Kubernetes Version: v1.20.0+9689d22


Thanks,
Ying

Comment 8 errata-xmlrpc 2021-09-15 09:16:49 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 (OpenShift Container Platform 4.7.30 bug fix 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/RHBA-2021:3422


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