Bug 1738374 - [sriov]sriov-network-config-daemon pod become CrashLoopBackOff when set numVfs more than total num
Summary: [sriov]sriov-network-config-daemon pod become CrashLoopBackOff when set numVf...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.2.0
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: 4.3.0
Assignee: Peng Liu
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-07 02:21 UTC by zhaozhanqi
Modified: 2020-01-23 11:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-23 11:05:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:05:16 UTC

Description zhaozhanqi 2019-08-07 02:21:30 UTC
Description of problem:
When set the numVfs more than total num. After a while, the sriov-network-config-daemon become Crash

Version-Release number of selected component (if applicable):
quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.2.0-201908041300-ose-sriov-dp-admission-controller

quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.2.0-201908051019-ose-sriov-network-config-daemon

How reproducible:
always

Steps to Reproduce:
1. install sriov operator 
2. Add SriovNetworkNodePolicy and set numVfs more than total num
3. Check the sriov-network-config-daemon

Actual results:
3. sriov-network-config-daemon become crash


Expected results:

network-resources-injector can block this


Additional info:

Comment 1 Peng Liu 2019-08-08 02:31:09 UTC
The validation of user config data needs to happen during custom resource creation, which requires an admission controller for SriovNetworkNodePolicy API. Since it's a new feature, we plan to support this feature in 4.3.

Comment 2 Peng Liu 2019-11-06 09:41:59 UTC
Solved by this Jira story https://jira.coreos.com/browse/SDN-514

Comment 3 zhaozhanqi 2019-11-07 08:30:41 UTC
Verified this bug with new added webhook image

Comment 5 errata-xmlrpc 2020-01-23 11:05:01 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, 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-2020:0062


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