log flooding with "cgroup v2 not implemented for Stats: not implemented"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Containerd Subordinate Charm |
Fix Released
|
High
|
Adam Dyess |
Bug Description
How to reproduce:
$ juju deploy kubernetes-core
and it will deploy jammy + K8s 1.26 as of writing.
Then check syslog of a worker node with "cgroup v2 not implemented for Stats: not implemented".
$ juju ssh kubernetes-worker/0 \
'grep -c "Jan 11 .*cgroup v2 not implemented for Stats: not implemented" /var/log/syslog'
-> 230512
So containerd generates 230k lines per day with the error.
According to the following link, it seems we need some face lift on containerd config:
https:/
Generated config by the charm:
====
[plugins]
[plugins.
no_prometheus = false
[plugins.
stream_
stream_
enable_selinux = false
sandbox_image = "rocks.
stats_
systemd_cgroup = false
enable_
max_
[plugins.
no_pivot = false
[
====
List of processes:
====
$ pgrep -af containerd
33032 /usr/bin/containerd
48394 /usr/bin/
48723 /usr/bin/
53116 /usr/bin/
53196 /usr/bin/
53595 /usr/bin/
(...)
57434 /usr/bin/
57479 /usr/bin/
62259 /snap/kubelet/
====
Changed in charm-containerd: | |
status: | In Progress → Fix Committed |
tags: | added: backport-needed |
tags: | removed: backport-needed |
Changed in charm-containerd: | |
status: | Fix Committed → Fix Released |
Subscribing ~field-high.