Bug 1108370 - [RFE] Enable Proxy to pre-cache rpms
Summary: [RFE] Enable Proxy to pre-cache rpms
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Proxy Server
Version: 2.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
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:
Environment:
Last Closed: 2014-07-17 08:40:51 UTC
Embargoed:


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:
c100889386a750af811635713f578eea35e930b9

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:
9b70213ac58c1c42efc02d58699710f9a983f811
9b70213ac58c1c42efc02d58699710f9a983f811

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

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:
610f7462e93f3098222d5473341e433c4788d67c

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

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

    https://fedorahosted.org/spacewalk/wiki/ReleaseNotes22


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