cri-o: /var/run/crio/crio.sock doesn't exist
Description
After cri-o installment on Ubuntu, the /var/run/crio/crio.sock dose not exist. And kubelet will run into error like “failed to run Kubelet: failed to create kubelet: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = “transport: Error while dialing dial unix /var/run/crio/crio.sock: connect: no such file or directory””
Steps to reproduce the issue:
. /etc/os-release sudo sh -c “echo ‘deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /’ > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list” wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key -O- | sudo apt-key add - sudo apt-get update sudo apt-get install cri-o-1.17
Output of crio --version:
crio -v
crio version 1.17.4
cat /proc/version
Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (7 by maintainers)
I got when I run
sudo crictl versionthis is my/etc/crictl.yaml:this is the error:
So I try to run
$ sudo crioand I got the following error: