br_netfilter module is missing due to conflict

Bug #1836257 reported by Andrey Grebennikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Containerd Subordinate Charm
New
Undecided
Unassigned

Bug Description

Fresh deployment of k8s on 18.04.
One unit out of 3 gets into error state with:
unit-containerd-4: 20:07:51 DEBUG unit.containerd/4.install subprocess.CalledProcessError: Command '['modprobe', 'br_netfilter']' returned non-zero exit status 1.
unit-containerd-4: 20:07:51 ERROR juju.worker.uniter.operation hook "install" failed: exit status 1
unit-containerd-4: 20:07:57 INFO unit.containerd/4.juju-log Reactive main running for hook install

Trying to manually execute same command on the node:

root@juju-78db20-2-lxd-2:~# modprobe br_netfilter
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.0-54-generic/modules.dep.bin'
modprobe: FATAL: Module br_netfilter not found in directory /lib/modules/4.15.0-54-generic

Looks similar to
https://github.com/moby/moby/issues/38185

Revision history for this message
Andrey Grebennikov (agrebennikov) wrote :

Update: all 3 units out of 3 failed with the same error.

Revision history for this message
Andrey Grebennikov (agrebennikov) wrote :

one more update - containerd-runtime is related to both and master and worker, only those units that are related to master failed (running in the lxd container)

Revision history for this message
George Kraft (cynerva) wrote :

Thanks for the report. This is a known issue with the containerd charm on LXD. See https://bugs.launchpad.net/charm-containerd/+bug/1834524 - I've marked this as a duplicate.

Revision history for this message
Andrey Grebennikov (agrebennikov) wrote :

yep, I see it being the same problem. Any eta on the new release of the charm? or I can maybe used proposed/edge?

Revision history for this message
George Kraft (cynerva) wrote :

This fix is currently available in the edge channel with cs:~containers/containerd-6. No ETA on release to stable at the moment. Further updates will be posted in https://bugs.launchpad.net/charm-containerd/+bug/1834524.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.