-
Notifications
You must be signed in to change notification settings - Fork 18.8k
[27.x] Revert "Fix br_netfilter module loading logic" #48991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit 052f7d6. Signed-off-by: Sebastiaan van Stijn <[email protected]>
OK, reverting makes no difference;
|
This reverts commit 5c499fc. Signed-off-by: Sebastiaan van Stijn <[email protected]>
Let me try also reverting #48511 (although there still was a |
Code before that was added in 52da8bd, so I doubt that reverting that last one helps |
Here's the info from CI in this branch;
|
reverting #48511 DOES make CI pass with 2 failures remaining, BUT that PR was already part of Docker v27.3.0. if config.EnableIPTables || config.EnableIP6Tables {
if _, err := os.Stat("/proc/sys/net/bridge"); err != nil {
if out, err := exec.Command("modprobe", "-va", "bridge", "br_netfilter").CombinedOutput(); err != nil {
log.G(context.TODO()).Warnf("Running modprobe bridge br_netfilter failed with message: %s, error: %v", out, err)
}
}
}
☝️ reverting that PR may just be masking the issue, because before that PR we did not error, only log failures, and downloading logs from CI confirms that;
So, the dev-shell on my local machine; "old" check (before #48960); ls -la /proc/sys/net/bridge
total 0
dr-xr-xr-x 1 root root 0 Nov 29 20:17 .
dr-xr-xr-x 1 root root 0 Nov 29 20:14 ..
-rw-r--r-- 1 root root 0 Nov 29 20:17 bridge-nf-call-arptables
-rw-r--r-- 1 root root 0 Nov 29 20:17 bridge-nf-call-ip6tables
-rw-r--r-- 1 root root 0 Nov 29 20:17 bridge-nf-call-iptables
-rw-r--r-- 1 root root 0 Nov 29 20:17 bridge-nf-filter-pppoe-tagged
-rw-r--r-- 1 root root 0 Nov 29 20:17 bridge-nf-filter-vlan-tagged
-rw-r--r-- 1 root root 0 Nov 29 20:17 bridge-nf-pass-vlan-input-dev "new" check (after #48960); cat /proc/sys/net/bridge/bridge-nf-call-iptables
1 However, command -v modprobe To get apt-get install kmod
...
...
Preparing to unpack .../kmod_30+20221128-1_arm64.deb ...
Unpacking kmod (30+20221128-1) ...
Setting up kmod (30+20221128-1) ...
command -v modprobe
/usr/sbin/modprobe |
Here's CI information from an older PR which ran on the nodes before updating; note that the docker info does NOT show the "WARNING: bridge-nf-call-iptables is disabled" and "WARNING: bridge-nf-call-ip6tables is disabled" warnings;
|
It's odd though, because the check-config script shows;
Trying too load the module in jenkins shows; modprobe -va br_netfilter
insmod /lib/modules/5.15.0-1072-aws/kernel/net/bridge/br_netfilter.ko But
|
This reverts commit 052f7d6.
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)