Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

modprobe: module br_netfilter not found in modules.dep on CentOS7 #2820

Closed
rmohr opened this issue Feb 28, 2017 · 7 comments
Closed

modprobe: module br_netfilter not found in modules.dep on CentOS7 #2820

rmohr opened this issue Feb 28, 2017 · 7 comments

Comments

@rmohr
Copy link

rmohr commented Feb 28, 2017

Hi,

Just pulled in weave 1.9.1 via https://git.io/weave-kube on CentOS7

image: weaveworks/weave-kube:1.9.1

The container weave does not come up because it complains about the missing br_netfilter module:

modprobe: module br_netfilter not found in modules.dep

The container is right that the module is not there, because it is built in in the CentOS default kernel:

ls -l /proc/sys/net/bridge
total 0
-rw-r--r--. 1 root root 0 Feb 28 09:31 bridge-nf-call-arptables
-rw-r--r--. 1 root root 0 Feb 28 09:31 bridge-nf-call-ip6tables
-rw-r--r--. 1 root root 0 Feb 28 09:31 bridge-nf-call-iptables
-rw-r--r--. 1 root root 0 Feb 28 10:05 bridge-nf-filter-pppoe-tagged
-rw-r--r--. 1 root root 0 Feb 28 10:05 bridge-nf-filter-vlan-tagged
-rw-r--r--. 1 root root 0 Feb 28 10:05 bridge-nf-pass-vlan-input-dev

It worked with older versions of weave, so maybe there was a recent change which causes this?

@bboreham
Copy link
Contributor

Yes there was a recent change; it is the 4th item in the release notes

Apologies that this broke on CentOS; we will need to investigate that.

@brb
Copy link
Contributor

brb commented Feb 28, 2017

@rmohr could you provide the output of zgrep CONFIG_BRIDGE_NETFILTER /proc/config.gz?

@rmohr
Copy link
Author

rmohr commented Feb 28, 2017

@brb, sure:

$ zgrep CONFIG_BRIDGE_NETFILTER /boot/config-`uname -r`
CONFIG_BRIDGE_NETFILTER=y

rmohr added a commit to rmohr/kubevirt that referenced this issue Feb 28, 2017
Version 1.9.1 breaks when br_filters are built into the kernel and not
modules.

See weaveworks/weave#2820 for details.
@brb brb self-assigned this Feb 28, 2017
@brb brb added this to the 1.9.2 milestone Feb 28, 2017
bboreham added a commit that referenced this issue Mar 1, 2017
Ignore modprobe errors in weave-kube/launch.sh
@bboreham
Copy link
Contributor

bboreham commented Mar 1, 2017

Closed by #2821

@bboreham bboreham closed this as completed Mar 1, 2017
@brb
Copy link
Contributor

brb commented Mar 1, 2017

@rmohr We have released 1.9.2 which fixes the bug: https://github.com/weaveworks/weave/releases/tag/v1.9.2. Could you try it out?

@rmohr
Copy link
Author

rmohr commented Mar 2, 2017

@brb 1.9.2 came up on my setup without problems and kubenetes network was working 👍 Thanks for fixing this so fast.

@milindawelagdara
Copy link

use yum install update for centos

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants