-
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
Not able to start the minikube even after installing cri-dockerd #15407
Comments
This is a quirk in RHEL7 and RHEL8 (I think it was fixed in RHEL9 ?), you have to install as /usr/bin/cri-dockerd So, |
]# sudo -E /usr/local/bin/minikube start --driver=none --container-runtime=''
X Exiting due to RUNTIME_ENABLE: Temporary Error: sudo crictl version: exit status 1 stderr: ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ [root@cloud cri-dockerd]# sudo crictl version sudo which cri-dockerd/bin/cri-dockerd |
This needs to be working, before minikube can run: You might get some more details from |
sudo crictl versionFATA[0000] unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /var/run/cri-dockerd.sock: connect: connection refused" sudo systemctl status cri-docker● cri-docker.service - CRI Interface for Docker Application Container Engine |
Maybe need to look at "crictl.socket" unit, or attempt a manual "sudo systemctl start cri-docker.service" to see the error. Maybe even |
]# sudo systemctl start cri-docker.service |
Seems happy enough, except that you will also need to configure CNI networks (minikube can do this for you) It is normal to get such output about a missing network, until the cluster has been configured and is running.
|
@afbjorklund thanks. It's working now sudo -E /usr/local/bin/minikube start --driver=none --container-runtime=''
! The 'none' driver is designed for experts who need to integrate with an existing VM
! kubectl and minikube configuration will be stored in /root
|
Ignore all the output about drivers and users and configuration, it is also broken (or slightly misleading). Well except for that part that you should not run as root, and that you can run kubernetes in rootless now. |
All of this is supposed to work out-of-the-box, but it is not being tested (and especially not on IBM/PPC) Unfortunately, it is bound to break even worse soon since Kubernetes 1.26 does not support Docker - yet. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
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:
You can:
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:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". 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. |
What Happened?
sudo -E /usr/local/bin/minikube start --driver=none
minikube v1.28.0 on Redhat 8.6 (ppc64le)
! Both driver=none and vm-driver=none have been set.
Since vm-driver is deprecated, minikube will default to driver=none.
If vm-driver is set in the global config, please run "minikube config unset vm-driver" to resolve this warning.
Using the none driver based on user configuration
Starting control plane node minikube in cluster minikube
Running on localhost (CPUs=48, Memory=63349MB, Disk=71645MB) ...
Exiting due to NOT_FOUND_CRI_DOCKERD:
Suggestion:
The none driver with Kubernetes v1.24+ and the docker container-runtime requires cri-dockerd.
Please install cri-dockerd using these instructions:
https://github.com/Mirantis/cri-dockerd#build-and-install
Installed cri-dockerd using
https://github.com/Mirantis/cri-dockerd
link.[root@cloudalplp1 home]# which cri-dockerd
/usr/local/bin/cri-dockerd
########
Here I'm attaching minikube log file also.
log.txt
Attach the log file
log.txt
Operating System
Redhat/Fedora
Driver
No response
The text was updated successfully, but these errors were encountered: