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

On an SNO node with Telco DU profile SriovOperatorConfig doesn't get disableDrain set to true

XMLWordPrintable

    • Important
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      On an SNO node with Telco DU profile SriovOperatorConfig doesn't get disableDrain set to true.

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

      4.16.0-ec.4
      sriov-network-operator.v4.16.0-202403111814
      registry-proxy.engineering.redhat.com/rh-osbs/openshift4-ztp-site-generate:v4.16.0-10

      How reproducible:

      100%

      Steps to Reproduce:

          1. Deploy an SNO with DU profile via GitOps ZTP procedure 
          2. Check resulting SriovOperatorConfig
          

      Actual results:

          apiVersion: sriovnetwork.openshift.io/v1
      kind: SriovOperatorConfig
      metadata:
        creationTimestamp: "2024-03-20T13:48:09Z"
        generation: 1
        name: default
        namespace: openshift-sriov-network-operator
        resourceVersion: "24194"
        uid: 6ad6b8f9-c65f-4fc7-86e4-648d2583846a
      spec:
        configDaemonNodeSelector:
          node-role.kubernetes.io/master: ""
        enableInjector: false
        enableOperatorWebhook: false
        logLevel: 0
      

      Expected results:

      apiVersion: sriovnetwork.openshift.io/v1
      kind: SriovOperatorConfig
      metadata:
        creationTimestamp: "2024-03-20T13:48:09Z"
        generation: 1
        name: default
        namespace: openshift-sriov-network-operator
        resourceVersion: "24194"
        uid: 6ad6b8f9-c65f-4fc7-86e4-648d2583846a
      spec:
        configDaemonNodeSelector:
          node-role.kubernetes.io/master: ""
        disableDrain: true
        enableInjector: false
        enableOperatorWebhook: false
        logLevel: 0
          

      Additional info:

      Attaching must-gather.
      
      Please note that the SriovOperatorConfig.yaml source-cr is applied as part of the configuration:
      
      https://github.com/openshift-kni/cnf-features-deploy/blob/master/ztp/source-crs/SriovOperatorConfig.yaml 

            rhn-support-tradej Tomas 'Sheldon' Radej
            mcornea@redhat.com Marius Cornea
            Zhanqi Zhao Zhanqi Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: