Missing kernel modules while creating Calico on k3s flist

Open
#97 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
shell

Research direction

No file, test, or entry point is identified. Start with the Calico readiness and ipset errors, then trace how this initramfs builder selects kernel modules and check the requested ip_set, ip_set_hash_ip, and ip_set_hash_net modules. Done means the generated environment includes the needed modules and Calico starts without these errors.

Written by the indexing model from the issue text.

Description

 Warning  Unhealthy  4m30s  kubelet            Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/bird/bird.ctl: connect: no such file or directory
  Warning  Unhealthy  4m29s  kubelet            Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused
  Warning  Unhealthy  4m19s  kubelet            Readiness probe failed: 2025-09-01 09:35:41.886 [INFO][531] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: felix is not ready: readiness probe reporting 503
  Warning  Unhealthy  4m9s  kubelet  Readiness probe failed: 2025-09-01 09:35:51.616 [INFO][936] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: felix is not ready: readiness probe reporting 503
  Warning  Unhealthy  3m49s  kubelet  Readiness probe failed: 2025-09-01 09:36:11.494 [INFO][1919] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: felix is not ready: readiness probe reporting 503
  Warning  Unhealthy  3m39s  kubelet  Readiness probe failed: 2025-09-01 09:36:21.511 [INFO][2458] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: felix is not ready: readiness probe reporting 503
  Warning  Unhealthy  3m29s  kubelet  Readiness probe failed: 2025-09-01 09:36:31.472 [INFO][3004] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: felix is not ready: readiness probe reporting 503
  Warning  Unhealthy  3m29s  kubelet  Readiness probe failed: 2025-09-01 09:36:31.573 [INFO][3016] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: felix is not ready: readiness probe reporting 503
  Warning  Unhealthy  3m19s  kubelet  Readiness probe failed: 2025-09-01 09:36:41.557 [INFO][3535] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: felix is not ready: readiness probe reporting 503
  Warning  Unhealthy  56s (x16 over 3m9s)  kubelet  (combined from similar events): Liveness probe failed: calico/node is not ready: Felix is not live: Get "http://localhost:9099/liveness": dial tcp 127.0.0.1:9099: connect: connection refused
root@mre0rts:~# kubectl logs -n kube-system -l k8s-app=calico-node
Defaulted container "calico-node" out of: calico-node, upgrade-ipam (init), install-cni (init), mount-bpffs (init)
Defaulted container "calico-node" out of: calico-node, upgrade-ipam (init), install-cni (init), mount-bpffs (init)
2025-09-01 09:41:48.977 [ERROR][20032] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:48.977 [WARNING][20032] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet"
2025-09-01 09:41:48.981 [ERROR][20032] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet6" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:48.981 [WARNING][20032] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet6"
2025-09-01 09:41:49.234 [INFO][20032] felix/ipsets.go 337: Retrying after an ipsets update failure... family="inet"
2025-09-01 09:41:49.235 [ERROR][20032] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:49.235 [WARNING][20032] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet"
2025-09-01 09:41:49.239 [INFO][20032] felix/ipsets.go 337: Retrying after an ipsets update failure... family="inet6"
2025-09-01 09:41:49.248 [ERROR][20032] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet6" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:49.248 [WARNING][20032] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet6"
2025-09-01 09:41:49.096 [ERROR][20079] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:49.096 [WARNING][20079] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet"
2025-09-01 09:41:49.097 [ERROR][20079] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet6" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:49.097 [WARNING][20079] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet6"
2025-09-01 09:41:49.225 [INFO][20079] felix/ipsets.go 337: Retrying after an ipsets update failure... family="inet"
2025-09-01 09:41:49.225 [INFO][20079] felix/ipsets.go 337: Retrying after an ipsets update failure... family="inet6"
2025-09-01 09:41:49.226 [ERROR][20079] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:49.226 [WARNING][20079] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet"
2025-09-01 09:41:49.227 [ERROR][20079] felix/ipsets.go 599: Bad return code from 'ipset list'. error=exit status 1 family="inet6" stderr="ipset v7.11: Kernel error received: Invalid argument\n"
2025-09-01 09:41:49.227 [WARNING][20079] felix/ipsets.go 346: Failed to resync with dataplane error=exit status 1 family="inet6"

looks it requires some modules like ip_set, ip_set_hash_ip, ip_set_hash_net

Dominant language
Shell
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from threefoldtech/zos_initramfs

All issues in threefoldtech/zos_initramfs

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.