Package: prometheus-node-exporter
Severity: important
Tags: patch

The rapl collector is broken with the 5.10 kernel in Bullseye and thus spams
syslog every minute with a message like this:

-----------------------
Jul 16 07:03:39 thanos-fe2001 prometheus-node-exporter[593]: level=error 
ts=2021-07-16T07:03:39.665Z caller=collector.go:161 msg="collector failed" 
name=rapl duration_seconds=0.004142071 err="open 
/sys/class/powercap/intel-rapl:0/energy_uj: permission denied"
Jul 16 07:03:39 thanos-fe2001 prometheus-node-exporter[593]: level=error 
ts=2021-07-16T07:03:39.669Z caller=collector.go:161 msg="collector failed" 
name=rapl duration_seconds=0.002975521 err="open 
/sys/class/powercap/intel-rapl:0/energy_uj: permission denied"
-----------------------

This has been reported upstream: 
https://github.com/prometheus/node_exporter/issues/1892

The upstream fix is to disable the collector, I we think should do the same for 
Bullseye?
https://github.com/wagdav/homelab/commit/26fc86c6a79a5f1a634c7b313f86c0b6109539c0

Cheers,
         Moritz

Reply via email to