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

Bug 2053947

Summary: [4.9] Failed to apply sriov policy on intel nics
Product: OpenShift Container Platform Reporter: Sebastian Scheinkman <sscheink>
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: SR-IOV QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: high CC: anskumar, bnemeth, bzvonar, cgoncalves, elevin, fsimonce, jpradhan, mcornea, rnetser, zzhao
Version: 4.9Keywords: AutomationBlocker
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: 2045087 Environment:
Last Closed: 2022-02-16 07:59:19 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: 2053945    
Bug Blocks:    

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. ***