How to delete orphaned content in /var/lib/pulp on Capsule?

Solution Verified - Updated -

Issue

  • Disabling some synchronized repositories or deleting old Content View versions leave orphaned content under /var/lib/pulp
  • Satellite has /etc/cron.weekly/katello-remove-orphans or /etc/cron.d/katello script to identify such content and delete it
  • Capsule does not have such a cleaning mechanism, causing no space is ever cleaned from Capsule's /var/lib/pulp
  • How to remove orphaned content from Capsule to prevent disk full?

Environment

  • Red Hat Satellite < 6.6
    • External Capsule

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