Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.49.1 arm64 - Error while reading product_name: open /sys/class/dmi/id/product_name: no such file or directory #3493

Open
Chippi opened this issue Mar 6, 2024 · 2 comments

Comments

@Chippi
Copy link

Chippi commented Mar 6, 2024

Upon upgrading from version 47.2 to 0.49.1, the following lines are repeatedly logged every 5 minutes:

Errors

I0306 22:52:36.995727       1 sysinfo.go:303] Found cpu without cache information, cpuPath: [/sys/devices/system/cpu/cpu0 /sys/devices/system/cpu/cpu1 /sys/devices/system/cpu/cpu2 /sys/devices/system/cpu/cpu3]

I0306 22:52:36.995817       1 gce.go:44] Error while reading product_name: open /sys/class/dmi/id/product_name: no such file or directory

Specs

  • Raspberry PI 5, 8 GB
  • Architecture: arm64
  • Operating System: Debian GNU/Linux 12 (bookworm)
  • Kernel: Linux 6.1.0-rpi8-rpi-2712

Docker compose

version: '3.8'
services:
  cadvisor:
    container_name: cadvisor
    image: gcr.io/cadvisor/cadvisor-arm64:v0.49.1
    privileged: true
    volumes:
      - /:/rootfs:ro
      - /var/run:/var/run:ro
      - /sys:/sys:ro
      - /var/lib/docker/:/var/lib/docker:ro
      - /dev/disk/:/dev/disk:ro
      - /etc/machine-id:/etc/machine-id:ro # Fixes UUID error
    ports:
      - 8080:8080
    devices:
      - /dev/kmsg
    command:
      - '-docker_only=true'
      - '-storage_duration=1m0s'
      - '-enable_metrics=cpu,memory,diskIO'
    healthcheck:
      disable: true
@moto-ctrl
Copy link

I just noticed the same on RPi4 - any solution to this?

@stijn2911
Copy link

I'm also having the same problem.
path /sys/class/dmi/ does not seem to exist on my rpi4.
Does this have to do with ARM architecture?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants