sriov-cni-XXX and sriov-device-plugin-XXX continuously rebooting after configuring SRIOV networks in Red Hat OpenShift Container Platform 4.x
Issue
Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
sriov-cni-XXX and sriov-device-plugin-XXX pods continuously terminate and restart when creating an object of kind SriovNetworkNodePolicy
with more than one spec.nodeSelector
.
The following for example will lead to the issue:
cat <<'EOF' | oc apply -f -
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
name: sriovens1f0vf0
namespace: openshift-sriov-network-operator
spec:
deviceType: vfio-pci
nicSelector:
deviceID: "1015"
pfNames:
- "ens1f0#0-0"
vendor: 15b3
nodeSelector:
serverType: iDRAC_9
sriov: "true"
numVfs: 8
priority: 99
resourceName: sriovens1f0vf0
Whereas the following does not exhibit the issue:
cat <<'EOF' | oc apply -f -
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
name: sriovens1f0vf0
namespace: openshift-sriov-network-operator
spec:
deviceType: vfio-pci
nicSelector:
deviceID: "1015"
pfNames:
- "ens1f0#0-0"
vendor: 15b3
nodeSelector:
serverType: iDRAC_9
numVfs: 8
priority: 99
resourceName: sriovens1f0vf0
EOF
Environment
Red Hat OpenShift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.