Bug 1440197

Summary: [3.1] Image pruning may incorrectly delete an image if it has both weak and strong references
Product: OpenShift Container Platform Reporter: Maciej Szulik <maszulik>
Component: Image RegistryAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: ge liu <geliu>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.1.1CC: agoldste, aos-bugs, geliu, pweil, tdawson, yinzhou
Target Milestone: ---   
Target Release: 3.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Logic error in how weak and strong references are identified when searching images eligible for pruning. Consequence: Some images having both strong and weak references in pruning graph could be removed during pruning. Fix: Fix logic responsible for finding which images have strong references. Result: Pruning correctly recognizes and prunes images.
Story Points: ---
Clone Of: 1439926 Environment:
Last Closed: 2017-04-19 19:43:47 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: 1439926, 1440199, 1440201, 1440202    
Bug Blocks: 1440177    

Comment 6 errata-xmlrpc 2017-04-19 19:43:47 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-2017:0989