Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1108370 - [RFE] Enable Proxy to pre-cache rpms
Summary: [RFE] Enable Proxy to pre-cache rpms
Alias: None
Product: Spacewalk
Classification: Community
Component: Proxy Server
Version: 2.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: spacewalk-rfe space22
TreeView+ depends on / blocked
Reported: 2014-06-11 20:26 UTC by Stephen Herr
Modified: 2014-07-17 08:40 UTC (History)
0 users

Fixed In Version: spacewalk-proxy-2.2.9-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-17 08:40:51 UTC

Attachments (Terms of Use)

Description Stephen Herr 2014-06-11 20:26:06 UTC
Enable the user to pre-load RPMs into Proxy. The RPMs should be stored in a non-expiring cache. This will allow the user to reduce network bandwidth required and increase RPM retrieval speeds in the case of a slow network.

This feature would be dependent on getting bug 1104375 and bug 1105273 fixed.

Comment 1 Stephen Herr 2014-06-11 20:31:25 UTC
With the two bugs in comment 0 fixed the already-existing rhn_package_manager option --copyonly will create the cache described above.

I have updated the man page to explain this feature, and added a new option --from-export which allows rhn_package_manager to read / cache rpms from a channel dump.

Committing to Spacewalk master:

Comment 2 Stephen Herr 2014-06-20 20:17:45 UTC
I have added the ability to serve files from proxy's local cache for kickstarts.

Committing to Spacewalk master:

Comment 3 Stephen Herr 2014-06-20 21:03:20 UTC
And commit:

Checkstyle fix and adding back in a bit of error handling that was removed to make debugging easier.

Comment 4 Stephen Herr 2014-06-23 14:53:56 UTC
Adding a user-friendly option to package_manager:

Comment 5 Stephen Herr 2014-06-23 18:05:49 UTC
Checkstyle fix:

Comment 6 Milan Zázrivec 2014-07-17 08:40:51 UTC
Spacewalk 2.2 has been released:

Note You need to log in before you can comment on or make changes to this bug.