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

Setting cpu-quota.crio.io to `disable` with crun causes container creation to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.13.0
    • 4.13.0
    • Node / CRI-O
    • None
    • No
    • Approved
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When attempting to disable cpu quota for a low latency pod, crun fails to set the cgroup value with:
      Error: container create failed: writing file `cpu.cfs_quota_us`: Numerical result out of range

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

      4.13, though likely all versions

      How reproducible:

      100%

      Steps to Reproduce:

      1. Launch cluster with PerformanceProfile enabled
      2. Create a pod with cpu-quota disabled:
      apiVersion: v1
      kind: Pod
      metadata:
        name: test
        annotations:
          cpu-quota.crio.io: "disable"
          irq-load-balancing.crio.io: "disable"
      spec:
        runtimeClassName: performance-openshift-node-performance-profile
        containers:
        - name: test
          resources:
            requests:
              memory: "2Gi"
              cpu: "16"
            limits:
              memory: "2Gi"
              cpu: "16"
      3. see errors in pod creation
      
      

      Actual results:

      creation fails with
      Error: container create failed: writing file `cpu.cfs_quota_us`: Numerical result out of range

      Expected results:

      Creation succeeds

      Additional info:

       

            gscrivan@redhat.com Giuseppe Scrivano
            pehunt@redhat.com Peter Hunt
            Weinan Liu Weinan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: