Welcome to the Linux Foundation Forum!

Lab 5.4 Inevitable Error with crictl

Options

Hi,At Lab 5.4 I can't proceed with an error. I don't know what to do, and the reason of this. Anyway I report here. Thanks.

$sudo crictl images

FATA[0002] connect: connect endpoint 'unix:///var/run/crio/crio.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded

Comments

  • m.taniguchi
    Options

    I found an issue similar to this. But this doesn't help for now. Anyway I'll try re-install cri-o and so on.

    https://github.com/kubernetes-sigs/cri-tools/issues/722

  • m.taniguchi
    m.taniguchi Posts: 20
    edited July 2022
    Options

    Ooops..

    I forgot to start crio.service.. please close this. So sorry.. :(

    student@ubuntu:~$ sudo crictl version
    FATA[0002] connect: connect endpoint 'unix:///var/run/crio/crio.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded 
    student@ubuntu:~$ sudo systemctl start crio.service 
    student@ubuntu:~$ sudo systemctl status crio.service 
    ● crio.service - Container Runtime Interface for OCI (CRI-O)
         Loaded: loaded (/lib/systemd/system/crio.service; disabled; vendor preset>
         Active: active (running) since Sun 2022-07-03 01:07:33 UTC; 4s ago
           Docs: https://github.com/cri-o/cri-o
       Main PID: 1865 (crio)
          Tasks: 9
         Memory: 53.4M
         CGroup: /system.slice/crio.service
                 └─1865 /usr/bin/crio
    
    student@ubuntu:~$ sudo crictl version
    Version:  0.1.0
    RuntimeName:  cri-o
    RuntimeVersion:  1.21.7
    RuntimeApiVersion:  v1alpha2
    student@ubuntu:~$ sudo crictl images
    IMAGE               TAG                 IMAGE ID            SIZE
    
    

Categories

Upcoming Training