Bug 452140 - anaconda does not use kickstart file
anaconda does not use kickstart file
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2008-06-19 12:01 EDT by Orion Poplawski
Modified: 2008-07-11 15:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-11 15:34:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Anaconda dump (280.07 KB, text/plain)
2008-06-20 15:37 EDT, Orion Poplawski
no flags Details

  None (edit)
Description Orion Poplawski 2008-06-19 12:01:59 EDT
Description of problem:

Doing pxe/kickstart install with ks file coming from nfs or http:

Kernel command line: ks=nfs:saga:/export/data1/ks/rawhide-nox64.cfg nokill

Kernel command line: ks=http://sw.cora.nwra.com/ks/rawhide-nox64.cfg nokill

But it does work and is asking for install source location.  It does send a
mount request:

Jun 19 09:48:47 saga mountd[3142]: authenticated mount request from
xenfdev64.cora.nwra.com:799 for /export/data1/ks (/export/data1)

or a http request: - - [19/Jun/2008:10:00:32 -0600] "GET /ks/rawhide-nox64.cfg
HTTP/1.0" 200 7471 "-" "anaconda/"

Version-Release number of selected component (if applicable):
Comment 1 Chris Lumens 2008-06-19 14:29:04 EDT
Is it just stopping on the method selection screen, or is it completely ignoring
your method= ?  I think there's still a bug where it stops on the method
selection screen, but it has your method= supplied value highlighted by default
and will still use what you provided on the command line.  I'm just missing some
flag indicating you've already selected a method.
Comment 2 Orion Poplawski 2008-06-20 11:53:20 EDT
Screen comes up, URL is selected (which is what is in the ks file).  Hit return
and now it seems to just hang with nothing displayed (text mode btw).
Comment 3 Orion Poplawski 2008-06-20 13:14:07 EDT
Eventually got:

Unable to retrieve the install image
Comment 4 Orion Poplawski 2008-06-20 13:21:00 EDT
Next screen then listed the correct install source and hitting ok got it on to
the next step.
Comment 5 Orion Poplawski 2008-06-20 15:37:45 EDT
Created attachment 309942 [details]
Anaconda dump

Finally crashes with:

anaconda exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/yuminstall.py", line 722, in doConfigSetup
    log.warning("ignoring duplicate repository %s with URL %s" (repo.name,
repo.mirrorlist or repo.baseurl))
  File "/usr/lib/anaconda/yuminstall.py", line 433, in __init__
  File "/usr/lib/anaconda/yuminstall.py", line 1057, in doInitialSetup
    self.ayum = AnacondaYum(anaconda)
  File "/usr/lib/anaconda/backend.py", line 193, in doRepoSetup
    if anaconda.backend.doInitialSetup(anaconda) == DISPATCH_BACK:
  File "/usr/lib/anaconda/dispatch.py", line 206, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 129, in gotoNext
  File "/usr/lib/anaconda/dispatch.py", line 228, in currentStep
  File "/usr/lib/anaconda/text.py", line 540, in run
    (step, instance) = anaconda.dispatch.currentStep()
  File "/usr/bin/anaconda", line 934, in <module>
TypeError: 'str' object is not callable

full dump attached.
Comment 6 Chris Lumens 2008-06-21 11:07:01 EDT
This will be fixed in the next build of anaconda.
Comment 7 Orion Poplawski 2008-06-26 19:06:52 EDT
I'm still seeing problems like this.  I think the real culprit may be the
network interface going up and down and possibly dhcp taking a long time.

This is a xen guest install.  Not sure how to get to other VTs in the virsh
console to see what's going on.

I'm also seeing some odd http requests: - - [26/Jun/2008:17:00:28 -0600] "GET
/fedora/linux/development/x86_64/product.img HTTP/1.0" 200 246 "-"
"anaconda/" - - [26/Jun/2008:17:00:28 -0600] "GET
/fedora/linux/development/x86_64/os HTTP/1.0" 301 356 "-" "anaconda/" - - [26/Jun/2008:17:00:28 -0600] "GET
/fedora/linux/development/x86_64/os/ HTTP/1.0" 200 8895 "-" "anaconda/"

What is product.img?

Why is it trying to access the /fedora/linux/development/x86_64/os directory

After reprompting for the install location (I accept the default given by ks
file), I then get: - - [26/Jun/2008:17:04:38 -0600] "GET
/fedora/linux/development/x86_64/os/images/updates.img HTTP/1.0" 200 256 "-"
"anaconda/" - - [26/Jun/2008:17:04:39 -0600] "GET
/fedora/linux/development/x86_64/os/images/product.img HTTP/1.0" 200 256 "-"

which I presume would be the proper locations, and the install continues.
Comment 8 Chris Lumens 2008-07-11 15:34:33 EDT
Ah, I see what's going on here.  This will be fixed for URL installs in the next
build of anaconda, though I'll still need to look at NFS and HD.  Of course,
those need to be worked on anyway given all the stage2 stuff I've done lately.

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