Bug 1264046 - Installation from a network respository aborts because of DNS error
Summary: Installation from a network respository aborts because of DNS error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 22
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-17 11:51 UTC by Alex Bolenok
Modified: 2015-09-17 14:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-17 14:21:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
download error.png (176.92 KB, image/png)
2015-09-17 14:21 UTC, David Shea
no flags Details

Description Alex Bolenok 2015-09-17 11:51:20 UTC
Description of problem:

Installation of Fedora 22 from a network repository aborts if DNS error occurs

How reproducible:

Always

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"

Actual results:

Installation aborts saying "DNS error occured: can't resolve <mirror url>", with no way to resume.

Expected results:

Installation retries DNS queries on background, with an option to resume installation after several failed attempts.

Additional info:

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.

Comment 1 David Shea 2015-09-17 13:39:59 UTC
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.

Comment 2 Alex Bolenok 2015-09-17 13:58:10 UTC
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.

Comment 3 David Shea 2015-09-17 14:21:38 UTC
Created attachment 1074469 [details]
download error.png

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.


Note You need to log in before you can comment on or make changes to this bug.