Hello,
I am having trouble since I've upgraded a CentOS 7.6 container to CentOS 7.7 running on ProxMox 6.0.
The problem is that firewalld no more starts complaining about nf_conntrack module as follows.
ERROR: Failed to load nf_conntrack module: modprobe: ERROR: could not find module by name='nf_conntrack'
modprobe: ERROR: could not insert 'nf_conntrack': Function not implemented
modprobe: ERROR: Error running install command for nf_conntrack...
ERROR: Raising SystemExit in run_server
The output of modinfo nf_conntrack is
modinfo: ERROR: Module alias nf_conntrack not found.
While on a VPS running at french provider OVH, i have as output:
filename: /lib/modules/3.10.0-1062.1.1.el7.x86_64/kernel/net/netfilter/nf_conntrack.ko.xz
license: GPL
retpoline: Y
rhelversion: 7.7
srcversion: 03A8408E58BFA6E173F2FE6
depends: libcrc32c
intree: Y
vermagic: 3.10.0-1062.1.1.el7.x86_64 SMP mod_unload modversions
signer: CentOS Linux kernel signing key
sig_key: 34:1A:1E:7B:066:87:15:3E:3A:E9:8D:3E:B5:6E:0E:CD:30B:79
sig_hashalgo: sha256
parm: tstamp:Enable connection tracking flow timestamping. (bool)
parm: acct:Enable connection tracking flow accounting. (bool)
parm: nf_conntrack_helper:Enable automatic conntrack helper assignment (default 1) (bool)
parm: expect_hashsize:uint
On the ProxMox server side, i have also a positive output:
filename: /lib/modules/5.0.21-2-pve/kernel/net/netfilter/nf_conntrack.ko
license: GPL
alias: nf_conntrack-10
alias: nf_conntrack-2
alias: ip_conntrack
srcversion: ECF2FC78962840323375B8C
depends: nf_defrag_ipv6,libcrc32c,nf_defrag_ipv4
retpoline: Y
intree: Y
name: nf_conntrack
vermagic: 5.0.21-2-pve SMP mod_unload modversions
parm: tstamp:Enable connection tracking flow timestamping. (bool)
parm: acct:Enable connection tracking flow accounting. (bool)
parm: nf_conntrack_helper:Enable automatic conntrack helper assignment (default 0) (bool)
parm: expect_hashsize:uint
The output of rpm -qf /lib/modules/3.10.0-1062.1.1.el7.x86_64/kernel/net/netfilter/nf_conntrack.ko.xz on the centos 7.7 vps is
kernel-3.10.0-1062.1.1.el7.x86_64
Now, on a proxmox container, there is no kernel installed as it is a container.
How could i let the firewalld daemon on the centos container use the nf_conntrack module of the proxmox hypervisor ?
TIA.
I am having trouble since I've upgraded a CentOS 7.6 container to CentOS 7.7 running on ProxMox 6.0.
The problem is that firewalld no more starts complaining about nf_conntrack module as follows.
ERROR: Failed to load nf_conntrack module: modprobe: ERROR: could not find module by name='nf_conntrack'
modprobe: ERROR: could not insert 'nf_conntrack': Function not implemented
modprobe: ERROR: Error running install command for nf_conntrack...
ERROR: Raising SystemExit in run_server
The output of modinfo nf_conntrack is
modinfo: ERROR: Module alias nf_conntrack not found.
While on a VPS running at french provider OVH, i have as output:
filename: /lib/modules/3.10.0-1062.1.1.el7.x86_64/kernel/net/netfilter/nf_conntrack.ko.xz
license: GPL
retpoline: Y
rhelversion: 7.7
srcversion: 03A8408E58BFA6E173F2FE6
depends: libcrc32c
intree: Y
vermagic: 3.10.0-1062.1.1.el7.x86_64 SMP mod_unload modversions
signer: CentOS Linux kernel signing key
sig_key: 34:1A:1E:7B:066:87:15:3E:3A:E9:8D:3E:B5:6E:0E:CD:30B:79
sig_hashalgo: sha256
parm: tstamp:Enable connection tracking flow timestamping. (bool)
parm: acct:Enable connection tracking flow accounting. (bool)
parm: nf_conntrack_helper:Enable automatic conntrack helper assignment (default 1) (bool)
parm: expect_hashsize:uint
On the ProxMox server side, i have also a positive output:
filename: /lib/modules/5.0.21-2-pve/kernel/net/netfilter/nf_conntrack.ko
license: GPL
alias: nf_conntrack-10
alias: nf_conntrack-2
alias: ip_conntrack
srcversion: ECF2FC78962840323375B8C
depends: nf_defrag_ipv6,libcrc32c,nf_defrag_ipv4
retpoline: Y
intree: Y
name: nf_conntrack
vermagic: 5.0.21-2-pve SMP mod_unload modversions
parm: tstamp:Enable connection tracking flow timestamping. (bool)
parm: acct:Enable connection tracking flow accounting. (bool)
parm: nf_conntrack_helper:Enable automatic conntrack helper assignment (default 0) (bool)
parm: expect_hashsize:uint
The output of rpm -qf /lib/modules/3.10.0-1062.1.1.el7.x86_64/kernel/net/netfilter/nf_conntrack.ko.xz on the centos 7.7 vps is
kernel-3.10.0-1062.1.1.el7.x86_64
Now, on a proxmox container, there is no kernel installed as it is a container.
How could i let the firewalld daemon on the centos container use the nf_conntrack module of the proxmox hypervisor ?
TIA.