Red Hat Bugzilla – Bug 853404
closest network mirror can't be selected
Last modified: 2013-01-09 21:21:53 EST
Description of problem:
If I go to "Installation source" and select "On the network - closest mirror" and hit Back, the hub screen says "CD/DVD drive" as the source. When I go to the dialog again, "auto-detected install media" is selected again.
Version-Release number of selected component (if applicable):
F18 Alpha TC4 DVD
anaconda 18.6.4 (hey guys, don't you want to use just NN.N versions?)
When I boot from netinst, selecting closest mirror of course works (it's the default choice).
I believe this bug is closest to our Final criterion:
" The installer must be able to use all supported local and remote package source options "
With the new Anaconda UI we should consider whether we want "closest mirror" to work sooner in our development cycle and adjust criteria in that case.
Depending on which media you grabbed, there was an issue with the release number used during the compose, where it would be fed into the mirror list url and not find any mirrors. I believe this is fixed in pretc4-5 . Can you retry with that or confirm you used that?
Yeah I can reproduce this. When you change the source in source.py, it blanks out data.method.method like it's supposed to and then calls payload.updateBaseRepo. This first off calls payload._configureBaseRepo, which has a check for an empty data.method.method. Finding that, it checks if /run/install/repo is mounted (which it will be, since you booted off the DVD), and sets you back to using the DVD as install source.
I don't really see a good way around this. We can't just unmount /run/install/repo since it's in use.
I don't believe this meets any criteria, though. You can of course still use the remote package source options if you boot the netinst, perhaps also if you boot with a repo= option. It's simply this one unique combination that's throwing things off.
Patch posted and accepted/pushed, but I'm still not completely comfortable with where it's at. Not sure if it'll get pulled into Alpha or be post-alpha.
This should be fixed in the post-alpha trees. Please re-open if not.