Back-port PR: https://github.com/openshift/ose/pull/804
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. ***