Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44589

Unable to start service crio due to "crun" not found in $PATH

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.18.0
    • None
    • Moderate
    • None
    • Installer Sprint 262
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-43493. The following is the description of the original issue:

      Description of problem:

      In the RHEL-8 worker scale-up job, we're seeing the crio service couldn't be started as 
      
      TASK [openshift_node : Restart the CRI-O service] ******************************
      fatal: [ip-10-0-57-24.us-east-2.compute.internal]: FAILED! => {"changed": false, "msg": "Unable to start service crio: Job for crio.service failed because the control process exited with error code.\nSee \"systemctl status crio.service\" and \"journalctl -xe\" for details.\n"}
      fatal: [ip-10-0-55-89.us-east-2.compute.internal]: FAILED! => {"changed": false, "msg": "Unable to start service crio: Job for crio.service failed because the control process exited with error code.\nSee \"systemctl status crio.service\" and \"journalctl -xe\" for details.\n"}
      
      
      The system log shows 
      
      Oct 17 08:04:37 ip-10-0-57-24.us-east-2.compute.internal crio[69440]: time="2024-10-17 08:04:37.661757359Z" level=fatal msg="validating runtime config: runtime validation: \"crun\" not found in $PATH: exec: \"crun\": executable file not found in $PATH"
      Oct 17 08:04:37 ip-10-0-57-24.us-east-2.compute.internal systemd[1]: crio.service: Main process exited, code=exited, status=1/FAILURE
      Oct 17 08:04:37 ip-10-0-57-24.us-east-2.compute.internal systemd[1]: crio.service: Failed with result 'exit-code'.
      Oct 17 08:04:37 ip-10-0-57-24.us-east-2.compute.internal systemd[1]: Failed to start Container Runtime Interface for OCI (CRI-O).
      
      
      After installing the crun rpm package manually, the crio serivce could be started successfully. 
      
      
      Installing:
       crun                  x86_64             1.17-1.rhaos4.17.el8                               aos-v4-devel-install                262 k
      
      [root@ip-10-0-57-24 ~]# systemctl restart crio
      [root@ip-10-0-57-24 ~]# systemctl status crio
      ● crio.service - Container Runtime Interface for OCI (CRI-O)
         Loaded: loaded (/usr/lib/systemd/system/crio.service; enabled; vendor preset: disabled)
         Active: active (running) since Thu 2024-10-17 08:08:10 UTC; 9min ago
         ...

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rh-ee-gpei Gaoyun Pei
              openshift-crt-jira-prow OpenShift Prow Bot
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: