Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1399065 - [RFE] /var/lib/pulp growing on satellite
[RFE] /var/lib/pulp growing on satellite
Status: CLOSED CURRENTRELEASE
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Content Management (Show other bugs)
6.1.10
x86_64 Linux
unspecified Severity low (vote)
: Unspecified
: Unused
Assigned To: satellite6-bugs
Katello QA List
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-28 03:36 EST by Vladimir Dulava
Modified: 2017-04-13 07:38 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-27 08:26:02 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vladimir Dulava 2016-11-28 03:36:12 EST
Description of problem:
/var/lib/pulp on our satellite server keeps growing.  This is where the synced rpms from Redhat are. Customer wants to have some way to purge old or unused rpms on a regular schedule to manage the growth of this filesystem.

Version-Release number of selected component (if applicable):
Sat 6

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Customer wants the synced repository not to contain old version of packages and requested this RFE to be open.
Comment 1 Michael Hrivnak 2016-12-12 14:48:02 EST
Pulp has a feature that does this for RPMs, and is an optional setting on the yum importer. See "retain_old_count" here: http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html#yum-importer

Katello would need to expose that option.

For any other similar functionality, for example with other data types, the user must be given the opportunity to choose what kind of pruning should happen. Pulp's default is to retain content by default, which is an important guarantee.

I'm moving this to the "Content Management" component, so that katello can evaluate any other desired pruning scenarios, and make pulp RFEs as required.
Comment 2 Brad Buckingham 2017-01-04 20:18:03 EST
In Satellite 6.2, there are a couple of features that may be set on repositories that may be useful in managing space:

1. 'Mirror on Sync':  With this feature, each time a repository is synchronized, if a new version of a package is downloaded, the old version is removed.

2. 'On Demand' (Download Policy):  With this feature, the content will only get downloaded to the filesystem when a client requests it.

Would either of these features address the customers needs?

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