Bug 150996

Summary: Yum - Should try other mirrors when parse error found
Product: [Fedora] Fedora Reporter: michael mastrangelo <mmastran>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 3CC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-22 18:58:15 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:

Description michael mastrangelo 2005-03-13 18:39:41 UTC
Description of problem:
If there is a bad mirror and the repomd.xml is empty it should try one
of the other mirrors but it doesnt.

Version-Release number of selected component (if applicable):
yum-2.2.0-0.fc3

How reproducible:
well right now a livina mirror is acting up
so if you try now it will - if the mirror fixes...

Steps to Reproduce:
1.0 
here are my mirrors
baseurl=http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable

http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable  

2. they dont work (see error below
3. rearrange them like this
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable  

http://livna.cat.pdx.edu/fedora/$releasever/$basearch/RPMS.unstable

4. they work
  
Actual results:
//var/cache/yum/livna-unstable/repomd.xml:1: parser error : Document
is empty

^
//var/cache/yum/livna-unstable/repomd.xml:1: parser error : Start tag
expected,'<' not found

Expected results:
try the other mirror when repomd.xml is empty

Additional info:

Comment 1 Seth Vidal 2005-03-22 18:58:15 UTC
please see:
http://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=415