siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.97k stars 564 forks source link

Disabled IPv6 causing flooding kernel error messages #3919

Closed alex1989hu closed 3 years ago

alex1989hu commented 3 years ago

Bug Report

After upgrading from v0.10.4 to v0.11.0 I see lot of errors in dmesg.

Given configuration:

sysctls:
         net.ipv6.conf.all.disable_ipv6: "1"
         net.ipv6.conf.default.disable_ipv6: "1"
         net.ipv6.conf.lo.disable_ipv6: "1"

Description

Logs

192.168.66.189: user: warning: [2021-07-09T06:46:30.103123653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:46:30.398582653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:46:31.441821653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: kern: info: [2021-07-09T06:46:31.635394653Z]: cilium_host: Caught tx_queue_len zero misconfig 192.168.66.189: kern: info: [2021-07-09T06:46:31.705160653Z]: cilium_net: Caught tx_queue_len zero misconfig 192.168.66.189: user: warning: [2021-07-09T06:46:32.586477653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: kern: info: [2021-07-09T06:46:33.360614653Z]: eth0: renamed from tmpdce98 192.168.66.189: kern: info: [2021-07-09T06:46:33.404439653Z]: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 192.168.66.189: kern: info: [2021-07-09T06:46:33.404947653Z]: eth0: renamed from tmp308a7 192.168.66.189: kern: info: [2021-07-09T06:46:33.457171653Z]: eth0: renamed from tmp897dc 192.168.66.189: user: warning: [2021-07-09T06:46:34.015671653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:46:35.354215653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: kern: info: [2021-07-09T06:46:35.419221653Z]: lxcf168f215cedb: Caught tx_queue_len zero misconfig 192.168.66.189: kern: info: [2021-07-09T06:46:35.419622653Z]: lxc49984d0c591e: Caught tx_queue_len zero misconfig 192.168.66.189: kern: info: [2021-07-09T06:46:35.419996653Z]: lxcab8b9eadbe73: Caught tx_queue_len zero misconfig 192.168.66.189: kern: info: [2021-07-09T06:46:35.420331653Z]: lxc_health: Caught tx_queue_len zero misconfig 192.168.66.189: user: warning: [2021-07-09T06:46:38.453405653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:46:38.486638653Z]: [talos] task uncordonNode (1/1): done, 30.287478824s 192.168.66.189: user: warning: [2021-07-09T06:46:38.486835653Z]: [talos] phase uncordon (16/17): done, 30.287830419s 192.168.66.189: user: warning: [2021-07-09T06:46:38.486997653Z]: [talos] phase bootloader (17/17): 1 tasks(s) 192.168.66.189: user: warning: [2021-07-09T06:46:38.487168653Z]: [talos] task updateBootloader (1/1): starting 192.168.66.189: user: warning: [2021-07-09T06:46:38.495216653Z]: [talos] task updateBootloader (1/1): removing fallback 192.168.66.189: user: warning: [2021-07-09T06:46:38.498218653Z]: [talos] task updateBootloader (1/1): done, 11.060351ms 192.168.66.189: user: warning: [2021-07-09T06:46:38.498407653Z]: [talos] phase bootloader (17/17): done, 11.41102ms 192.168.66.189: user: warning: [2021-07-09T06:46:38.498565653Z]: [talos] boot sequence: done: 4m18.396926088s 192.168.66.189: user: warning: [2021-07-09T06:46:43.097668653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:46:52.592600653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:46:59.802651653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:47:09.961722653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:47:42.251974653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"} 192.168.66.189: user: warning: [2021-07-09T06:48:33.459765653Z]: [talos] controller failed {"component": "controller-runtime", "controller": "network.AddressSpecController", "error": "error adding address ::1/128 to \x5c"lo\x5c": netlink receive: permission denied"}

Environment

Server: NODE: 192.168.66.189 Tag: v0.11.0 SHA: 3f6b56c6 Built: Go version: go1.16.5 OS/Arch: linux/amd64

- Kubernetes version: [`kubectl version --short`]
```sh
Client Version: v1.21.2
Server Version: v1.21.2
alex1989hu commented 3 years ago

/cc @smira