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

Bug 1892724

Summary: VFS added to the list of devices of the nodeptpdevice CRD
Product: OpenShift Container Platform Reporter: Federico Paolinelli <fpaoline>
Component: NetworkingAssignee: Federico Paolinelli <fpaoline>
Networking sub component: ptp QA Contact: huirwang
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: zzhao
Version: 4.7   
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:29:18 UTC Type: Bug
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:    
Bug Blocks: 1933629    

Description Federico Paolinelli 2020-10-29 14:19:17 UTC
Description of problem:

It happened sporadically in our CI, but what I am seeing is a vf sneaking in the list of devices in the nodeptpdevice CRD.




How reproducible:
Flaky

Actual results:


Expected results:


Additional info:

Looking at the code, the ptp daemon loops and always fetches the list of devices and appends new ones, so I suspect there's a race if the daemon checks for the devices when the vfs are getting created (maybe the link is already created, but not the physfn link?).

Once this happens, the device is never removed from the list because of the append mechanism.

Comment 7 errata-xmlrpc 2021-02-24 15:29:18 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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/RHSA-2020:5633