-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: invalid configuration: cgroup-root ["kubelet"] doesn't exist #1969
Comments
We have a repro and a job to test we don´t regress #1965 (comment) |
This really doesnt make sense. The image changed, yes. But changing kind binary versions shouldn't affect it, we basically haven't changed how we run nodes (except network setup) 🤔 |
I've been comparing the container |
I can't repro locally:
|
There are similar issues in kubernetes , it has to be related to cgroups kubernetes/kubernetes#75832 |
those issues reference this flag but I'm not sure they're really related. |
so I wasn't testing with 1.20 though (kubernetes HEAD is a bit ahead of that), probably not related but something to confirm. EDIT: still works fine locally |
I´ve added more verbosity to the CI job and we have more info
|
ok, we are pregressing, it turns out is not an issue with the kind version that creates the cluster, it fails with all 😄 https://github.com/kubernetes-sigs/kind/runs/1557595731?check_suite_focus=true |
fix inbound :-) |
@aojea can you confirm this is resolved in your the downstream environment? |
Which k/k commit is related to this? |
v2 support for `fix_cgroup()` was broken: kubernetes-sigs#2013 As CgroupNS is enabled by default on v2 hosts, we do not need to mess around the cgroup mounts. However, at least we need to create "/kubelet" cgroup (kubernetes-sigs#1969). Fix kubernetes-sigs#2013 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
v2 support for `fix_cgroup()` was broken: kubernetes-sigs#2013 As CgroupNS is enabled by default on v2 hosts, we do not need to mess around the cgroup mounts. However, at least we need to create "/kubelet" cgroup (kubernetes-sigs#1969). Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
v2 support for `fix_cgroup()` was broken: kubernetes-sigs#2013 As CgroupNS is enabled by default on v2 hosts, we do not need to mess around the cgroup mounts. However, at least we need to create "/kubelet" cgroup (kubernetes-sigs#1969). Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda this was a regression in a different iteration of the entrypoint / cgroups changes in this repo IIRC, not Kubernetes version or the kind binary. |
aside: github adds a lot of visual noise when an issue is referenced in a commit, it will add an event to the issue every time any form of the commit is pushed/merged in any fork, including people merging in forks etc. in kubernetes/kubernetes commits doing this are actually banned by automation. |
Sorry for noises 🙇 |
No worries, more of an FYI than anything, I think kind is small enough to not have major issues with it anyhow, but I've seen it get pretty out of hand on Kubernetes issues 🙃 That comment / code covers some other fun ones, the most ridiculous one on github's part IMHO is |
v2 support for `fix_cgroup()` was broken: kubernetes-sigs#2013 As CgroupNS is enabled by default on v2 hosts, we do not need to mess around the cgroup mounts. However, at least we need to create "/kubelet" cgroup (kubernetes-sigs#1969). Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Has the problem been solved?I have a similar problem |
Hit the same issue. But I checked my entrypoint which has already included the fix https://github.com/kubernetes-sigs/kind/pull/1995/files. I have two kind clusters, one works well but another one hit this issue. |
What happened:
Running a node-image built with kind
92f54895
, in github actions, using kind 0.9.0 makes kubelet fail to start with the following error:How to reproduce it (as minimally and precisely as possible):
I've tried to reproduced it locally without success:
The failing job with the errors and logs is here
https://github.com/aojea/ovn-kubernetes/runs/1512853588?check_suite_focus=true
Bear in mind that github actions have its own docker and we had issues with KIND running there before
The text was updated successfully, but these errors were encountered: