-
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
kubelet cannot find device for dir /var/lib/kubelet in cached partitions map #38337
Comments
looking into /proc/PID/mountinfo file of the kubelet process I see 0:35 device, but no 0:37
Looks like an issue with btrfs subvolumes related to this: |
HI, we ran into this issue on SLES 12 nodes, and the patch dc8b6cc does fix the issue, thanks, any plan on integrating the patch to Kubernetes? |
I created pull request, but still need to sign CLA. |
I created pull request for cadvisor google/cadvisor#1574 |
This will hopefully make it into one of the first few patch releases of 1.6. |
The same issue happens with tmpfs roots:
In my case, I use CoreOS's kubelet-wrapper (rkt with the "fly" stage0) and /var/lib/kubelet is bind-mounted rshared. |
@MikaelCluseau, your bug looks more similar to #44059, since the major and minor numbers all match up. @dmrub, I would prefer closing this issue, as it was related to brtfs, and moving discussion on @MikaelCluseau's bug to #44059. For anyone experiencing the original problem, @dmrub's solution is included in the v1.5.6 patch release. |
Thanks @dashpole I'll move there |
This commit fixes the warning messages reported by kubelet when checking for the disk space on a btrfs `/` which has `/var/lib/kubelet` inside of a btrfs sub-volume. This fix follows the same principle adopted to fix issue kubernetes#38337 with commit dc8b6cc. This commit fixes issue 47046. Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Does anybody know if this is still an issue? |
Yes, still happening with v1.19.4+k3s-fadc5a80 on Fedora 33 with btrfs /. |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.): "btrfs kubelet"
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Kubernetes version (use
kubectl version
): v1.4.6Environment:
uname -a
): Linux vilnus 3.10.0-327.36.3.el7.x86_64 Unit test coverage in Kubelet is lousy. (~30%) #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxWhat happened:
kubelet continuously reports following error messages:
As (I assume) a side effect heapster pod fails with following error messages:
When kubelet starts there is no device with major:minor ID '0:37':
stat tool does not report device with 0:35 but 0:37 (i.e. 25h/37d):
Here is also /etc/fstab
Same errors appears on all nodes and all nodes have / mounted to btrfs partition.
What you expected to happen:
No errors, kubernetes 1.2.0 installed from CentOS 7 package had no such errors.
How to reproduce it (as minimally and precisely as possible):
Kubernetes binaries were installed from here :
https://storage.googleapis.com/kubernetes-release/release/v1.4.6/bin/linux/amd64
Run kubelet on btrfs root partition.
Anything else do we need to know:
I would like at least to have recommendations how to figure out what exactly issue is.
The text was updated successfully, but these errors were encountered: