Bug 564299 - 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 5
Classification: Red Hat
Component: rhnlib
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Miroslav Suchý
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: 175155
TreeView+ depends on / blocked
 
Reported: 2010-02-12 10:30 UTC by Miroslav Suchý
Modified: 2010-03-30 09:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 564377 (view as bug list)
Environment:
Last Closed: 2010-03-30 09:08:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0322 0 normal SHIPPED_LIVE rhnlib bug fix update 2010-03-29 14:44:13 UTC

Description Miroslav Suchý 2010-02-12 10:30:28 UTC
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.

Comment 1 Miroslav Suchý 2010-02-12 10:39:45 UTC
Commited to svn as rev. 190759

Comment 2 Miroslav Suchý 2010-02-12 10:52:46 UTC
Forward ported to Spacewal as commit 06cc87b6f9249cfff26277001763338e3a4896ce

Comment 13 errata-xmlrpc 2010-03-30 09:08:22 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-0322.html


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