Bug 676821

Summary: Couldn't resolve host name when installing packages over NFS
Product: [Fedora] Fedora Reporter: He Rui <rhe>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, borgan, hoyang, jlaska, jonathan, m.a.young, tflink, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: anaconda-15.26-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-05 21:39:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 657618    
Attachments:
Description Flags
anaconda.log
none
error window
none
program.log none

Description He Rui 2011-02-11 12:08:18 UTC
Created attachment 478228 [details]
anaconda.log

Description of problem:
Install F15-alpha-tc1 by mounting the DVD to a NFS server. It failed when setting up repository(pic attached). Error in Anaconda.log showed 'couldn't resolve host name'(attached) 

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

How reproducible:


Steps to Reproduce:
1. Boot F15-alpha-tc1.i386.DVD
2. Test: https://fedoraproject.org/wiki/QA:Testcase_Nfs_Repository

Comment 1 He Rui 2011-02-11 12:09:50 UTC
Created attachment 478230 [details]
error window

Comment 2 Chris Lumens 2011-02-11 14:56:27 UTC
Can you also attach /tmp/program.log?  That should have the output of all the mount commands.

Comment 3 James Laska 2011-02-11 16:27:35 UTC
Adding to F15Beta per the beta release criteria [1]:

    "The installer must be able to use the HTTP, FTP and NFS 
     remote package source options"

[1] https://fedoraproject.org/wiki/Fedora_15_Beta_Release_Criteria

Comment 4 He Rui 2011-02-12 03:29:31 UTC
Created attachment 478344 [details]
program.log

Comment 5 Chris Lumens 2011-02-15 16:40:29 UTC
Does updates=http://clumens.fedorapeople.org/676821.img fix this problem?  For my future reference, the patch is:

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 6621b70..d15c6d5 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -479,7 +479,7 @@ class AnacondaYum(yum.YumBase):
                 # if there's images and if so go with this being an NFSISO
                 # install instead.
                 image = findFirstIsoImage(self.tree, self.anaconda.intf.messageWindow)
-                if not image:
+                if image:
                     isys.umount(self.tree, removeDir=False)
                     self.anaconda.methodstr = "nfsiso:%s" % m[4:]
                     self.configBaseURL()

Comment 6 James Laska 2011-02-15 19:36:39 UTC
(In reply to comment #5)
> Does updates=http://clumens.fedorapeople.org/676821.img fix this problem?  For
> my future reference, the patch is:

This seems to resolve the issue for me

Comment 7 Chris Lumens 2011-02-15 20:03:29 UTC
This will be fixed in the next build of anaconda post-F15 alpha.

Comment 8 Hongqing Yang 2011-02-16 08:37:48 UTC
*** Bug 677218 has been marked as a duplicate of this bug. ***

Comment 9 Hongqing Yang 2011-02-16 08:41:13 UTC
reproduced in f15 alpha tc2

Comment 10 He Rui 2011-02-22 06:37:35 UTC
*** Bug 677218 has been marked as a duplicate of this bug. ***

Comment 11 James Laska 2011-03-11 19:41:44 UTC
Discussed at 2011-03-11 blocker review meeting.  This issue is fixed and available for testing in anaconda-15.21-1.  The issue has been accepted as a beta blocker.

Comment 12 Chris Lumens 2011-03-16 18:31:57 UTC
*** Bug 680490 has been marked as a duplicate of this bug. ***

Comment 13 Michael Young 2011-03-18 15:02:36 UTC
Adding the contents of the .img file in comment #5 to my updates.img file fixes the problem I was seeing in Bug 680490 .

Comment 14 Tim Flink 2011-03-25 17:13:27 UTC
Discussed in 2011-03-25 blocker review meeting. Still waiting for more testing before marking it as resolved.

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

Comment 17 Fedora Update System 2011-03-30 02:26:14 UTC
Package anaconda-15.26-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-15.26-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/anaconda-15.26-1.fc15
then log in and leave karma (feedback).

Comment 18 He Rui 2011-03-30 05:40:00 UTC
Verified anaconda-15.25 of beta-tc1 fixes the problem

Comment 19 James Laska 2011-03-30 15:05:17 UTC
(In reply to comment #18)
> Verified anaconda-15.25 of beta-tc1 fixes the problem

Thanks for the feedback Hurry ... I'm moving this to VERIFIED.

Comment 20 Fedora Update System 2011-04-05 21:38:09 UTC
anaconda-15.26-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.