nf_conntrack_max: permission denied LXC

Jackiix

Member
Nov 22, 2022
51
0
6
Hello, i have a problem with my LXC, work many hour on it to reduces the amout of errors i had, i think the last problem is this

Code:
root@:~# kubectl logs -n kube-system kube-proxy-sqwhk
I0703 11:18:47.200979       1 server_linux.go:69] "Using iptables proxy"
I0703 11:18:47.208414       1 server.go:1062] "Successfully retrieved node IP(s)" IPs=["<hidden  ip>"]
I0703 11:18:47.214368       1 conntrack.go:119] "Set sysctl" entry="net/netfilter/nf_conntrack_max" value=131072
E0703 11:18:47.214427       1 server.go:558] "Error running ProxyServer" err="open /proc/sys/net/netfilter/nf_conntrack_max: permission denied"
E0703 11:18:47.214472       1 run.go:74] "command failed" err="open /proc/sys/net/netfilter/nf_conntrack_max: permission denied"

well all does commands what i have used for the LXC didnt work to give it permission, what did i miss. Would be nice if someone could help me, i m almost done.

Code:
arch: amd64
cores: 2
features: nesting=1
hostname: xxxxxxxxx
memory: 2048
net0: name=eth0,bridge=vmbr0,gw=<hidden  ip>,hwaddr=BC:24:11:49:E0:9F,ip=<hidden  ip>,type=veth
ostype: debian
rootfs: local:101/vm-101-disk-0.raw,size=4G
swap: 0
lxc.apparmor.profile: unconfined
lxc.apparmor.allow_nesting: 1
lxc.cap.drop:
lxc.cgroup.devices.allow: a
lxc.mount.auto: proc:rw sys:rw
lxc.mount.entry: /proc/sys/net/netfilter/nf_conntrack_max proc/sys/net/netfilter/nf_conntrack_max none bind,create=file 0 0
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!