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

Improve error logging via events when attach fails on a node #42161

Closed
gnufied opened this issue Feb 27, 2017 · 1 comment
Closed

Improve error logging via events when attach fails on a node #42161

gnufied opened this issue Feb 27, 2017 · 1 comment

Comments

@gnufied
Copy link
Member

gnufied commented Feb 27, 2017

I have seen many error reports where volume fails to attach/mount on a node with following generic error:

"Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "mongodb-2-z5dbt"/"foobar". list of unattached/unmounted volumes=[mongodb-data]"

and further debugging often requires access to both controller and kubelet logs, but those can be tricky to acquire. The user who is running into this bug may not have access to controller logs.

We need to make it simpler to identify all instances of failures and why it is happening. There have been some cases such #42006 which improves it, but we should try and cover all branches of code to make sure - an error is simply not dropped on the floor.

cc @kubernetes/sig-storage-bugs

@gnufied
Copy link
Member Author

gnufied commented Feb 27, 2017

I am going to close this bug for now. We do have necessary logging that helps debugging this problem. There was unrelated error that prevented log events to be showing up sometimes.

@gnufied gnufied closed this as completed Feb 27, 2017
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

No branches or pull requests

1 participant