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

Disabling the SR-IOV Network Operator admission controller webhook doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 4.12, 4.11
    • Networking / SR-IOV
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Disabling the SR-IOV Network Operator admission controller webhook doesn't work.
      The documentation that my partner iDirect is following is this:
      https://docs.openshift.com/container-platform/4.12/networking/hardware_networks/configuring-sriov-operator.html#disable-enable-sr-iov-operator-admission-control-webhook_configuring-sriov-operator
      
      My Partner is using this network card:
      Intel X710 - Vendor ID 8086 - Device IDs 1581 and also 15FF
      
      Support case: 03427806

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

       

      How reproducible:

      https://docs.openshift.com/container-platform/4.12/networking/hardware_networks/configuring-sriov-operator.html#disable-enable-sr-iov-operator-admission-control-webhook_configuring-sriov-operator

      Steps to Reproduce:

      1. Execute the following commands and it doesn't yield any result:
      # oc get -n openshift-sriov-network-operator sriovoperatorconfigs default -o yaml | grep enableOperatorWebhook
        enableOperatorWebhook: false
      
      # oc patch sriovoperatorconfig default --type=merge -n openshift-sriov-network-operator --patch '{ "spec": { "enableOperatorWebhook": false } }'
      sriovoperatorconfig.sriovnetwork.openshift.io/default patched (no change)
      
      2. Try disabling an enabling the webhook but it doesn't trigger a change:
      # oc patch sriovoperatorconfig default --type=merge -n openshift-sriov-network-operator --patch '{ "spec": { "enableOperatorWebhook": true } }'
      sriovoperatorconfig.sriovnetwork.openshift.io/default patched
      
      # oc patch sriovoperatorconfig default --type=merge -n openshift-sriov-network-operator --patch '{ "spec": { "enableOperatorWebhook": false } }'
      sriovoperatorconfig.sriovnetwork.openshift.io/default patched
      
      
      

      Actual results:

      After disabling the webhook they still get "unsupported device" errors:
      
      2023-02-02T14:34:34.155921577Z I0202 14:34:34.155874   10871 utils.go:103] DiscoverSriovDevices(): unsupported device 0000:18:00.0 -> class: 'Network controller' vendor: 'Intel Corporation' product: 'Ethernet Controller X710 for 10GbE backplane'

      Expected results:

      Being able to disable the webhook and use this network card.

      Additional info:

      Additional info and must gathers attached in the support case 03427806.
      
      I open this bug as I have an email thread with SME and Manager of SME in Networking Development and they recommended me to file it because it's an unexpected behavior.

            wizhao@redhat.com William Zhao
            rhn-support-igarcia Ivan Garcia
            Zhanqi Zhao Zhanqi Zhao
            Votes:
            1 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: