Bug 1212920

Summary: DeviceError: ('cannot replace active format', u'sda2')
Product: [Fedora] Fedora Reporter: Pierguido Lambri <plambri>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a1f48aa756a43818bf831f6ce69cd35c8a8ce5956437067b0be39cb5b4c0db37
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-21 07:01:09 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
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Pierguido Lambri 2015-04-17 16:32:30 UTC
Description of problem:
Trying to configure the storage layout

Version-Release number of selected component:
anaconda-22.20.8-1

The following was filed automatically by anaconda:
anaconda 22.20.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 632, in _setFormat
    raise errors.DeviceError("cannot replace active format", self.name)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 659, in <lambda>
    lambda d,f: d._setFormat(f),
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 654, in apply
    self.device.format = None
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 492, in registerAction
    action.apply()
  File "/usr/lib/python2.7/site-packages/blivet/blivet.py", line 1104, in destroyDevice
    self.devicetree.registerAction(ActionDestroyFormat(device))
  File "/usr/lib/python2.7/site-packages/blivet/blivet.py", line 624, in recursiveRemove
    self.destroyDevice(leaf)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 418, in _recursiveRemove
    self.storage.recursiveRemove(device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 443, in _scheduleActions
    self._recursiveRemove(device)
DeviceError: ('cannot replace active format', u'sda2')

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python2  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-22_B_T8-x86_64 quiet
dnf.rpm.log:    Apr 17 17:16:37 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.0-0.rc5.git4.1.fc22.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        22

Comment 1 Pierguido Lambri 2015-04-17 16:32:38 UTC
Created attachment 1015677 [details]
File: anaconda-tb

Comment 2 Pierguido Lambri 2015-04-17 16:32:40 UTC
Created attachment 1015678 [details]
File: anaconda.log

Comment 3 Pierguido Lambri 2015-04-17 16:32:42 UTC
Created attachment 1015679 [details]
File: dnf.log

Comment 4 Pierguido Lambri 2015-04-17 16:32:43 UTC
Created attachment 1015680 [details]
File: environ

Comment 5 Pierguido Lambri 2015-04-17 16:32:44 UTC
Created attachment 1015681 [details]
File: lsblk_output

Comment 6 Pierguido Lambri 2015-04-17 16:32:45 UTC
Created attachment 1015682 [details]
File: nmcli_dev_list

Comment 7 Pierguido Lambri 2015-04-17 16:32:46 UTC
Created attachment 1015683 [details]
File: os_info

Comment 8 Pierguido Lambri 2015-04-17 16:32:49 UTC
Created attachment 1015684 [details]
File: program.log

Comment 9 Pierguido Lambri 2015-04-17 16:32:54 UTC
Created attachment 1015685 [details]
File: storage.log

Comment 10 Pierguido Lambri 2015-04-17 16:32:56 UTC
Created attachment 1015686 [details]
File: syslog

Comment 11 Pierguido Lambri 2015-04-17 16:32:57 UTC
Created attachment 1015687 [details]
File: ifcfg.log

Comment 12 Pierguido Lambri 2015-04-17 16:32:59 UTC
Created attachment 1015688 [details]
File: packaging.log

Comment 13 Vratislav Podzimek 2015-08-21 07:01:09 UTC

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