Skip to content

Bunch of "failed to retrieve adjtimex stats: operation not permitted" logs #1934

@bygui86

Description

@bygui86

Host operating system: output of uname -a

Not able to SSH into the container, I suppose nobody as in YAML file is set

# ...
    spec:
      serviceAccountName: node-exporter
      hostPID: true
      hostNetwork: true
      securityContext:
        runAsNonRoot: true
        runAsUser: 65534
# ...

node_exporter version: output of node_exporter --version

v1.0.1

node_exporter command line flags

--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/.+|var/lib/kubelet/pods/.+)($|/)

Are you running node_exporter in Docker?

Running in Kubernetes v1.17.14 using Containerd engine

What did you do that produced an error?

Nothing

What did you expect to see?

No errors like presented below

What did you see instead?

Bunch of errors like:

level=error ts=2021-01-19T18:13:58.692Z caller=collector.go:161 msg="collector failed" name=timex duration_seconds=2.0179e-05 err="failed to retrieve adjtimex stats: operation not permitted"
level=error ts=2021-01-19T18:16:58.692Z caller=collector.go:161 msg="collector failed" name=timex duration_seconds=0.000932371 err="failed to retrieve adjtimex stats: operation not permitted"
level=error ts=2021-01-19T18:17:13.692Z caller=collector.go:161 msg="collector failed" name=timex duration_seconds=0.000178464 err="failed to retrieve adjtimex stats: operation not permitted"

Thanks in advance for any help or tip :)

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