Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2049774

Summary: 4.9 backport: shiftstack: SRIOV nic reported as not supported
Product: OpenShift Container Platform Reporter: Emilien Macchi <emacchi>
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: SR-IOV QA Contact: Ziv Greenberg <zgreenbe>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: aasmith, cgoncalves, eduen, emilien, jrosenta, juriarte, kpelc, m.andre, sscheink, vmedina, zgreenbe, zshi, zzhao
Version: 4.9Keywords: Triaged
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2016334 Environment:
Last Closed: 2022-02-23 20:02:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2016334    
Bug Blocks:    

Comment 4 Ziv Greenberg 2022-02-14 08:36:42 UTC
Hello,

I was able to verify it and also created a dedicated dut pod with attached Intel X710 SR-IOV VF's:

(shiftstack) [cloud-user@installer-host ~]$ oc get clusterversions.config.openshift.io
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2022-02-07-031906   True        False         5d13h   Cluster version is 4.9.0-0.nightly-2022-02-07-031906
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$ oc get csv -n openshift-sriov-network-operator
NAME                                        DISPLAY                      VERSION              REPLACES                            PHASE
performance-addon-operator.v4.9.5           Performance Addon Operator   4.9.5                performance-addon-operator.v4.9.4   Succeeded
sriov-network-operator.4.9.0-202202120107   SR-IOV Network Operator      4.9.0-202202120107                                       Succeeded
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$ oc get all -n openshift-sriov-network-operator
NAME                                          READY   STATUS    RESTARTS   AGE
pod/network-resources-injector-jrrqq          1/1     Running   0          6m27s
pod/network-resources-injector-pt5w5          1/1     Running   0          6m27s
pod/network-resources-injector-tqxbk          1/1     Running   0          6m27s
pod/operator-webhook-85nvr                    1/1     Running   0          6m27s
pod/operator-webhook-zkdkl                    1/1     Running   0          6m27s
pod/operator-webhook-ztlrk                    1/1     Running   0          6m27s
pod/sriov-device-plugin-b7gn8                 1/1     Running   0          85s
pod/sriov-network-config-daemon-98f95         3/3     Running   0          6m27s
pod/sriov-network-config-daemon-gx4z5         3/3     Running   0          6m27s
pod/sriov-network-operator-7b77bc6678-tt789   1/1     Running   0          6m48s

NAME                                         TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)   AGE
service/network-resources-injector-service   ClusterIP   172.30.228.239   <none>        443/TCP   6m27s
service/operator-webhook-service             ClusterIP   172.30.229.65    <none>        443/TCP   6m27s

NAME                                         DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR                                                 AGE
daemonset.apps/network-resources-injector    3         3         3       3            3           beta.kubernetes.io/os=linux                                   6m27s
daemonset.apps/operator-webhook              3         3         3       3            3           beta.kubernetes.io/os=linux                                   6m27s
daemonset.apps/sriov-device-plugin           1         1         1       1            1           beta.kubernetes.io/os=linux,node-role.kubernetes.io/worker=   4m44s
daemonset.apps/sriov-network-config-daemon   2         2         2       2            2           beta.kubernetes.io/os=linux,node-role.kubernetes.io/worker=   6m27s

NAME                                     READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/sriov-network-operator   1/1     1            1           6m48s

NAME                                                DESIRED   CURRENT   READY   AGE
replicaset.apps/sriov-network-operator-7b77bc6678   1         1         1       6m48s
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$ oc get pods
NAME           READY   STATUS    RESTARTS   AGE
dpdk-testpmd   1/1     Running   0          2m29s
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$
(shiftstack) [cloud-user@installer-host ~]$ oc logs dpdk-testpmd | grep 'Virtual Function'
0000:00:05.0 'Ethernet Virtual Function 700 Series 154c' drv=vfio-pci unused=
0000:00:06.0 'Ethernet Virtual Function 700 Series 154c' if= drv=iavf unused=vfio-pci
0000:00:05.0 'Ethernet Virtual Function 700 Series 154c' drv=vfio-pci unused=
0000:00:06.0 'Ethernet Virtual Function 700 Series 154c' if= drv=iavf unused=vfio-pci

Please note, the image source that was used for pulling the sriov-network-operator is the "qe-optional-operators" in the marketplace.

Thanks,
Ziv

Comment 7 errata-xmlrpc 2022-02-23 20:02:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.22 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0561