Bug 465998

Summary: exception on dirCleanup and on doPostInstall
Product: [Fedora] Fedora Reporter: ericm24x7
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-07 17:39:26 UTC Type: ---
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
exception report log none

Description ericm24x7 2008-10-07 17:25:53 UTC
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 17:39:26 UTC
This is fixed in anaconda-11.4.1.44.