missing data and no version in output

Bug #1874323 reported by Sean Burlington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cadvisor (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed cadvisor together with prometheus from ubuntu sources and was puzzled to find a lot of data missing - crucially docker container names

Testing on command line I noticed I didn't even get a version output

/usr/bin/cadvisor -version
cAdvisor version ()

apt-cache policy cadvisor
cadvisor:
  Installed: 0.27.1+dfsg2-4
  Candidate: 0.27.1+dfsg2-4
  Version table:
 *** 0.27.1+dfsg2-4 500
        500 http://gb.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
        100 /var/lib/dpkg/status

I then tried downloading the latest stable version from https://github.com/google/cadvisor

and it works fine

I dropped the binary in place of the Ubuntu version and now have all the data I expected

Version info outputs normally

/usr/bin/cadvisor -version
cAdvisor version v0.35.0 (49033161)

At first I thought it might be a docker/cadvisor version issue

But as the packaged cadvisor doesn't properly give a version number I wonder if something is wrong with the packaging/build process ?

Revision history for this message
Sean Burlington (sean-practicalweb) wrote :

I've just installed a new system with Ubuntu 20.04 LTS and have the same issue

Looks like there is no cadvisor upgrade and the bug is still present

apt-cache policy cadvisor
cadvisor:
  Installed: 0.27.1+dfsg2-4
  Candidate: 0.27.1+dfsg2-4
  Version table:
 *** 0.27.1+dfsg2-4 500
        500 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.