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

On 4.15, cx-7 sriov is not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.15.0
    • 4.15
    • Networking / SR-IOV
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      On openshift baremetal cluster, which has cx-7 card on worker nodes. Install sriov operator, and check sriovnetworknodestatus,  cx-7 ports are invisible. 

      Create sriovnetworknodepolicy with cx-7 port, it reports error as below.

      # cat sriovpolicy.yaml 
      apiVersion: sriovnetwork.openshift.io/v1
      kind: SriovNetworkNodePolicy
      metadata:
        name: sriovpolicy
        namespace: openshift-sriov-network-operator
      spec:
        deviceType: netdevice
        needVhostNet: true
        nicSelector:
          pfNames:
            - ens2f1np1
        nodeSelector:
          feature.node.kubernetes.io/sriov-capable: 'true'
        numVfs: 5
        priority: 99
        resourceName: sriovpolicy 
      
      # oc create -f sriovpolicy.yaml 
      Error from server (no supported NIC is selected by the nicSelector in CR sriovpolicy): error when creating "sriovpolicy.yaml": admission webhook "operator-webhook.sriovnetwork.openshift.io" denied the request: no supported NIC is selected by the nicSelector in CR sriovpolicy

            vpunj@redhat.com Vrinda Punj
            rhn-support-yingwang Ying Wang
            Ying Wang Ying Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: