Bug 1889950 - [RFE] Foreman rake to remove old rpms from Satellite.
Summary: [RFE] Foreman rake to remove old rpms from Satellite.
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.7.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-21 04:29 UTC by Gary Scarborough
Modified: 2020-10-22 21:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Gary Scarborough 2020-10-21 04:29:10 UTC
Description of problem:

We should have a foreman rake or other mechanism to remove old and un-needed packages from Satellite.  While this can be accomplished fairly easily on Capsules, there is no easy way to do this on Satellite.

Even with on-demand downloading, a Satellite that has been upgraded several times will have an enormous amount of space used by packages that are no longer used.  Removing a repo and re-adding it to Satellite is virtually impossible.  There are tons of packages that are not being deployed anymore that could easily be removed to free up space.

Having a mechanism to remove packages that haven't been used in 30, 60, or 90 days would greatly reduce space needed.  Then, if for some reason that package is needed again, the on-demand nature of the Satellite should allow the package to be re-downloaded from the CDN.


Note You need to log in before you can comment on or make changes to this bug.