Bug 2016333 - SRIOV nic reported as not suported
Summary: SRIOV nic reported as not suported
Keywords:
Status: CLOSED DUPLICATE of bug 2016334
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: zenghui.shi
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-21 10:21 UTC by Victor Medina
Modified: 2021-10-25 12:38 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-25 12:38:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Victor Medina 2021-10-21 10:21:35 UTC
Openshift deployed on openstack with SRIOV support. NIC type is Intel XXV710 25GB. With port attached as direct from machineset the node sees the pci device as 8086:154c. According to Openshift docs this adapter should be supported.
Openstack details:
[root@overcloud-computesriov-3 heat-admin]# lspci -nn | grep XXV
12:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 [8086:158b] (rev 02)
12:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 [8086:158b] (rev 02)
37:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 [8086:158b] (rev 02)
37:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 [8086:158b] (rev 02)
d8:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 [8086:158b] (rev 02)
d8:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 [8086:158b] (rev 02)

Openshift node details of mapped adapter:

sh-4.4# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010]
00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01)
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8]
00:03.0 Ethernet controller [0200]: Red Hat, Inc. Virtio network device [1af4:1000]
00:04.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio block device [1af4:1001]
00:05.0 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:154c] (rev 02)
00:06.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon [1af4:1002]
sh-4.4# ethtool ens5
Settings for ens5:
        Supported ports: [  ]
        Supported link modes:   Not reported
        Supported pause frame use: No
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 40000Mb/s
        Duplex: Full
        Auto-negotiation: off
        Port: None
        PHYAD: 0
        Transceiver: internal
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
sh-4.4# dmesg | grep iavf
[    6.815460] iavf: Intel(R) Ethernet Adaptive Virtual Function Network Driver
[    6.882576] iavf 0000:00:05.0: Multiqueue Enabled: Queue pair count = 4
[    6.901696] iavf 0000:00:05.0: MAC address: fa:16:3e:f9:45:c4
[    6.904554] iavf 0000:00:05.0: GRO is enabled
[    6.909819] iavf 0000:00:05.0 ens5: renamed from eth0
[   14.907302] iavf 0000:00:05.0 ens5: NIC Link is Up Speed is 40 Gbps Full Duplex

Configuration error for Sriov:
[ericsson@icp20jump ~]$ cat sriov.yaml
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
  name: sriov-policy
  namespace: openshift-sriov-network-operator
spec:
  resourceName: sriovnic1
  nodeSelector:
    feature.node.kubernetes.io/network-sriov.capable: "true"
  mtu: 2140
  numVfs:  1
  nicSelector:
    vendor: "8086"
    deviceID: "158b"
    netFilter: "openstack/NetworkID:e48c7670-bcb4-4f9c-8038-012b6571501d"
  isRdma: false
[ericsson@icp20jump ~]$ oc create -f sriov.yaml
Error from server (no supported NIC is selected by the nicSelector in CR sriov-policy): error when creating "sriov.yaml": admission webhook "operator-webhook.sriovnetwork.openshift.io" denied the request: no supported NIC is selected by the nicSelector in CR sriov-policy

Also the openshift-sriov-network-operator pods are crashing:
[ericsson@icp20jump ~]$ oc get pods -n openshift-sriov-network-operator
NAME                                      READY   STATUS             RESTARTS   AGE
network-resources-injector-2rv2g          1/1     Running            0          80m
network-resources-injector-9lpsn          1/1     Running            0          80m
network-resources-injector-lg982          1/1     Running            0          80m
operator-webhook-f6crm                    1/1     Running            0          80m
operator-webhook-lsrhv                    1/1     Running            0          80m
operator-webhook-thhkl                    1/1     Running            0          80m
sriov-network-config-daemon-8whmf         0/1     CrashLoopBackOff   11         35m
sriov-network-config-daemon-9vjxf         0/1     CrashLoopBackOff   11         35m
sriov-network-config-daemon-r68mm         0/1     CrashLoopBackOff   11         35m
sriov-network-config-daemon-szrbm         0/1     CrashLoopBackOff   11         35m
sriov-network-operator-6566b9ccc6-88vp9   1/1     Running            0          80m

Comment 1 zenghui.shi 2021-10-25 12:38:58 UTC

*** This bug has been marked as a duplicate of bug 2016334 ***


Note You need to log in before you can comment on or make changes to this bug.