percpuusage error reported

Bug #1916513 reported by Christian on 2021-02-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cadvisor (Ubuntu)
Undecided
Unassigned

Bug Description

$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04

$ sudo apt list cadvisor
Listing... Done
cadvisor/focal,now 0.27.1+dfsg2-4 amd64 [installed]

Since cadvisor was installed, it constantly reports an error message in syslog like:

Feb 22 17:30:52 xxxx cadvisor[2532]: E0222 17:30:52.162661 2532 helpers.go:468] PercpuUsage had 0 cpus, but the actual number is 2; ignoring extra CPUs
Feb 22 17:30:52 xxxx cadvisor[2532]: E0222 17:30:52.253486 2532 helpers.go:468] PercpuUsage had 0 cpus, but the actual number is 2; ignoring extra CPUs
Feb 22 17:30:52 xxxx cadvisor[2532]: E0222 17:30:52.638731 2532 helpers.go:468] PercpuUsage had 0 cpus, but the actual number is 2; ignoring extra CPUs
Feb 22 17:30:53 xxxx cadvisor[2532]: E0222 17:30:53.008974 2532 helpers.go:468] PercpuUsage had 0 cpus, but the actual number is 2; ignoring extra CPUs
Feb 22 17:30:53 xxxx cadvisor[2532]: E0222 17:30:53.367214 2532 helpers.go:468] PercpuUsage had 0 cpus, but the actual number is 2; ignoring extra CPUs
Feb 22 17:30:53 xxxx cadvisor[2532]: E0222 17:30:53.418629 2532 helpers.go:468] PercpuUsage had 0 cpus, but the actual number is 2; ignoring extra CPUs

Note: i haven't started yet a container.

This has been fixed long ago in cadvisor but 20.04 LTS is still using the 2017's version of cadvisor (now is 0.37).

I would expect the latest LTS not to provide such an old package version.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers