Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 923446

Summary: Anaconda fails to load KS file from Windows NFS
Product: Red Hat Enterprise Linux 6 Reporter: dejan1
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4CC: dejan1, sbueno
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-01 18:43:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fail1
none
fail2
none
fail3
none
anaconda.program.log
none
anaconda.log
none
anaconda.syslog
none
anaconda.ifcfg.log
none
messages
none
anaconda.log
none
anaconda.program.log none

Description dejan1 2013-03-19 20:50:56 UTC
Created attachment 712958 [details]
fail1

Description of problem: I want to make the kickstart file available on Windows NFS. I am using Windows 2008 Active Directory NTLM authentication. Our AD server is Domain functional level: "Windows Server 2008 R2" and Forest functional level: "Windows Server 2003"

I have tested the following scenarios to mount the share on a RHEL client successfully.
- Standard NTLM authentication "mount -o user=<user>,pass=<pass> //10.224.129.145/kickstart/ test"
- Anonymous access "mount.nfs 10.224.129.145:kickstart test -v"


Version-Release number of selected component (if applicable): RHEL 6.4 boot.iso


How reproducible: I have included all networking information to anaconda to configure an interface and point to KS file from NFS source but it fails to mount NFS source.


Steps to Reproduce:
1. Edit boot stanza. Two options (Authentication and Anonymous)
append initrd=initrd.img dns=10.224.129.101,10.224.129.102 gateway=10.224.129.1 ip=10.224.129.121 noipv6 netmask=255.255.255.0 ksdevice=link  ks=nfs:user=<username>,pass=<psw>,dom=<Domain-name>:10.224.129.145:/kickstart/test.ks  loglevel=debug  
 
2. append initrd=initrd.img dns=10.224.129.101,10.224.129.102 gateway=10.224.129.1 ip=10.224.129.121 noipv6 netmask=255.255.255.0 ksdevice=link  ks=nfs:10.224.129.145:/kickstart/test.ks  loglevel=debug   

3. Boot  

Actual results:
"Error downloading kickstart file"
Debug:
ERROR: failed to mount nfs source

Expected results:
Mount KS file from NFS source and proceed with automatic installation.

Additional info: Connection probably times out, Firewall logs don't report any blocks.

Comment 1 dejan1 2013-03-19 20:54:02 UTC
Created attachment 712959 [details]
fail2

Comment 2 Brian Lane 2013-03-20 00:25:08 UTC
Please switch to tty2 (ctrl-alt-f2) and attach the logs from /tmp/*log to this bug as individual text/plain files.

Comment 3 dejan1 2013-03-22 13:29:06 UTC
Created attachment 714545 [details]
fail3

Comment 4 Chris Lumens 2013-03-22 19:14:23 UTC
Specifically, we need /tmp/program.log.

Comment 5 dejan1 2013-03-25 14:17:46 UTC
Created attachment 716038 [details]
anaconda.program.log

Comment 6 dejan1 2013-03-25 14:21:56 UTC
Created attachment 716039 [details]
anaconda.log

Comment 7 dejan1 2013-03-25 14:22:29 UTC
Created attachment 716040 [details]
anaconda.syslog

Comment 8 dejan1 2013-03-25 14:23:31 UTC
Created attachment 716041 [details]
anaconda.ifcfg.log

Comment 9 dejan1 2013-03-25 14:24:16 UTC
Created attachment 716042 [details]
messages

Comment 10 dejan1 2013-03-25 14:27:42 UTC
I have included all necessary logs, please note that I managed to kickstart the system successfully after 9:30 using http:// protocol but NFS still doesn't work.

Comment 11 Chris Lumens 2013-03-26 14:51:44 UTC
Looks like the mount command is getting constructed wrong:

Running... /bin/mount -n -t nfs -o nolock user=kickstart,pass=letmein:/10.224.129.145/kickstart /tmp/mnt

Comment 12 dejan1 2013-03-26 18:25:45 UTC
Yes, definitely wrong syntax and user parameter is not a setter.

Comment 13 Brian Lane 2013-03-27 00:14:46 UTC
You are missing a colon. Try this:

ks=nfs:user=kickstart,pass=letmein:10.224.129.145:/kickstart/ks.cfg

Comment 14 dejan1 2013-03-27 20:25:15 UTC
I have tried that but its still failing.

From anaconda.program.log:
/bin/mount -n -t nfs -o user=kickstart,pass=letmein,nolock 10.224.129.145:/kickstart /tmp/mnt

Comment 15 dejan1 2013-03-27 20:32:55 UTC
After running the previous command on a test server I get an error:
"Bad nfs mount parameter: user"

Comment 16 dejan1 2013-03-27 20:40:16 UTC
I have enabled unmapped user access. "Allow unmapped user Unix access (by UID/GID)" and I am able to mount it on a test server using: /bin/mount -n -t nfs 10.224.129.145:/kickstart /tmp/mnt

I modified my KS file by removing options:
ks=nfs:10.224.129.145:/kickstart/ks.cfg

However that too fails in Anaconda.

Comment 17 Brian Lane 2013-03-28 23:14:47 UTC
anaconda.log and program.log please. Sounds like the user problem may be server side though.

Comment 18 dejan1 2013-04-11 18:32:34 UTC
Created attachment 734373 [details]
anaconda.log

Comment 19 dejan1 2013-04-11 18:34:00 UTC
Created attachment 734375 [details]
anaconda.program.log

Comment 21 Samantha N. Bueno 2013-07-01 18:43:31 UTC
I'm closing this based on the fact that I'm not seeing enough information in the provided log files to determine where the error might lay within the installer--or even that the problem does lie on our end. Please check the logs for your NFS server, which may hold more/useful information.