Package: cadvisor
Version: 0.38.7+ds1-2
Severity: grave
Tags: upstream
Justification: renders package unusable
X-Debbugs-Cc: ssingh+deb...@wikimedia.org

Dear Maintainer,

The current version of cadvisor on Debian bullseye fails to gather
process metrics because of a bug in the upstream version that results
from bullseye defaulting to cgroup v2. This bug was fixed in
https://github.com/google/cadvisor/pull/3030 by using the correct
unified root path and accounting for the cgroup v2 change.  The fix has
not been backported but is available in the latest release of cadvisor.

The current version of cadvisor in bullseye thus fails to gather metrics
and other than a "Cannot detect current cgroup on cgroup v2" warning,
there isn't any indication to the user. Backporting the specific patch
will not work as the version in Debian is outdated: the latest cadvisor
version at the time of writing this is 0.46.0 and was released in
November 2022 with the above fix, whereas 0.38.7 was released in January
2021 and these two versions have deviated significantly.

The only way to make the current version of cadvisor work is to set
systemd.unified_cgroup_hierarchy=0 to enable the hybrid/legacy cgroup
mode but that's not desirable, and thus perhaps, a new release of the
cadvisor package is warranted.

Thank you for your time.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cadvisor depends on:
ii  libc6     2.36-6
ii  libzstd1  1.5.2+dfsg-1

cadvisor recommends no packages.

cadvisor suggests no packages.

Reply via email to