Bug 684402 - repo=hd: install method logs "Couldn't resolve hostname"
Summary: repo=hd: install method logs "Couldn't resolve hostname"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: x86_64
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: 2011-03-12 10:28 UTC by Michael Schwendt
Modified: 2011-03-23 05:04 UTC (History)
3 users (show)

Fixed In Version: anaconda-15.24-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-23 05:04:28 UTC
Type: ---


Attachments (Terms of Use)
/tmp/anaconda.log up to graphical test release warning screen (3.85 KB, text/plain)
2011-03-14 10:15 UTC, Michael Schwendt
no flags Details
/tmp/storage.log - likely not relevant (2.48 KB, text/plain)
2011-03-14 10:15 UTC, Michael Schwendt
no flags Details

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.


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