Bug 175153
Summary: | Support http 302 redirect requests in rhnlib | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Jason Connor <jconnor> |
Component: | up2date | Assignee: | Bret McMillan <bretm> |
Status: | CLOSED ERRATA | QA Contact: | Beth Nackashi <bnackash> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | mmccune, rhn-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHEA-2006-0470 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-07-20 14:54:35 UTC | Type: | --- |
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: | 179651, 181405 |
Description
Jason Connor
2005-12-06 23:20:57 UTC
This capability has been added in the rhnlib module which acts as a gateway between the client(up2date/satsync) and hosted/akamai edge-nwk. Basically the rpclib is modified such that the fail-over and redirect are handled at the same place. Implemented Flow: - when you run up2date it starts with POST and GET request for login and pkg hdr info respectively - for every package a GET request is sent to hosted . - hosted redirects with 302 back to the client with akamai url - client sends a request to akamaized url for pkg. - we fill the headers with pkg info and redirect paths for akamai use in case of failure or redirect. - if package avaiable: downlods it - elif 4xx or 5xx from akamai: #send the request back to hosted, set no-redirect flag (avoid loops) #download pkg - elif 302 from akamai: #sends a 302 back to the redirect url and if hosted downloads the pkg. summary changed to properly reflect what package got modified It was decided that the client portion of the ISO Pkg Redirect should be deliver with with the RHN-RHEL3.8 and RHN-RHEL4.4 update agent release RHN Dev and RHN QA have agreed to develop and test this bug Moving component to RHEL for errata reasons. Note that the server side bits for 302 are not going into 410, they will be turned on at a later point. Testing right now should be regression testing. This bug has been fixed in this release An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2006-0470.html |