-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
6.15.5
-
False
-
sat-artemis
-
None
-
None
-
None
-
None
Problem Statement
Would like to have the option to publish repos inside CV/CCVs where only the latest versions of each package is represented.
For RHEL 8, BaseOS would reduce its metadata size from 243 MB (BaseOS) + 175 MB (AppStream) = 418 MB down to 10 MB + 33 MB = 45 MB:
# du -sh rhel-8-for-x86_64-baseos-rpms/repodata/ 243M rhel-8-for-x86_64-baseos-rpms/repodata/ # du -sh latest/rhel-8-for-x86_64-baseos-rpms/repodata/ 9.8M latest/rhel-8-for-x86_64-baseos-rpms/repodata/ # find rhel-8-for-x86_64-baseos-rpms -name \*.rpm | wc -l 20558 # find latest/rhel-8-for-x86_64-baseos-rpms -name \*.rpm | wc -l 1837
# du -sh rhel-8-for-x86_64-appstream-rpms/repodata/ 175M rhel-8-for-x86_64-appstream-rpms/repodata/ # du -sh latest/rhel-8-for-x86_64-appstream-rpms/repodata/ 33M latest/rhel-8-for-x86_64-appstream-rpms/repodata/ # find rhel-8-for-x86_64-appstream-rpms -name \*.rpm | wc -l 42329 # find latest/rhel-8-for-x86_64-appstream-rpms -name \*.rpm | wc -l 8454
This is a saving of 418 - 45 = 373 MB per host.
For a customer with 50K RHEL hosts, that's 18.65 TB in metadata on enterprise grade storage which represents a substantial cost.
Additional expected benefits include faster publishing, promoting and capsule sync.
The Pulp Yum importer already has option
retain_old_count
to limit the number of package versions to retain:
Customer is requesting that this option is leveraged by Satellite in a way that allows the savings already mentioned.
User Experience & Workflow
Significant reduction in storage requirements per host, faster publishing, promoting and capsule sync.
Requirements
Option to publish only the latest version of each package in a repository while publishing a CV/CCV
Business Impact
An estimate of the cost of the storage has not been provided by the customer.
This Feature was previously requested (and rejected) a number of years ago in bz 1908894 / Jira SAT-2319 and Jira SAT-28419.