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

Reduce log spam when unable to get network stats #1700

Merged
merged 1 commit into from
Aug 18, 2017

Conversation

derekwaynecarr
Copy link
Collaborator

I have multiple reports of this spamming logs and causing stability issues.

Unable to get network stats from pid 36618: couldn't read network stats: failure opening /proc/36618/net/dev: open /proc/36618/net/dev: no such file or directory

suspect the container process has exited but the cgroup still remained.

@derekwaynecarr
Copy link
Collaborator Author

/cc @sjenning

Copy link
Collaborator

@dashpole dashpole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
There is an issue with our test infra right now, and I am not sure when I will be able to figure it out. How urgent is this fix?

@derekwaynecarr
Copy link
Collaborator Author

@dashpole - the customer reported this was putting their root partition at risk, but in theory the should be able to monitor logs separately. i want to avoid similar reports in the future, so just knowing this is lgtm from you is fine. i would like the version of cadvisor we have w/ kube 1.8 has this fix.

@dashpole
Copy link
Collaborator

/retest

@dashpole
Copy link
Collaborator

dashpole commented Aug 1, 2017

/test pull-cadvisor-e2e

@dashpole
Copy link
Collaborator

dashpole commented Aug 1, 2017

oh sorry, you need to rebase

@derekwaynecarr
Copy link
Collaborator Author

rebasing...

@derekwaynecarr
Copy link
Collaborator Author

@dashpole -- rebased, simple review.

@dashpole dashpole merged commit a1e1ede into google:master Aug 18, 2017
openshift-merge-robot added a commit to openshift/origin that referenced this pull request Sep 7, 2017
Automatic merge from submit-queue (batch tested with PRs 14825, 15756, 16178, 16188, 16189)

UPSTREAM: google/cadvisor: 1700: Reduce log spam when unable to get network stats

google/cadvisor#1700

xref https://bugzilla.redhat.com/show_bug.cgi?id=1328913

@derekwaynecarr
@fzu-huang
Copy link
Contributor

@derekwaynecarr @dashpole Do you have any idea about why it happened? I saw so much log but can not find any process match the Pids.

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

Successfully merging this pull request may close these issues.

None yet

3 participants