Bug 1472438
Summary: | [3.5][Registry][Pruning] Orphaned blobs cannot be pruned | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Michal Minar <miminar> |
Component: | Image Registry | Assignee: | Michal Minar <miminar> |
Status: | CLOSED ERRATA | QA Contact: | ge liu <geliu> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.5.1 | CC: | aos-bugs, bleanhar, dmoessne, erich, geliu, jkaur, mfojtik, miminar, misalunk, pdwyer, stwalter, xtian, yinzhou |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 3.5.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: There was no way to prune orphaned blobs on integrated registry's storage.
Consequence: The orphaned blobs could pile up and consume a considerable amount of free space.
Fix: We provide a new low-level utility that is run inside of registry's container and removes the orphaned blobs.
Result: Customers are now able to remove orphaned blobs retrieve storage space.
|
Story Points: | --- |
Clone Of: | 1467340 | Environment: | |
Last Closed: | 2017-08-31 17:00:23 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: | 1408676, 1467340, 1479340, 1499314, 1499315 | ||
Bug Blocks: | 1471844 |
Comment 1
Michal Minar
2017-07-18 17:51:04 UTC
PR merged, waiting for new puddle. Verified the bug with original reproduce steps on ocp version:3.5.5.31.6, and regarding to extra test steps which miminar suggested in card: https://trello.com/c/He2j63p0/957-5-registry-hard-prune-procedure#comment-595b562d4ffaa643a78c0a6e the testing blocked because the file: 'dockerregistry' don't exist in this ocp version, @miminar, is that work as design? and could we close this bug now? openshift v3.5.5.31.6 kubernetes v1.5.2+43a9be4 etcd 3.1.0 hello @miminar, thanks for quick response for this issue, this bug should be fixed in errata as my understanding based on Comment 3 above, so assign it back to you, pls feel free to take action for it, thanks. The build have not ready for testing, so change status to modify. Confirmed with latest 3.5 version, the issue has fixed: openshift version openshift v3.5.5.31.19 kubernetes v1.5.2+43a9be4 etcd 3.1.0 [root@openshift-132 ~]# oc -n default exec -i -t docker-registry-2-nfcgt -- /usr/bin/dockerregistry -prune=delete ....... Deleted 10 blobs Freed up 151.3 MiB of disk space 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:1828 *** Bug 1499315 has been marked as a duplicate of this bug. *** |