Bug 585103

Summary: DeviceError: ('cannot replace active format', 'sda1')
Product: Red Hat Enterprise Linux 6 Reporter: william.hoffmann <hoffmann>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:8daf23e4418e9ca2af5bc95ead4ae67498fc55cca299a628c1cb86e4c36034d8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-23 13:33:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Attached traceback automatically from anaconda. none

Description william.hoffmann 2010-04-23 06:44:39 UTC
The following was filed automatically by anaconda:
anaconda exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devices.py", line 697, in _setFormat
    raise DeviceError("cannot replace active format", self.name)
  File "/usr/lib/anaconda/storage/devices.py", line 1171, in _setFormat
    StorageDevice._setFormat(self, format)
  File "/usr/lib/anaconda/storage/devices.py", line 705, in <lambda>
    lambda d,f: d._setFormat(f),
  File "/usr/lib/anaconda/storage/deviceaction.py", line 307, in __init__
    self.device.format = None
  File "/usr/lib/anaconda/storage/__init__.py", line 782, in destroyDevice
  File "/usr/lib/anaconda/storage/partitioning.py", line 370, in clearPartitions
  File "/usr/lib/anaconda/storage/partitioning.py", line 184, in doAutoPartition
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1396, in setScreen
  File "/usr/lib/anaconda/gui.py", line 1309, in nextClicked
    self.setScreen ()
DeviceError: ('cannot replace active format', 'sda1')

Comment 1 william.hoffmann 2010-04-23 06:44:43 UTC
Created attachment 408509 [details]
Attached traceback automatically from anaconda.

Comment 3 william.hoffmann 2010-04-23 08:02:17 UTC
I wanted to install RHEL6 beta, on a machine with an already partitioned hardrive. I've choosen to create a new partitioning layout, with encrypted vg then I got the anaconda message. After deletion of the partition table (dd if=/dev/zero of=/dev/sda bs=512 count=2) the installation went well.

Comment 4 RHEL Product and Program Management 2010-04-23 08:03:21 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 5 Chris Lumens 2010-04-23 13:33:35 UTC

*** This bug has been marked as a duplicate of bug 563526 ***