Bug 465998 - exception on dirCleanup and on doPostInstall
exception on dirCleanup and on doPostInstall
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-07 13:25 EDT by eric magaoay
Modified: 2008-10-07 13:39 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-07 13:39:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
exception report log (146.50 KB, text/plain)
2008-10-07 13:25 EDT, eric magaoay
no flags Details

  None (edit)
Description eric magaoay 2008-10-07 13:25:53 EDT
Created attachment 319670 [details]
exception report log

Description of problem:
While running PXE install for the latest build dated 10/7/08, anaconda through exception at dirCleanup and doPostInstall. 

Traceback (most recent call first):
  File "/usr/lib/anaconda/yuminstall.py", line 255, in dirCleanup
    if not self.needsNetwork() or repo.name == "Installation Repo":
  File "/usr/lib/anaconda/yuminstall.py", line 1594, in doPostInstall
    repo.dirCleanup()
  File "/usr/lib/anaconda/backend.py", line 265, in doPostInstall
    anaconda.backend.doPostInstall(anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 204, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 127, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1352, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1373, in handleRenderCallback
    self.currentWindow.renderCallback()
NameError: global name 'repo' is not defined

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

How reproducible:
persistent

Steps to Reproduce:
1. Prepare PXE install viewed from VNC using kickstart file.
2. 
sample kickstart file:    
----------------------
# (fdb1)/a/ks/fdb1
install
url --url http://192.168.5.103/a/fed/dev/x86_64/os/
lang en_US.UTF-8
keyboard us
network --bootproto dhcp --hostname fdb1
#network --device eth1 --bootproto dhcp --hostname fdb1
rootpw install
timezone  America/New_York
vnc  --password install --host 192.168.5.103 --port 8888
#xconfig --resolution=1024x768
user --name=adm1 --uid=500 --password=install

sample kernel command-line:
--------------------------
# (fdb1)/a/pxelinux.cfg/01-00-1e-90-ff-a1-8e
default fdb1
label fdb1
kernel /fed/dev/x86_64/os/isolinux/vmlinuz
append initrd=/fed/dev/x86_64/os/isolinux/initrd.img ksdevice=00:1e:90:ff:a1:8e ks=http://192.168.5.103/a/ks/fdb1

3. use default package selection.
  
Actual results:
through execption at postinstall and cleanup

Additional info:
attached file is a copy of exception report log
Comment 1 Chris Lumens 2008-10-07 13:39:26 EDT
This is fixed in anaconda-11.4.1.44.

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