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

Bug 1898594

Summary: Backport request SR-IOV network operator 4.5 - When adding more than one node selector to the sriovnetworknodepolicy, the cni and the device plugin pods are constantly rebooted
Product: OpenShift Container Platform Reporter: Andreas Karis <akaris>
Component: NetworkingAssignee: Federico Paolinelli <fpaoline>
Networking sub component: SR-IOV QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: akaris, dosmith, fpaoline, zzhao
Version: 4.5   
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1898580 Environment:
Last Closed: 2021-01-20 05:49:27 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: 1898595    
Bug Blocks:    

Comment 2 zhaozhanqi 2021-01-11 05:34:27 UTC
Verified this bug on 4.5.0-202101090338.p0



$ oc get csv -n openshift-sriov-network-operator
NAME                                           DISPLAY                   VERSION                 REPLACES   PHASE
sriov-network-operator.4.5.0-202101090338.p0   SR-IOV Network Operator   4.5.0-202101090338.p0              Succeeded

with the following policy:

apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
  name: intel-netdevice
  namespace: openshift-sriov-network-operator
spec:
  deviceType: netdevice
  nicSelector:
    rootDevices:
      - '0000:3b:00.0'
    vendor: '8086'
  nodeSelector:
    feature.node.kubernetes.io/sriov-capable: 'true'
    sriov: worker1
  numVfs: 5
  priority: 99
  resourceName: intelnetdevice

$ oc get pod -n openshift-sriov-network-operator
NAME                                      READY   STATUS    RESTARTS   AGE
network-resources-injector-9rlw6          1/1     Running   0          13m
network-resources-injector-rqqxw          1/1     Running   0          13m
network-resources-injector-x95sc          1/1     Running   0          13m
operator-webhook-5d6wp                    1/1     Running   0          13m
operator-webhook-92kw6                    1/1     Running   0          13m
operator-webhook-zm8qj                    1/1     Running   0          13m
sriov-cni-vlm5t                           1/1     Running   0          5m54s
sriov-device-plugin-pnck8                 1/1     Running   0          3m46s
sriov-network-config-daemon-fgqwq         1/1     Running   0          13m
sriov-network-config-daemon-g6hf7         1/1     Running   0          13m
sriov-network-operator-5bf8b6bbf4-dpljv   1/1     Running   0          13m

Comment 5 errata-xmlrpc 2021-01-20 05:49:27 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.5.27 bug fix 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-2021:0033