Bug 804515 - inst.repo=nfs:...:/path/to/filename.iso fails
Summary: inst.repo=nfs:...:/path/to/filename.iso fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-19 06:54 UTC by Tao Wu
Modified: 2014-10-28 23:45 UTC (History)
10 users (show)

Fixed In Version: anaconda-17.14-1.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-10 15:14:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tao Wu 2012-03-19 06:54:37 UTC
Description of problem:
anaconda drop into debug shell when install repository NFSISO variation.

Version-Release number of selected component (if applicable):
17.13

How reproducible:
always

Steps to Reproduce:
1.Boot the installer using any available means (netinst.iso, pxeboot images or DVD.iso) 
2.Direct anaconda to use the package repo from a NFS server where your DVD iso images are stored by repo= boot command. 
   like repo=nfsiso[:options]:<server>:/<path>
3.Proceed with installation 
  
Actual results:
anaconda drop into debug shell

Expected results:
Anaconda uses the package repository from the NFS server provided. 

Additional info:

Comment 1 Chris Lumens 2012-03-19 14:21:20 UTC
Please attach the complete traceback or log files you're getting to this bug report.

Comment 2 Will Woods 2012-03-20 01:36:34 UTC
I think I reproduced this bug locally.

Try "repo=nfs[:options]:<server>:/<path>" instead. (it'll do the same thing as nfsiso anyway.)

Should be fixed in anaconda git, f17-branch:
  8d5d4b9 dracut: fix anaconda-netroot for inst.repo=nfsiso:..

Comment 3 Kamil Páral 2012-03-20 09:29:52 UTC
This should be proposed as a blocker. Proposing. Fails criteria:
"The installer must be able to use the HTTP, FTP and NFS remote package source options"
https://fedoraproject.org/wiki/Fedora_17_Beta_Release_Criteria

Comment 4 Kamil Páral 2012-03-20 09:38:38 UTC
(In reply to comment #2)
> Try "repo=nfs[:options]:<server>:/<path>" instead. (it'll do the same thing as
> nfsiso anyway.)

That doesn't work for me, it prints "mount.nfs: mount point /run/install/repo is not a directory". I placed the DVD.iso in the <path>.

Comment 5 Will Woods 2012-03-20 12:58:22 UTC
Looking into it. In the meantime, if there's only one .iso in the directory, you should be able to just leave the .iso name out of the path.

If there are multiple isos, you could temporarily work around the problem by making a new directory and symlinking the desired iso into that new dir.

Comment 6 Will Woods 2012-03-20 13:13:15 UTC
There's two bugs here, so I'm splitting it up:

This bug is about "inst.repo=nfs:...:/path/to/filename.iso" failing.

The "nfsiso" error message is now tracked in bug 804813.

Comment 7 Kamil Páral 2012-03-20 13:26:42 UTC
(In reply to comment #6)
> This bug is about "inst.repo=nfs:...:/path/to/filename.iso" failing.

In that case we might remove the blocker bug here, because this functionality is not explicitly stated to work in http://fedoraproject.org/wiki/Anaconda/Options (at least by my understanding, it's not clarified much).

Comment 8 Adam Williamson 2012-03-21 22:23:55 UTC
Agreed -1 blocker, we don't require in the criteria or document an expectation that nfs=path/to/filename.iso will work. As Kamil suggested un-proposing it, I'll just go ahead and do that.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 9 Fedora Update System 2012-03-23 05:17:44 UTC
anaconda-17.14-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/anaconda-17.14-1.fc17

Comment 10 Fedora Update System 2012-03-23 17:09:59 UTC
Package anaconda-17.14-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-17.14-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-4546/anaconda-17.14-1.fc17
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2012-03-23 17:45:11 UTC
anaconda-17.14-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Kamil Páral 2012-03-26 13:14:32 UTC
This bug was closed automatically by Bodhi, but we still need to verify it. Changing status to ON_QA.

Comment 13 Kamil Páral 2012-03-26 15:27:17 UTC
This doesn't work. I booted with

repo=nfs:192.168.1.1:/mnt/data/iso/Fedora-17-Beta-i386-DVD.iso

I received an error "(32, 'mount.nfs: mount point /run/install/source is not a directory')".

I found that 192.168.1.1:/mnt/data/iso/ is mounted at /run/install/source. It contains multiple ISO images, also the one I supplied in the repo= command.

Please note that anaconda documentation doesn't claim that this should work! But comment #2 does. I'm fine with closing this as a notabug.

Comment 14 Brian Lane 2012-12-21 18:10:05 UTC
Still a problem with F18, it doesn't crash though. It just won't use the file.iso as the source for stage2. It will use it as the package source though, so not a huge problem.

Comment 15 Kamil Páral 2013-01-07 10:31:38 UTC
With anaconda 18.37.10 I used inst.repo=nfs:server:/path/dvd.iso and it worked fine.

Comment 16 Kamil Páral 2013-01-10 15:14:39 UTC
anaconda 18.37.10 is stable, closing.


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