Bug 2053945 - [4.10] Failed to apply sriov policy on intel nics
Summary: [4.10] Failed to apply sriov policy on intel nics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 4.10.0
Assignee: zenghui.shi
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On: 2045087
Blocks: 2053947
TreeView+ depends on / blocked
 
Reported: 2022-02-13 14:00 UTC by Sebastian Scheinkman
Modified: 2022-03-10 16:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2045087
Environment:
Last Closed: 2022-03-10 16:44:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sriov-network-operator pull 631 0 None open Bug 2053945: backport W/A for Vfs not getting created 4.10 2022-02-13 14:01:15 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:44:28 UTC

Comment 2 elevin 2022-02-14 19:51:27 UTC
Server Version: 4.10.0-fc.2
===============================
sh-4.4# ip l 2>/dev/null | grep ens7f0v | wc -l
48

apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
  name: dpdk-nic-1
  namespace: openshift-sriov-network-operator
spec:
  deviceType: vfio-pci
  linkType: eth
  needVhostNet: true
  nicSelector:
    pfNames: ["ens7f0#0-29"]
  nodeSelector:
    kubernetes.io/hostname: "helix13.lab.eng.tlv2.redhat.com"
  numVfs: 60
  priority: 99
  resourceName: dpdk_nic_1
---
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
  name: sriov-nic-1
  namespace: openshift-sriov-network-operator
spec:
  deviceType: netdevice
  linkType: eth
  nicSelector:
    pfNames: ["ens7f0#30-59"]
  nodeSelector:
    kubernetes.io/hostname: "helix13.lab.eng.tlv2.redhat.com"
  numVfs: 60
  priority: 99
  resourceName: sriov_nic_1

[elevin@elevin ~]$ oc logs  sriov-network-config-daemon-v27l9  -n openshift-sriov-network-operator -c sriov-network-config-daemon | grep RebindVfToDefaultDriver
I0214 19:41:25.460658 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.1
W0214 19:41:25.518852 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.1
I0214 19:41:36.675275 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.2
W0214 19:41:36.733851 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.2
I0214 19:41:47.910545 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.3
W0214 19:41:47.968872 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.3
I0214 19:41:59.143439 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.4
W0214 19:41:59.201901 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.4
I0214 19:42:10.344754 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.5
W0214 19:42:10.402880 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.5
I0214 19:42:21.718879 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.6
W0214 19:42:21.776812 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.6
[elevin@elevin ~]$ oc logs  sriov-network-config-daemon-v27l9  -n openshift-sriov-network-operator -c sriov-network-config-daemon | grep RebindVfToDefaultDriver
I0214 19:41:25.460658 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.1
W0214 19:41:25.518852 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.1
I0214 19:41:36.675275 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.2
W0214 19:41:36.733851 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.2
I0214 19:41:47.910545 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.3
W0214 19:41:47.968872 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.3
I0214 19:41:59.143439 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.4
W0214 19:41:59.201901 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.4
I0214 19:42:10.344754 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.5
W0214 19:42:10.402880 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.5
I0214 19:42:21.718879 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.6
W0214 19:42:21.776812 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.6
I0214 19:42:32.817997 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:04.7
W0214 19:42:32.876886 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.7
I0214 19:42:43.917304 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:05.0
W0214 19:42:43.975963 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.0
I0214 19:42:55.017006 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:05.1
W0214 19:42:55.075841 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.1
I0214 19:43:06.116675 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:05.2
W0214 19:43:06.174837 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.2
I0214 19:43:17.216089 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:05.3
W0214 19:43:17.276434 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.3
I0214 19:43:28.320640 1074984 utils.go:754] RebindVfToDefaultDriver(): VF 0000:86:05.4
W0214 19:43:28.380008 1074984 utils.go:763] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.4

Comment 5 errata-xmlrpc 2022-03-10 16:44:04 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.10.3 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:0056


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