Bug 1315326
Summary: | Capsule sync redundantly generates metadata for all repos | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> | |
Component: | Repositories | Assignee: | Tomas Strachota <tstrachota> | |
Status: | CLOSED NEXTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | |
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.1.6 | CC: | bbuckingham, bkearney, ktordeur, oshtaier, sthirugn, tstrachota | |
Target Milestone: | Unspecified | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1327338 (view as bug list) | Environment: | ||
Last Closed: | 2016-05-06 18:48:07 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1327338 |
Description
Pavel Moravec
2016-03-07 13:35:40 UTC
After discussion with Ina Panova from Pulp team we found out that satellite creates all repository distributors with auto-publish set to true. That results in the publish action (which re-generates the metadata) being executed on every sync. We should be able to fix the issue with turning auto-publish off and publishing repos from satellite side only if there is some content synced. Created redmine issue http://projects.theforeman.org/issues/14807 from this bug Upstream bug component is Repositories I'm removing the linked upstream issue. Optimization on Pulp's side have been made and metadata generation process is much faster now. Therefore it's not necessary to skip it in upstream. Moving to POST since upstream bug http://projects.theforeman.org/issues/14807 has been closed Hi Tomas, It appears that the upstream PR has been closed. Will there be additional changes to address this issue in Satellite 6.2? If not, should we move this to ON_QA or CLOSED? Hi Brad, this is only sat 6.1 issue. Upstream and 6.2 are not affected. That's why I closed the upstream PR. I didn't know about optimizations that had been done in Pulp by the time I was writing the upstream patch. Please see the discussion in the upstream PR for details. This change makes sense only in sat 6.1 where there's older Pulp and different approach to how we handle capsule content synchronizations. I also don't think we should track this as sat-6.2.0+. Tomas, Thanks! Based on the feedback, I am going to close this bug on 6.2. The fix/plans for 6.1.z will be tracked in the associated clone bug 1327338. |