focal cloud image on kvm does not have ip_tables kernel module

Bug #1944006 reported by Amitava Shee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

$ sudo iptables -L
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/5.4.0-84-generic
iptables v1.6.1: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

No ip_tables.ko
```
$ ls -l /lib/modules/`uname -r`/kernel/net/ipv4
total 24
-rw-r--r-- 1 root root 11257 Aug 26 18:48 gre.ko
-rw-r--r-- 1 root root 12161 Aug 26 18:48 udp_tunnel.ko
```

Cloud images downloaded from - http://cloud-images.ubuntu.com/releases/focal/release/
```
$ ls -l
total 569308
-rw-rw-r-- 1 rtip rtip 543817728 Sep 7 17:35 ubuntu-20.04-server-cloudimg-amd64-disk-kvm.img
-rw-rw-r-- 1 libvirt-qemu kvm 27373249 Sep 7 17:37 ubuntu-20.04-server-cloudimg-amd64-initrd-generic
-rw-rw-r-- 1 libvirt-qemu kvm 11776256 Sep 7 17:37 ubuntu-20.04-server-cloudimg-amd64-vmlinuz-generic
```

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: iptables 1.6.1-2ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-84.94-generic 5.4.133
Uname: Linux 5.4.0-84-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.26
Architecture: amd64
Date: Fri Sep 17 20:57:42 2021
ProcEnviron:
 LANG=C.UTF-8
 SHELL=/bin/bash
 TERM=vt220
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SourcePackage: iptables
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Amitava Shee (amitava-shee) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello, can you please look for ip_tables.ko in /lib/modules/*/kernel/net/ipv4/netfilter/ip_tables.ko ? Which linux-modules-* package and which linux-image-* packages do you have installed?

Thanks

affects: iptables (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1944006

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.