Skip to content

could not get net class info: error obtaining net class info: open /host/sys/class/net/calixxx #1840

@yogeek

Description

@yogeek

Host operating system: output of uname -a

Linux ip-10-XX-XXX-XXX.eu-central-1.compute.internal 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:18:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

node_exporter version: output of node_exporter --version

quay.io/prometheus/node-exporter:v1.0.1 (daemonset in k8s)

node_exporter command line flags

Args:
      --web.listen-address=127.0.0.1:9100
      --path.procfs=/host/proc
      --path.sysfs=/host/sys
      --path.rootfs=/host/root
      --no-collector.wifi
      --no-collector.hwmon
      --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+)($|/)
      --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$

Are you running node_exporter in Docker?

yes, daemonset in k8s (installed with kube-prometheus)

What did you do that produced an error?

nothing... the error seems to always appear on 1 of the k8s node and only one and seems to cause an alert "NodeDown" to be raised (whereas the node is not down)

What did you expect to see?

no error

What did you see instead?

$ kubectl logs -f node-exporter-sgtzd node-exporter
level=info ts=2020-09-04T11:13:17.144Z caller=node_exporter.go:191 msg="Listening on" address=127.0.0.1:9100
level=info ts=2020-09-04T11:13:17.144Z caller=tls_config.go:170 msg="TLS is disabled and it cannot be enabled on the fly." http2=false
level=error ts=2020-09-04T11:26:29.846Z caller=collector.go:161 msg="collector failed" name=netclass duration_seconds=2.10437765 err="could not get net class info: error obtaining net class info: open /host/sys/class/net/cali2ee73163215: no such file or directory"
level=error ts=2020-09-04T11:49:27.746Z caller=collector.go:161 msg="collector failed" name=netclass duration_seconds=0.804938467 err="could not get net class info: error obtaining net class info: open /host/sys/class/net/calib6a323c103a: no such file or directory"
level=error ts=2020-09-07T16:33:57.942Z caller=collector.go:161 msg="collector failed" name=netclass duration_seconds=13.700078944 err="could not get net class info: error obtaining net class info: open /host/sys/class/net/calib499ef8e157: no such file or directory"
level=error ts=2020-09-07T16:36:44.250Z caller=collector.go:161 msg="collector failed" name=netclass duration_seconds=29.709046202 err="could not get net class info: error obtaining net class info: open /host/sys/class/net/calic59bbe41dbb: no such file or directory"
level=error ts=2020-09-07T16:36:56.143Z caller=collector.go:161 msg="collector failed" name=netclass duration_seconds=24.587578661 err="could not get net class info: error obtaining net class info: open /host/sys/class/net/calic59bbe41dbb: no such file or directory"
level=error ts=2020-09-07T16:36:57.042Z caller=collector.go:161 msg="collector failed" name=netclass duration_seconds=24.599555658 err="could not get net class info: error obtaining net class info: open /host/sys/class/net/calic59bbe41dbb: no such file or directory"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions