Bug 564377 - Handle http 302 redirect request for satellite-sync
Summary: Handle http 302 redirect request for satellite-sync
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rhnlib
Version: 4.9
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Miroslav Suchý
QA Contact: Martin Minar
URL:
Whiteboard:
Depends On:
Blocks: 175155 567989
TreeView+ depends on / blocked
 
Reported: 2010-02-12 15:18 UTC by Jiri Skrabal
Modified: 2016-07-04 00:54 UTC (History)
7 users (show)

Fixed In Version: rhnlib-2.1.4-9.el4
Doc Type: Bug Fix
Doc Text:
Previously, rpclib._requests failed when redirect to CDN was issued. With this update, rhnlib handles HTTP 302 redirect requests for satellite-sync without failure.
Clone Of: 564299
Environment:
Last Closed: 2010-11-09 14:29:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0841 0 normal SHIPPED_LIVE rhnlib bug fix and enhancement update 2010-11-09 14:29:04 UTC

Description Jiri Skrabal 2010-02-12 15:18:49 UTC
+++ This bug was initially created as a clone of Bug #564299 +++

Description of problem:
When redirect to CDN is issued then rpclib._request could not handle it. In fact it will download only first package, but after first request the hostname is clobber. It should be reset in that Server object back to original value.

Version-Release number of selected component (if applicable):
rhnlib-2.2.7-2.el5

How reproducible:
always

Steps to Reproduce:
1. do satsync on CDN enabled RHN Satellite
  
Actual results:
HTTP error 666 on second downloaded package

Expected results:
all packages are downlaoded without problem.

--- Additional comment from msuchy on 2010-02-12 05:39:45 EST ---

Commited to svn as rev. 190759

--- Additional comment from msuchy on 2010-02-12 05:52:46 EST ---

Forward ported to Spacewal as commit 06cc87b6f9249cfff26277001763338e3a4896ce

Comment 5 Miroslav Suchý 2010-02-23 16:02:19 UTC
commited as rev. 191020 and 191021.

Comment 10 errata-xmlrpc 2010-11-09 14:29:09 UTC
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 therefore 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/RHBA-2010-0841.html

Comment 11 Florian Nadge 2011-01-03 11:22:58 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, rpclib._requests failed when redirect to CDN was issued. With this update, rhnlib handles HTTP 302 redirect requests for satellite-sync without failure.


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