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

[1.28] crio: mixedcpus: shared cpus removed after kubelet restart

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 4.15.0
    • 4.15, 4.16
    • Node / CRI-O
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         Shared cpus are being removed from a container's cgroups, after Kubelet restart. This happens because after Kubelet restart the CPU manager reconciliation loop get triggered. 
      It sends a container update request without the shared cpus (because CM manager is not aware of the shared cpus concept). We should add the shared cpus on CRI-O side again.

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

          

      How reproducible:

        Always  

      Steps to Reproduce:

          1. Create pod that request for shared cpus
          2. Check the pod cgroups - the shared cpus are in its cpuset
          3. Restart Kubelet on the node where the pod stays.
          4. Check the pod cgroups - the shared cpus are no longer in its cpuset while they should.

       

      Actual results:

          The shared cpus are no longer in the container's cgroup cpuset after Kubelet restart

      Expected results:

          The shared cpus should be under container's cgroup cpuset after Kubelet restart    

      Additional info:

          

              titzhak Talor Itzhak
              titzhak Talor Itzhak
              Sunil Choudhary Sunil Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: