Bug 728868

Summary: anaconda could not parse metalink during the net installation
Product: [Fedora] Fedora Reporter: Tao Wu <twu>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dennis, jlaska, jonathan, rhe, sdharane, tflink, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedNTH
Fixed In Version: anaconda-16.14.6-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-18 22:25:30 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: 713563, 713564    
Attachments:
Description Flags
error log of anaconda 16.14.2
none
metalink file none

Description Tao Wu 2011-08-08 08:46:02 UTC
Description of problem:
In the process of install Fedora-16-Alpha-i386-netinst.iso in "Virtual Machine Manager 0.8.7", anaconda could not parse metalink, which would terminate the installation.

Version-Release number of selected component (if applicable):
16.14.2

How reproducible:
always

Steps to Reproduce:
1. Install Fedora-16-Alpha-i386-netinst.iso in kvm like "Virtual Machine Manager 0.8.7"
2. Select the default options 
  
Actual results:
Installation abort when anaconda try to retrieve repository metadata. 

Expected results:
Installation completed successful.

Additional info:
It might be a problem of the default metalink url which was used by anaconda, the url is:
  https://mirrors.fedoraproject.org/metalink?repo=fedora-16-Alpha&arch=i386.

But by the result of accessing this url, we got this message:

  "# repo = fedora-16-Alpha arch = i386 error: invalid repo or arch"

and this:
 
   "
   # following repositories are available:
   ......
   # repo=fedora-16, arch=i386
   ......
   "

so maybe the url should be https://mirrors.fedoraproject.org/metalink?repo=fedora-16&arch=i386 ?

Comment 1 Tao Wu 2011-08-08 08:48:45 UTC
Created attachment 517134 [details]
error log of anaconda 16.14.2

Comment 2 Tao Wu 2011-08-08 08:50:23 UTC
Created attachment 517135 [details]
metalink file

Comment 3 He Rui 2011-08-08 10:39:44 UTC
Yeah, confirmed it. Shouldn't the repo link be fedora-16 instead of fedora-16-Alpha?

Comment 4 James Laska 2011-08-08 13:10:28 UTC
I believe this is the fault of the arguments passed to pungi (or lorax) when composing the installation ISO media.  The version supplied, is expected to be an integer (16).  However, the version supplied is a string (16-Alpha).

I believe we'll need either ...
 1) A change in anaconda to strip out any non-integer elements in that string -- unsustainable patch imo ... string manip always fails
 2) Respin the RC media using an 'integer' --version argument 
 3) Update MirrorManager to recognize the repo=fedora-16-Alpha

Adding dgilmore (rel-eng) since I believe options #2 and #3 fall into his realm.

Comment 5 Dennis Gilmore 2011-08-08 13:25:22 UTC
as a workaround mirrormanager rediects have been put in place, however this really lies in anaconda land, the upgrade check strips off the -Alpha and -Beta  and we should be doing the same here. we need to pass in 16-Alpha and 16-Beta for the version arguments to pungi to ensure that everything is named correctly.

Comment 6 James Laska 2011-08-08 14:44:42 UTC
(In reply to comment #5)
> as a workaround mirrormanager rediects have been put in place, however this
> really lies in anaconda land, the upgrade check strips off the -Alpha and -Beta
>  and we should be doing the same here. we need to pass in 16-Alpha and 16-Beta
> for the version arguments to pungi to ensure that everything is named
> correctly.

I've confirmed the MirrorManager repo=fedora-16-Alpha redirect works.  Will leave this issue open pending anaconda discussion on how to future-proof this defect.

Comment 7 Chris Lumens 2011-08-08 15:04:10 UTC
If this is still reproducible (perhaps not what with the mirrormanager redirect, but maybe someone has a clever idea) can you test with:

updates=http://clumens.fedorapeople.org/728868.img

Comment 8 James Laska 2011-08-08 15:32:07 UTC
(In reply to comment #7)
> If this is still reproducible (perhaps not what with the mirrormanager
> redirect, but maybe someone has a clever idea) can you test with:
> 
> updates=http://clumens.fedorapeople.org/728868.img

Hrmm, yeah, I don't know how to retest this now that MirrorManager is in place.  Maybe dgilmore can temporarily disable the MM changes?

Comment 9 Tim Flink 2011-08-08 16:36:14 UTC
Discussed in the 2011-08-08 Fedora QA meeting. The symptoms have been fixed but the original issue still remains. Accepted as NTH for Fedora 16 Alpha and re-proposed as Fedora 16 Blocker.

Comment 10 Fedora Update System 2011-08-09 04:25:54 UTC
anaconda-16.14.3-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/anaconda-16.14.3-1.fc16

Comment 11 Fedora Update System 2011-08-09 06:02:46 UTC
Package anaconda-16.14.3-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-16.14.3-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/anaconda-16.14.3-1.fc16
then log in and leave karma (feedback).

Comment 12 Tao Wu 2011-08-09 06:59:20 UTC
According to the latest test results of anaconda 16.14.3, this problem has been fixed.

Comment 13 Fedora Update System 2011-08-11 15:50:00 UTC
anaconda-16.14.4-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/anaconda-16.14.4-1.fc16

Comment 14 Fedora Update System 2011-08-15 16:55:46 UTC
anaconda-16.14.5-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/anaconda-16.14.5-1.fc16

Comment 15 Fedora Update System 2011-08-16 20:14:59 UTC
anaconda-16.14.6-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/anaconda-16.14.6-1.fc16

Comment 16 Fedora Update System 2011-08-18 22:24:30 UTC
anaconda-16.14.6-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.