-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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
error trying to get filesystem Device for dir /var/lib/kubelet #44059
Comments
Hmm, looks like its coming from here: So it's possible that the process needs to be restarted after the directory was mounted? Can you try that? (Since the partitions is cached there) |
Restarting kubelet gives the same result. |
I have the same issue under CoreOS Container Linux:
In my case, I use CoreOS's kubelet-wrapper (rkt with the "fly" stage0) and /var/lib/kubelet is bind-mounted rshared before starting rkt. |
Which seems to be because tmpfs is not in the list here: https://github.com/kubernetes/kubernetes/blob/master/vendor/github.com/google/cadvisor/fs/fs.go#L125 |
Any chance of a release supporting tmpfs? I see the same on my rktnetes nodes on Ubuntu. |
@kubernetes/sig-node-bugs |
Fix has been merged to cadvisor, so closing. Thanks all. |
Looks like cadvisor is having trouble getting metrics for /var/lib/kubelet when it is mounted as tmpfs.
Using CentOS 3.10.0-514.6.1.el7.x86_64
kubelet
/proc/self/mountinfo
Doesn't appear to be related to #38337 since major/minor numbers match up.
The text was updated successfully, but these errors were encountered: