Red Hat Bugzilla – Bug 519477
Unable to open input kickstart file in Fedora 12 Alpha
Last modified: 2009-09-02 11:42:34 EDT
I have been using PXE booting to install Fedora for several versions, and there appears to be a regression in Fedora 12 Alpha. Anaconda is giving the error: "Unable to open input kickstart file". Here is the "append" line from my pxelinux configuration:
append initrd=f12-x86_64/initrd.img ks=nfs:aml.cs.byu.edu:/admin/install/f12-x86_64.ks ksdevice=BOOTIF
My pxelinux configuration is identical to what worked for Fedora 11 except that I changed "11" to "12" everywhere. I have triple-checked that the kickstart file exists exactly where it should be (side-by-side with the working f11 kickstart file). Fedora 12 doesn't use NFSv4, does it? I ask because NFSv4 clients use different paths than NFSv3 clients. Other than that, I can't think of any other simple reason that this wouldn't work. The Fedora 12 configuration is basically identical to the working Fedora 11 configuration.
Can you attach screenshots from tty3 and tty4? Perhaps we're not mounting the NFS source in time or otherwise having errors reading it.
Created attachment 358754 [details]
screenshot of tty3
Created attachment 358755 [details]
screenshot of tty4
I have attached the requested screenshots. Unfortunately, I don't see anything particularly relevant on tty3 or tty4.
Created attachment 358756 [details]
I went to tty2 and noticed that the kickstart script has been successfully downloaded to /tmp/ks.cfg.
I'm attaching the anaconda.log. This log shows that Anaconda was able to read the url from the kickstart file.
Created attachment 358930 [details]
I tried to switch over to HTTP to see whether it's really a problem with NFS. It turns out that I get the same error with either HTTP or NFS.
I then trimmed out anything from the script that was at all unusual. We have a package list as a separate file, and I noticed that if I stop including the package file, the error seems to go away. I'm attaching the kickstart file. Here's the part that I removed to get rid of the error:
wget -O /tmp/packages http://aml.cs.byu.edu/install/packages
As I mentioned earlier, I have used the exact same lines (and the same packages file) with Fedora 11, so this seems to be a regression. I'll attach the packages file in case it is relevant.
Created attachment 358931 [details]
Testing this issue is being blocked by a pykickstart error. I'll do a rebuild of that package now and then I can test this out tomorrow. Thanks for the simple, straightforward reproducer. This should make things a lot easier.
Ah, this is caused by raising a different exception than is anticipated. This will be fixed in the next build of pykickstart (though I may need to make additional changes later in anaconda). Thanks for the bug report.