Bug 1320232
| Summary: | [RFE] Lazy sync during idle time | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Thom Carlin <tcarlin> |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbuckingham, daviddavis, jmatthew, mhrivnak, tcarlin |
| Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-10 17:29:56 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: | 1212602 | ||
|
Description
Thom Carlin
2016-03-22 15:30:37 UTC
I think this would be either a new download policy or some configuration on the background download policy that would check to make sure that the system is idle before attempting to download packages. Moving 6.2 bugs out to sat-backlog. For RPMs, pulp already has the ability to restrict sync to the most recent versions of each package. You can specify how many old versions of a package you want to have in the repository via an importer setting. I think that will accommodate your prioritization request. For scheduling of background download during system idle time, can you elaborate on your goal for this? The task does not use much for system resources except to generate network traffic and a limited amount of disk IO. If those are your concerns, an easy option would be to limit the bandwidth for those downloads, which is a setting on the repository's importer. If you have something else in mind, please let us know. Please elaborate on how to restrict the sync to a certain number of old versions of a package. For the scheduling, we are trying to reduce the content sync to a minimum. For the QCI use case, the latest version of each package is sufficient for our needs. However, the total elapsed time is of great concern to us. I also reached out to QCI devs as they would better be able to speak to these issues. See the "retain_old_count" setting here: http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html#yum-importer You may need katello to expose that if you want to set it per-repo, but you can always add it to the yum plugin config in /etc/pulp/server/plugins.conf.d/ Bandwidth limiting is also documented there under the name "max_speed". John, are you able to elaborate on this RFE, or point us at the right person? What is the user experience goal? Thom, Do you see this RFE as still being required for QCI? If so, would you elaborate on the RFE? Hi Michael, Thanks for the the information on the retain_old_count and max_speed settings. bbuckinham mentioned the "mirror on sync" setting (new in 6.2) will also help with this request. With the information provided, the original RFE intent has been addressed to some measure. Closing as CURRENTRELEASE. |