Bug 871835

Summary: yum downloader occasionally reports "HTTP 200 OK" - trying another mirror...
Product: [Fedora] Fedora Reporter: Jindrich Novy <jnovy>
Component: python-urlgrabberAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: james.antill, packaging-team, pknirsch, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-urlgrabber-3.9.1-18.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-27 05:11:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jindrich Novy 2012-10-31 14:07:50 UTC
Description of problem:
yum downloader occasionally reports "HTTP 200 OK" - trying another mirror... what doesn't really seem to be a problem. In case it is a real problem then the error message needs to be changed to something more sensible/helpful.

Version-Release number of selected component (if applicable):
python-urlgrabber-3.9.1-21.fc18

How reproducible:
Not always reproducible

Steps to Reproduce:
1. try to update via yum

Comment 1 Zdeněk Pavlas 2012-10-31 14:43:59 UTC
This is a bug in the exception path, probably also a bug in curl.  Happens when server responds with 200 OK, starts sending the file, but the connection is closed.  Curl raises pycurl.error(18, '') (Partial file).

Urlgrabber checks the errmsg, and since it's empty and we've already parsed HTTP headers, it's reported as "HTTP error 200".  Added an explicit check for 2xx error codes upstream.

Comment 2 Fedora Update System 2012-11-01 13:40:46 UTC
python-urlgrabber-3.9.1-22.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-22.fc18

Comment 3 Fedora Update System 2012-11-01 18:31:11 UTC
Package python-urlgrabber-3.9.1-22.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-urlgrabber-3.9.1-22.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17447/python-urlgrabber-3.9.1-22.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-11-21 08:51:52 UTC
python-urlgrabber-3.9.1-17.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-17.fc17

Comment 5 Fedora Update System 2012-11-27 05:11:38 UTC
python-urlgrabber-3.9.1-22.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-01-07 12:56:46 UTC
python-urlgrabber-3.9.1-18.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-18.fc17

Comment 7 Fedora Update System 2013-06-01 02:25:46 UTC
python-urlgrabber-3.9.1-18.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.