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

OCP 4.15 sriov-network-config-daemon pod not pinned to mgmt cores when workload partitioning enabled

XMLWordPrintable

    • Important
    • No
    • CNF Network Sprint 246, CNF Network Sprint 247
    • 2
    • False
    • Hide

      None

      Show
      None

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

      Description of problem:

      
      With 4.15 SNO spoke deployed with Telco DU profile which includes workload partitioning enabled,
      The sriov-network-config-daemon pod is not pinned to managment CPUs.
      
      The pod is missing the WLP annotation:
      
      target.workload.openshift.io/management: '{"effect":"PreferredDuringScheduling"}'
      
      $ oc get pods -n openshift-sriov-network-operator sriov-network-config-daemon-8xhdq -o yaml
      apiVersion: v1
      kind: Pod
      metadata:
        annotations:
          kubectl.kubernetes.io/default-container: sriov-network-config-daemon
          openshift.io/scc: privileged
        creationTimestamp: "2023-12-05T09:30:07Z"
        generateName: sriov-network-config-daemon-
        [...]
      
          

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

          OCP 4.15.0-0.nightly-2023-12-04-162702
          sriov-network-operator.v4.15.0-202311291132
          

      How reproducible:

          Always
          

      Steps to Reproduce:

          1. Deploy SNO spoke with Telco DU profile applied.
          2. Check management pods for WLP annoations
          3.
          

      Actual results:

          Pod is missing WLP annotation
      $ oc get pods -n openshift-sriov-network-operator sriov-network-config-daemon-8xhdq -o yaml
      apiVersion: v1
      kind: Pod
      metadata:
        annotations:
          kubectl.kubernetes.io/default-container: sriov-network-config-daemon
          openshift.io/scc: privileged
        creationTimestamp: "2023-12-05T09:30:07Z"
        generateName: sriov-network-config-daemon-
        [...]
      
          

      Expected results:

      Pod should have WLP annotation, e.g:
      $ oc get pods -n openshift-sriov-network-operator sriov-network-config-daemon-8xhdq -o yaml
      apiVersion: v1
      kind: Pod
      metadata:
        annotations:
          kubectl.kubernetes.io/default-container: sriov-network-config-daemon
          openshift.io/scc: privileged
          target.workload.openshift.io/management: '{"effect":"PreferredDuringScheduling"}'
        creationTimestamp: "2023-12-05T09:30:07Z"
        generateName: sriov-network-config-daemon-
        [...]
          

      Additional info:

          Problem doesn't happen in 4.14.z
          

            carlosgoncalves Carlos Goncalves
            openshift-crt-jira-prow OpenShift Prow Bot
            Dwaine Gonyier Dwaine Gonyier
            Ian Miller
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: