Bug 2030434
Summary: | Repository sync download all metadata files on every sync, even when there is no new packages | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Joniel Pasqualetto <jpasqual> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Sam Bible <sbible> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.10.1 | CC: | ahumbe, dalley, ggainey, jsherril, pcreech, rchan, ttereshc, wpinheir |
Target Milestone: | 6.11.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:31:01 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
Joniel Pasqualetto
2021-12-08 18:46:51 UTC
A little more background: Pulp tries to avoid doing this by using a couple of heuristics. In pulp_rpm 3.14 which is shipped with Satellite 6.10, the heuristics were as follows: * If no repository version has been created since the one created by the last sync * If the repomd.xml is the same * If the remote has not been changed since the last sync. THEN the sync is skipped. This is fine in isolation, but in the Katello context, the remote is *always* updated just prior to the sync in order to refresh the TLS client certificates. Thus the heuristic is violated and the sync always occurs. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. verified on 7.0.0 - 4 Steps to Reproduce: 1. Enable any repository (Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs was used in testing) 2. Sync it once 3. Sync it again. Actual results: 10 Files synced the first time, none the next time. Expected results: Download all the metadata only if there were changes on the repository 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 (Moderate: Satellite 6.11 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:5498 |