Bug 491865

Summary: DeviceError: cannot replace active format
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
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, awilliam, dlehman, jturner, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Linux   
Whiteboard: anaconda_trace_hash:5ae839cfa9f899dbac6dd9326d9c269622671a99dd2c043224d766e765f23669
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-22 16:57:57 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:
Bug Depends On:    
Bug Blocks: 476774    
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description James Laska 2009-03-24 13:41:02 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.36 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devices.py", line 581, in _setFormat
    raise DeviceError("cannot replace active format")
  File "/usr/lib/anaconda/storage/devices.py", line 1045, in _setFormat
    StorageDevice._setFormat(self, format)
  File "/usr/lib/anaconda/storage/devices.py", line 589, in <lambda>
    lambda d,f: d._setFormat(f),
  File "/usr/lib/anaconda/storage/deviceaction.py", line 309, in __init__
    self.device.format = None
  File "/usr/lib/anaconda/storage/__init__.py", line 597, in destroyDevice
    self.devicetree.registerAction(ActionDestroyFormat(device))
  File "/usr/lib/anaconda/storage/partitioning.py", line 332, in clearPartitions
    storage.destroyDevice(part)
  File "/usr/lib/anaconda/storage/partitioning.py", line 170, in doAutoPartition
    clearPartitions(anaconda.id.storage)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
DeviceError: cannot replace active format

Comment 1 James Laska 2009-03-24 13:41:07 UTC
Created attachment 336466 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-03-24 13:45:59 UTC
autopart install with "Reuse existing linux partitions" on ppc64

Comment 3 James Laska 2009-03-24 17:11:07 UTC
While testing the latest http://jgranado.fedorapeople.org/storage/testing/updates-i586.img with rawhide, I can confirm this issue is no longer present.

This bug is safe to close once the patch is added to an anaconda build.

I am now seeing bug#491746

Comment 4 David Lehman 2009-03-24 22:18:54 UTC
Should be fixed in the next anaconda build (anaconda-11.5.0.37-1).

Comment 5 Adam Williamson 2009-04-22 16:57:57 UTC
closing as the fix has been tested, per comment #3 - it was just added after the test.

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers