Bug 609686

Summary: Anaconda debug fail (MSDOS partition -> Software Raid)
Product: Red Hat Enterprise Linux 6 Reporter: Mike McGrath <mmcgrath>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: hdegoede
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-30 21:58:40 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
The dump from this error
none
plaintext exception report none

Description Mike McGrath 2010-06-30 20:32:49 UTC
Description of problem:

I incorrectly filed #609651.  In telling anaconda to install the boot loader on /dev/md0, both of those partitions got converted to a partition table (MSDOS) type.  

When attempting to re-install, I now see sd[b-c]1 set as the MSDOS partition type.  When clicking edit, then changing format as to software raid, anaconda throws an error message.  Upon clicking debug it prints just:

Entering debugger...
> /usr/lib/anaconda/storage/devices.py(697)_setFormat()
-> raise DeviceError("cannot replace active format", self.name)


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

Whatever comes with RHEL6 beta 2 that shipped today

How reproducible:

Every time.

Comment 1 Chris Lumens 2010-06-30 20:48:43 UTC
Can you please attach the complete /tmp/anaconda-tb-* file to this bug report?  There are several bugs with this same message, and it'd be helpful seeing the exact circumstances leading to it before knowing which is the dupe.

Comment 3 RHEL Program Management 2010-06-30 21:03:19 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
inclusion.

Comment 4 Mike McGrath 2010-06-30 21:08:45 UTC
Created attachment 428100 [details]
The dump from this error

Comment 5 Mike McGrath 2010-06-30 21:09:20 UTC
FWIW, I've tried a few different options from the partition selection menu (clear all parts, manual, etc) all of them error out.

Comment 6 Mike McGrath 2010-06-30 21:50:29 UTC
More details on this.  The partition type being reported in anaconda does not match what fdisk reports:

Command (m for help): p

Disk /dev/sdb: 146.8 GB, 146814976000 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007d83f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          64      512000   fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.

Comment 7 David Lehman 2010-06-30 21:55:38 UTC
Created attachment 428123 [details]
plaintext exception report

Comment 8 David Lehman 2010-06-30 21:58:40 UTC
This was fixed in anaconda-13.21.24 (bug 570474) and then more completely/correctly in anaconda-13.21.50-1 (bug 593637).

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