You have been subscribed to a public bug:

$ 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)

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic uec-images
-- 
focal cloud image on kvm does not have ip_tables kernel module
https://bugs.launchpad.net/bugs/1944006
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to