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

openshift-manila-csi-driver is missing the workload.openshift.io/allowed label

XMLWordPrintable

    • +
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: openshift-manila-csi-driver namespace was missing the labels needed for management workload partitioning
      Consequence: the manila csi pods could not be restricted to run on a selected set of CPUs
      Fix: add the workload.openshift.io/allowed label to the openshift-manila-csi-driver namespace
      Result: the manila CSI pods are now allowed to run on the management CPUs.
      Show
      Cause: openshift-manila-csi-driver namespace was missing the labels needed for management workload partitioning Consequence: the manila csi pods could not be restricted to run on a selected set of CPUs Fix: add the workload.openshift.io/allowed label to the openshift-manila-csi-driver namespace Result: the manila CSI pods are now allowed to run on the management CPUs.

      Description of problem: The openshift-manila-csi-driver namespace should have the "workload.openshift.io/allowed= management" label.

      This is currently not the case:

      ❯ oc describe ns openshift-manila-csi-driver  
      Name:         openshift-manila-csi-driver
      Labels:       kubernetes.io/metadata.name=openshift-manila-csi-driver
                    pod-security.kubernetes.io/audit=privileged
                    pod-security.kubernetes.io/enforce=privileged
                    pod-security.kubernetes.io/warn=privileged
      Annotations:  include.release.openshift.io/self-managed-high-availability: true
                    openshift.io/node-selector: 
                    openshift.io/sa.scc.mcs: s0:c24,c4
                    openshift.io/sa.scc.supplemental-groups: 1000560000/10000
                    openshift.io/sa.scc.uid-range: 1000560000/10000
      Status:       Active
      
      No resource quota.
      
      No LimitRange resource.
      

      It is causing CI jobs to fail with:

      {  fail [github.com/openshift/origin/test/extended/cpu_partitioning/platform.go:82]: projects [openshift-manila-csi-driver] do not contain the annotation map[workload.openshift.io/allowed:management]
      Expected
          <[]string | len:1, cap:1>: [
              "openshift-manila-csi-driver",
          ]
      to be empty
      Ginkgo exit error 1: exit with code 1}
      

      For instance https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/27831/pull-ci-openshift-origin-release-4.13-e2e-openstack-ovn/1641317874201006080.

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

      
      

      How reproducible:

      
      

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      
      

      Expected results:

      
      

      Additional info:

      
      

            maandre@redhat.com Martin André
            maandre@redhat.com Martin André
            Itshak Brown Itshak Brown
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: