Closed FilBot3 closed 1 year ago
it seems problem is wsl2 on windows
/kind support
Hi, I have the same issue. Environment:
minikube start --embed-certs
...
W1209 17:01:04.354308 68908 logs.go:138] Found kubelet problem: Dec 09 16:00:57 minikube kubelet[18147]: E1209 16:00:57.561504 18147 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
W1209 17:01:04.361586 68908 logs.go:138] Found kubelet problem: Dec 09 16:00:58 minikube kubelet[18226]: E1209 16:00:58.737930 18226 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
W1209 17:01:04.368349 68908 logs.go:138] Found kubelet problem: Dec 09 16:00:59 minikube kubelet[18300]: E1209 16:00:59.666751 18300 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
W1209 17:01:04.375285 68908 logs.go:138] Found kubelet problem: Dec 09 16:01:00 minikube kubelet[18361]: E1209
16:01:00.740875 18361 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
W1209 17:01:04.382631 68908 logs.go:138] Found kubelet problem: Dec 09 16:01:01 minikube kubelet[18440]: E1209 16:01:01.947821 18440 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
W1209 17:01:04.387891 68908 logs.go:138] Found kubelet problem: Dec 09 16:01:02 minikube kubelet[18501]: E1209 16:01:02.951853 18501 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
W1209 17:01:04.396784 68908 logs.go:138] Found kubelet problem: Dec 09 16:01:04 minikube kubelet[18565]: E1209 16:01:04.262965 18565 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
I1209 17:01:04.546038 68908 out.go:177] ❌ Problems detected in kubelet:
I1209 17:01:04.550027 68908 out.go:177] Dec 09 16:00:57 minikube kubelet[18147]: E1209 16:00:57.561504 18147 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
I1209 17:01:04.557438 68908 out.go:177] Dec 09 16:00:58 minikube kubelet[18226]: E1209 16:00:58.737930 18226 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
I1209 17:01:04.562349 68908 out.go:177] Dec 09 16:00:59 minikube kubelet[18300]: E1209 16:00:59.666751 18300 kubelet.go:1397] "Failed to start ContainerManager" err="system validation failed - Following Cgroup subsystem not mounted: [cpuacct]"
I1209 17:01:04.568044 68908 out.go:177]
W1209 17:01:04.571230 68908 out.go:239] ❌ Exiting due to K8S_KUBELET_NOT_RUNNING: wait: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.25.3:$PATH" kubeadm init --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc-kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-apiserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap,Mem,SystemVerification,FileContent--proc-sys-net-bridge-bridge-nf-call-iptables": Process exited with status 1
@FilBot3 Can you give more details about your solution? Commands to execute. Thanks!
Seems to be related with this issue in fact : https://github.com/microsoft/WSL/issues/6662
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What Happened?
When running minikube in WSLv2 Ubuntu 2204 with Podman, I am told I need to mount cgroup subsystem into the container. When running k0s, I had to mount a directory into the container for cgroupv2
--volume /sys/fs/cgroup:/sys/fs/cgroup:rw
and setup--cgroupns=host
. This allowed k0s to work.Attach the log file
Operating System
Driver