Running a prune removed a layer part of a valid image when pruning a prunable image

Solution Verified - Updated -

Issue

  • Running a prune removed a layer part of a valid image when pruning a prunable image.
  • We have a prune job which is using --keep-tag-revisions tag of the oc adm prune images command and we suspect this prune job is pruning layers referenced by other images. This is causing required/used blobs to mysteriously disappear from registry and causing deployment failures.

Environment

  • OpenShift Container Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content