Welcome to the Linux Foundation Forum!

Lab 5.4 Inevitable Error with crictl

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
    m.taniguchi Posts: 12

    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: 12
    edited July 3

    Ooops..

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

    [email protected]:~$ 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 
    [email protected]:~$ sudo systemctl start crio.service 
    [email protected]:~$ 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
    
    [email protected]:~$ sudo crictl version
    Version:  0.1.0
    RuntimeName:  cri-o
    RuntimeVersion:  1.21.7
    RuntimeApiVersion:  v1alpha2
    [email protected]:~$ sudo crictl images
    IMAGE               TAG                 IMAGE ID            SIZE
    
    

Categories

Upcoming Training