-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
none on Fedora 30: failed to get the kubelet's cgroup: cpu and memory cgroup hierarchy not unified #5127
Comments
Did you open the required ports in firewalld, as suggested by
|
I believe this is the fatal error:
This sounds like https://bugzilla.redhat.com/show_bug.cgi?id=1692131 |
My guess is that this can be overcome setting kubelet flags (or changing the vm driver). I'm not sure which yet though. |
Hello. Thank you for the answers. So, I tried to run minikube with these flags (Font): And the error changed to: failed to get the container runtime's cgroup: failed to get container name for docker process: cpu and memory cgroup hierarchy not unified. cpu: /system.slice, memory: /system.slice/docker.service Then, after following what jfpucheu commented in this issue: Create a 11-cgroups.conf file at /etc/systemd/system/kubelet.service.d/ with:
[Service] CPUAccounting=true MemoryAccounting=true Then run: systemctl daemon-reload systemctl restart kubelet I started minikube with the previous flags plus this one: I got this new error: 😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you: 👉 https://github.com/kubernetes/minikube/issues/new/choose ❌ Problems detected in kube-apiserver: error: unable to load server certificate: open /var/lib/minikube/certs/apiserver.crt: permission denied ❌ Problems detected in kube-addon-manager: error: Error loading config file "/var/lib/minikube/kubeconfig": open /var/lib/minikube/kubeconfig: permission denied error: Error loading config file "/var/lib/minikube/kubeconfig": open /var/lib/minikube/kubeconfig: permission denied error: Error loading config file "/var/lib/minikube/kubeconfig": open /var/lib/minikube/kubeconfig: permission denied I'm running with |
I had the same issue and I can confirm its related to https://bugzilla.redhat.com/show_bug.cgi?id=1692131 , enabling P.S. This is originally an issue with |
As long as we have |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The exact command to reproduce the issue:
After installing minikube I ran:
sudo minikube config set vm-driver none
sudo minikube start
The full output of the command that failed
The output of the "minikube logs" command
The operating system version: Fedora 30 Workstation.
I configured the user permissions as stated by @afbjorklund on issue #5099 but I'm still getting errors.
I opened a new issue since I'm using Fedora and the error seems different from the later mentioned issue.
Obs: Running minikube using the virtualbox driver worked without problems.
The text was updated successfully, but these errors were encountered: