Bug 561074 - DeviceError: ('cannot replace active format', 'sda6')
Summary: DeviceError: ('cannot replace active format', 'sda6')
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:4324668b98fe6b3d2...
Depends On:
Blocks: 567312
TreeView+ depends on / blocked
 
Reported: 2010-02-02 16:12 UTC by James Laska
Modified: 2013-09-02 06:43 UTC (History)
4 users (show)

Fixed In Version: anaconda-13.29-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 567312 (view as bug list)
Environment:
Last Closed: 2010-03-02 00:50:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (273.98 KB, text/plain)
2010-02-02 16:12 UTC, James Laska
no flags Details

Description James Laska 2010-02-02 16:12:31 UTC
The following was filed automatically by anaconda:
anaconda 13.23 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 1170, 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 259, in __init__
    self.device.format = format
  File "/usr/lib/anaconda/iw/partition_dialog_gui.py", line 285, in run
    actions.append(ActionCreateFormat(usedev, format))
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1676, in editPartition
    actions = parteditor.run()
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1640, in editCB
    self.editPartition(device)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1141, in treeActivateCB
    self.editCB()
DeviceError: ('cannot replace active format', 'sda6')

Comment 1 James Laska 2010-02-02 16:12:35 UTC
Created attachment 388344 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2010-02-02 16:20:57 UTC
= Additional details =

I have a single drive I use to dual boot 2 different versions of Fedora and Windows.  The drive configuration is as follows:

sda1 - ntfs (Windows)
sda2 - Windows recovery partition (I think)
sda3 - /boot partition for F12
sda4 - extended
 sda5 - LVM
 sda6 - /boot partition for Rawhide
 sda7 - master grub partition to choose between F12, Rawhide and Windows

The LVM configuration is as follows
 * fc_root - F12 '/' partition
 * home - shared '/home'
 * rhel_root - Rawhide '/' partition
 * swap - well, swap partition

= Steps to reproduce =  

1) Boot the kernel+initrd from /boot partition on /dev/sda6.
2) Proceed through install, choosing a custom partition layout
3) Attempt to partition using the following scheme
 a. Repartition existing LVM LV rhel_root as '/'
 b. Setup '/home' as a mount (do not partition)
 c. Repartition existing LVM LV swap as 'swap'
 d. Repartition existing /dev/sda6 as /boot ... click OK

Traceback!

Comment 3 Chris Lumens 2010-02-04 14:31:23 UTC
dlehman - Is this handled by your action sorting fix (a54c02c0517fc912f86dfc2951707f2ebdef74ad) from yesterday?

Comment 4 David Lehman 2010-02-04 17:36:10 UTC
(In reply to comment #3)
> dlehman - Is this handled by your action sorting fix
> (a54c02c0517fc912f86dfc2951707f2ebdef74ad) from yesterday?    

No, they're unrelated.

Comment 5 David Lehman 2010-02-04 19:22:48 UTC
Somehow what happened here is parted told us that /dev/sda6 contained a valid disklabel. We evidently don't correctly handle replacingexisting disklabel formats. For now this is going to be a low priority given the circumstances required (disklabel on unpartitionable device).

Comment 8 Fedora Update System 2010-02-23 03:42:22 UTC
anaconda-13.29-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.29-1.fc13

Comment 9 Fedora Update System 2010-02-23 14:04:36 UTC
python-urlgrabber-3.9.1-5.fc13,anaconda-13.29-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-5.fc13,anaconda-13.29-1.fc13

Comment 10 Fedora Update System 2010-02-23 16:09:12 UTC
anaconda-13.29-1.fc13, python-urlgrabber-3.9.1-5.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update anaconda python-urlgrabber'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2688

Comment 11 Fedora Update System 2010-02-26 02:59:03 UTC
python-urlgrabber-3.9.1-5.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2688

Comment 12 Fedora Update System 2010-02-26 11:53:00 UTC
python-urlgrabber-3.9.1-5.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python-urlgrabber'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2688

Comment 13 James Laska 2010-03-02 00:50:22 UTC
No longer seeing this issue using the RC4 Live media


Note You need to log in before you can comment on or make changes to this bug.