Bug 1440177
| Summary: | [3.6] Image pruning may incorrectly delete an image if it has both weak and strong references | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Andy Goldstein <agoldste> |
| Component: | Image Registry | Assignee: | Maciej Szulik <maszulik> |
| Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.6.0 | CC: | aos-bugs, eparis, geliu, haowang, maszulik, pweil, tdawson, yinzhou |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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-08-10 05:20:02 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, 1440197, 1440199, 1440201, 1440202 | ||
| Bug Blocks: | |||
|
Comment 1
Andy Goldstein
2017-04-07 13:42:33 UTC
This has been merged into ocp and is in OCP v3.6.28 or newer. 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/RHEA-2017:1716 |