Bug 2053947 - [4.9] Failed to apply sriov policy on intel nics
Summary: [4.9] 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.9
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 4.9.z
Assignee: zenghui.shi
QA Contact: zhaozhanqi
URL:
Whiteboard:
: 2050222 2050223 (view as bug list)
Depends On: 2053945
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-13 14:02 UTC by Sebastian Scheinkman
Modified: 2022-04-11 21:00 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2045087
Environment:
Last Closed: 2022-02-16 07:59:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sriov-network-operator pull 630 0 None open Bug 2053947: backport W/A for Vfs not getting created 4.9 2022-02-14 19:53:44 UTC
Red Hat Product Errata RHBA-2022:0549 0 None None None 2022-02-16 07:59:22 UTC

Comment 1 Sebastian Scheinkman 2022-02-13 14:05:28 UTC
*** Bug 2050222 has been marked as a duplicate of this bug. ***

Comment 3 elevin 2022-02-15 09:07:41 UTC
E810 nic

========================

sh-4.4# ip l 2>/dev/null | grep ens7f0v | wc -l
49

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

oc -n openshift-sriov-network-operator get sriovnetworknodestate  -oyaml | grep sync
          f:syncStatus: {}
    syncStatus: Succeeded
          f:syncStatus: {}
    syncStatus: Succeeded

oc logs  sriov-network-config-daemon-xw9ld  -n openshift-sriov-network-operator -c sriov-network-config-daemon | grep RebindVfToDefaultDriver
I0215 08:59:34.563557 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.1
W0215 08:59:34.621750 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.1
I0215 08:59:45.781091 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.2
W0215 08:59:45.840752 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.2
I0215 08:59:57.001036 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.3
W0215 08:59:57.059827 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.3
I0215 09:00:08.225279 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.4
W0215 09:00:08.283858 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.4
I0215 09:00:19.442710 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.5
W0215 09:00:19.500888 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.5
I0215 09:00:30.835031 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.6
W0215 09:00:30.893858 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.6
I0215 09:00:41.933338 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.7
W0215 09:00:41.991932 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.7
I0215 09:00:53.033348 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.0
W0215 09:00:53.093434 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.0
I0215 09:01:04.130625 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.1
W0215 09:01:04.190260 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.1
I0215 09:01:15.229126 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.2
W0215 09:01:15.289407 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.2
I0215 09:01:26.328843 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.3
W0215 09:01:26.387954 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.3

Comment 4 elevin 2022-02-15 09:08:46 UTC
E810 nic

========================

sh-4.4# ip l 2>/dev/null | grep ens7f0v | wc -l
49

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

oc -n openshift-sriov-network-operator get sriovnetworknodestate  -oyaml | grep sync
          f:syncStatus: {}
    syncStatus: Succeeded
          f:syncStatus: {}
    syncStatus: Succeeded

oc logs  sriov-network-config-daemon-xw9ld  -n openshift-sriov-network-operator -c sriov-network-config-daemon | grep RebindVfToDefaultDriver
I0215 08:59:34.563557 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.1
W0215 08:59:34.621750 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.1
I0215 08:59:45.781091 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.2
W0215 08:59:45.840752 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.2
I0215 08:59:57.001036 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.3
W0215 08:59:57.059827 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.3
I0215 09:00:08.225279 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.4
W0215 09:00:08.283858 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.4
I0215 09:00:19.442710 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.5
W0215 09:00:19.500888 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.5
I0215 09:00:30.835031 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.6
W0215 09:00:30.893858 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.6
I0215 09:00:41.933338 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:04.7
W0215 09:00:41.991932 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:04.7
I0215 09:00:53.033348 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.0
W0215 09:00:53.093434 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.0
I0215 09:01:04.130625 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.1
W0215 09:01:04.190260 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.1
I0215 09:01:15.229126 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.2
W0215 09:01:15.289407 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.2
I0215 09:01:26.328843 3097822 utils.go:768] RebindVfToDefaultDriver(): VF 0000:86:05.3
W0215 09:01:26.387954 3097822 utils.go:777] RebindVfToDefaultDriver(): workaround implemented for VF 0000:86:05.3

Comment 5 elevin 2022-02-15 10:03:00 UTC
verified sriov-network-config-daemon image::
quay.io/openshift/origin-sriov-network-config-daemon:4.9

Comment 8 errata-xmlrpc 2022-02-16 07:59:19 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 (OpenShift Container Platform 4.9 Extras 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/RHBA-2022:0549

Comment 9 Balazs Nemeth 2022-02-16 12:30:18 UTC
*** Bug 2050223 has been marked as a duplicate of this bug. ***

Comment 10 Sebastian Scheinkman 2022-02-24 12:18:31 UTC
*** Bug 2050223 has been marked as a duplicate of this bug. ***


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