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

Make crun the default runtime in NTO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19
    • Node Tuning Operator
    • None
    • None
    • CNF Compute Sprint 264
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      The default container runtime set by cluster node tuning operator will always be inherited from the cluster (and not be hardcoded by the operator)
      Starting 4.18 the Openshift default is crun.
      Show
      The default container runtime set by cluster node tuning operator will always be inherited from the cluster (and not be hardcoded by the operator) Starting 4.18 the Openshift default is crun.
    • Feature
    • In Progress

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

      Description of problem:

          Workloads using high-performance runtime class that is created by performance profile contoller are using runc as the runtime container instead of crun 

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

          4.18

      How reproducible:

          Create a performance profile on the cluster

      Steps to Reproduce:

          1.Create a performance profile on the cluster 
          2.Create a guaranteed pod using the runtime class created by the controller
          3. oc debug the node hosting the pod, and check that the runtime used by the container is runc: /bin/ps aux | grep 'pod name'
          Take a look at the output of the -r argument

      Actual results:

          root        6317  0.0  0.0   8312  1600 ?        Ss   12:25   0:00 /usr/bin/conmon -b /run/containers/storage/overlay-containers/f492c7c342b71.../userdata/conmon-pidfile -p /run/containers/storage/overlay-containers/f492c7c342b71e19e.../userdata/pidfile --persist-dir /var/lib/containers/storage/overlay-containers/f492c7c342b7..../userdata -r /usr/bin/runc --runtime-arg --root=/run/runc --socket-dir-path /var/run/crio --syslog -u f492c7c3... -s

      Expected results:

          root        6317  0.0  0.0   8312  1600 ?        Ss   12:25   0:00 /usr/bin/conmon -b /run/containers/storage/overlay-containers/f492c7c342b71.../userdata/conmon-pidfile -p /run/containers/storage/overlay-containers/f492c7c342b71e19e.../userdata/pidfile --persist-dir /var/lib/containers/storage/overlay-containers/f492c7c342b7..../userdata -r /usr/bin/crun --runtime-arg --root=/run/crun --socket-dir-path /var/run/crio --syslog -u f492c7c3... -s

      Additional info:

          

              rh-ee-rbaturov Ronny Baturov
              openshift-crt-jira-prow OpenShift Prow Bot
              Roy Shemtov Roy Shemtov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: