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 changed:

  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
+   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
+ 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 
+ 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 
+ 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 ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874323

Title:
  missing data and no version in output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cadvisor/+bug/1874323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to