Bug 684402

Summary: repo=hd: install method logs "Couldn't resolve hostname"
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-15.24-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-23 05:04:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
/tmp/anaconda.log up to graphical test release warning screen
none
/tmp/storage.log - likely not relevant none

Description Michael Schwendt 2011-03-12 10:28:01 UTC
Related to bug 678086 (F-15-Alpha.TC2 DVD image askmethod install from harddisk segfaults) I've been told on test-list to try a different boot arg ( repo=hd:/dev/sd6:/15/64 ) which worked with TC2 and also works with F-15-Alpha. However, on the virtual console I see a confusing error message like:

INFO loader: transferring hd:/dev/sda6:/15/64/images/updates.img: Couldn't resolve hostname
...
INFO loader: transferring hd:/dev/sda6:/15/64/images/product.img: Couldn't resolve hostname

Initially that made me think it doesn't understand the repo=hd:/dev/sda6:/15/64 anymore. Due to the "hd:" prefix, it should not try to interpret any part of the following string as a hostname.

Comment 1 Brian Lane 2011-03-13 15:16:16 UTC
Can you get the logs from /tmp/*log from the install? If so, please attach them as individual text/plain files.

Comment 2 Michael Schwendt 2011-03-14 10:15:01 UTC
Created attachment 484132 [details]
/tmp/anaconda.log up to graphical test release warning screen

Contrary to F-15 Alpha, F-15 Alpha.TC2 had a log message 'INFO Anaconda: Found disc at Fedora-15-Alpha-x86_64-DVD.iso'.

ifcfg.log : empty
program.log : only a few udevadm trigger/settle msgs and metacity start
X.log : should not be relevant

Comment 3 Michael Schwendt 2011-03-14 10:15:40 UTC
Created attachment 484133 [details]
/tmp/storage.log - likely not relevant

Comment 4 Chris Lumens 2011-03-14 15:49:48 UTC
It thinks you are doing a URL install:

10:01:50,185 DEBUG loader: in STEP_EXTRAS, method = METHOD_URL
10:01:50,185 DEBUG loader: looking for extras for HTTP/FTP install

Is this reproducible with anaconda-15.21 or 15.22?  Those are both post-alpha builds.  You can use the boot.iso from:  http://jlaska.fedorapeople.org/boot.iso

Comment 5 Michael Schwendt 2011-03-14 17:46:20 UTC
> http://jlaska.fedorapeople.org/boot.iso

The bug can be reproduced with that one.

Extracting the vmlinuz/initrd.img files and loading them with GRUB takes less time than downloading the boot.iso.

> It thinks you are doing a URL install:

Which explains what it's trying to download .img files from the net, but later on it installs from the specified ISO image nevertheless.

Comment 6 Chris Lumens 2011-03-14 18:37:35 UTC
Ah, I believe this is fixed by the following commit already on master:

commit be9ad01762ddb61d86d6ff3b98a2e98c7d392c12
Author: Radek Vykydal <rvykydal>
Date:   Wed Mar 2 13:50:13 2011 +0100

    Fix setting of loaderData->method from repo= cmdline option.
    
    There was double "repo=" if branch. The second one (few lines
    below the removed) is the right one.

The first branch did nothing more than set the repo, which means method was still METHOD_URL.  And since the first branch was already hit, the second never will be.  I've cherry-picked this commit over to f15-branch and it will be included in the next build.

Comment 7 Fedora Update System 2011-03-21 15:20:17 UTC
anaconda-15.24-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/anaconda-15.24-1.fc15

Comment 8 Fedora Update System 2011-03-23 05:04:18 UTC
anaconda-15.24-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.