Imagestreams with status "Deleted" do not disappear with image pruning

Solution Verified - Updated -

Issue

When running oc adm prune images command there are some imagestreams in status Deleted that never disappear, for example:

# oc adm prune images --keep-tag-revisions=10 --keep-younger-than=4320h --confirm
Deleting references from image streams to images ...
STREAM            ACTION    TAGS
test/rhel7-test   Deleted   latest
test/mysql-test   Deleted   latest
test/httpd-test   Deleted   latest
test/rhel7        Deleted   latest
test/ose-test     Deleted   3.9.60

Environment

  • OpenShift Container Platform
    • 3.x

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