Bug 2109260
Summary: | When using immediate downloads and retain_package_versions=X, all packages are downloaded and many are immediately orphaned | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Daniel Alley <dalley> | |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED ERRATA | QA Contact: | ||
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.11.0 | CC: | ahumbe, dkliban, ggainey, iballou, pcreech, rchan, zhunting | |
Target Milestone: | 6.12.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | pulp-rpm-3.17.8, pulp-rpm-3.14.19 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2122203 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-16 13:34:39 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Daniel Alley
2022-07-20 19:15:10 UTC
Will be fixed in 3.17.8, which is a future release not yet published All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. Steps to retest: 1. Go to settings and turn rhel download policy to "Immediate" 2. Enable RHEL8 and RHEL7 repos 3. Drill into the product -> <product> -> <repo> page 4. Change the mirroring policy to "additive" for both repos(this will open the "retain package versions" field 5. Edit the "Retain package versions" field to 1 6. Save repo and perform sync Expected: Syncing should complete relatively fast and the number of packages should be reduced significantly Actual: Syncing completed relative fast (about 10 minutes) and the number of packages is reduced. For rhel8_baseos, it was 1788 rpms and rhel7, it was 5499. Verified on 6.12 snap 10 with python39-pulp-rpm-3.17.10-1.el8pc.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:8506 |