Red Hat Bugzilla – Bug 1264046
Installation from a network respository aborts because of DNS error
Last modified: 2015-09-17 10:21:54 EDT
Description of problem:
Installation of Fedora 22 from a network repository aborts if DNS error occurs
Steps to Reproduce:
1. Run a fresh Fedora 22 installation on a computer connected to a router, serving as a DNS server.
2. Select "Install from closest mirror", wait for the metadata to complete fetching.
3. Disable the DNS service on the router
4. Select "Run installation"
Installation aborts saying "DNS error occured: can't resolve <mirror url>", with no way to resume.
Installation retries DNS queries on background, with an option to resume installation after several failed attempts.
DNS errors and other temporary network conditions should not be considered critical errors when installing from network. They should be retried on background. Attended installation should provide option to resume.
dnf will retry on network failures, and will try switching mirrors if a particular mirror fails, but it isn't going to retry forever.
Did anaconda crash (an unknown error has occurred) or display a dialog? If it was a crash, please attach the logs from /tmp as individual, text/plain attachments.
It displayed a dialog, saying something along the lines of "DNS error occured: can't resolve <mirror url>. A critical error happened during installation. The installation cannot continue".
The only option was to reset the machine (the dialog had no buttons and did not respond to Ctrl-Alt-Del).
Can't look it up because I installed Fedora on the second attempt (which formatted the drives and destroyed logs from the first attempt), but can try to reproduce it on a virtual box, if needed.
My understanding is that in case of a network error the user should be brought back to the options screen and given an option to fix the network settings.
Created attachment 1074469 [details]
As I said, anaconda and the libraries it uses for packaging will retry in case of a network error, but will not retry forever. Once you have started the installation, many of the items that are configurable on the summary screen--storage, package sets--have been or are being written to the system, putting attempts to reconfigure in an inconsistent state, so to retry you might as well start the installer again. Which is exactly the choice that we offer.
(In reply to Alex Bolenok from comment #2)
> The only option was to reset the machine (the dialog had no buttons and did
> not respond to Ctrl-Alt-Del).
The "Exit Installer" button on the dialog will exit the installer.