-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Bunch of "failed to retrieve adjtimex stats: operation not permitted" logs #1934
Comments
Sounds like an environment-specific security limitation. Best workaround is to disable the timex collector. We should probably make this a debug-level error if we get an "operation not permitted" error. |
@SuperQ sorry I forgot to mention that Kubernetes is offered by GCP, so I'm not sure if I can check security settings of the kernel. Can you please share the command to check those security settings? Thanks a lot for your help!
Yeah I agree that would be a great idea, most probably for all running node-exporter on a cloud provided k8s. |
@bygui86 It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
Sorry @discordianfish but this is not a question but a bug report, or at least a feature improvements. |
Handle case where Adjtimex syscall gets a permission denined error. Fixes: #1934 Signed-off-by: Ben Kochie <[email protected]>
@SuperQ thanks for the MR! Amazing! |
I've been putting off a release for a while. But I'm going to work on it today so we can have 1.1.0 in Debian Stable. |
@bygui86 Was meant as response to you other questions. Thanks for the report though! |
@discordianfish sorry I misunderstood! |
Handle case where Adjtimex syscall gets a permission denined error. Fixes: prometheus#1934 Signed-off-by: Ben Kochie <[email protected]>
Handle case where Adjtimex syscall gets a permission denined error. Fixes: prometheus#1934 Signed-off-by: Ben Kochie <[email protected]>
Host operating system: output of
uname -a
Not able to SSH into the container, I suppose
nobody
as in YAML file is setnode_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:
Thanks in advance for any help or tip :)
The text was updated successfully, but these errors were encountered: