Bug 496930

Summary: Anaconda crashes while partitioning (manual layout)
Product: [Fedora] Fedora Reporter: Andrew McNabb <amcnabb>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: amcnabb, anaconda-maint-list, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:4f085a45c7475fe5126d37059f908840e974a8b0e862642607624e67a4956e47
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-21 17:51:25 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
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description Andrew McNabb 2009-04-21 17:01:04 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.46 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/formats/__init__.py", line 261, in destroy
    os.close(fd)
  File "/usr/lib/anaconda/storage/devices.py", line 1162, in create
    DeviceFormat(device=self.path, exists=True).destroy()
  File "/usr/lib/anaconda/storage/deviceaction.py", line 203, in execute
    self.device.create(intf=intf)
  File "/usr/lib/anaconda/storage/devicetree.py", line 658, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib/anaconda/storage/__init__.py", line 234, in doIt
    self.devicetree.processActions()
  File "/usr/lib/anaconda/packages.py", line 117, in turnOnFilesystems
    anaconda.id.storage.doIt()
UnboundLocalError: local variable 'fd' referenced before assignment

Comment 1 Andrew McNabb 2009-04-21 17:01:09 UTC
Created attachment 340583 [details]
Attached traceback automatically from anaconda.

Comment 2 Andrew McNabb 2009-04-21 17:10:46 UTC
Created attachment 340585 [details]
Attached traceback automatically from anaconda.

Comment 3 Chris Lumens 2009-04-21 17:51:25 UTC
I've committed a patch for the immediate problem, and we have another
outstanding patch to fix the real problem here too.  This should be all fixed
up in the next build of anaconda.