Bug 1151763

Summary: DeviceError: ('cannot replace active format', 'sda4')
Product: [Fedora] Fedora Reporter: Johannes <theking2>
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: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:054b4a051230c88b8cc029f9ac26b71f16139029dd0a42d668a5b10ab1899a21
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-13 12:44:25 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: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Johannes 2014-10-11 16:15:48 UTC
Description of problem:
Select device for installing f21

Version-Release number of selected component:
anaconda-core-21.48.6-1.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.48.6-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1040, in _setFormat
    raise errors.DeviceError("cannot replace active format", self.name)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1600, in _setFormat
    StorageDevice._setFormat(self, fmt)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1049, in <lambda>
    lambda d,f: d._setFormat(f),
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 810, in _do_reformat
    device.format = old_format
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 122, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1150, in _save_right_side
    encrypted, selector, fs_type)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2074, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2085, in on_selector_clicked
    self._save_current_selector()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 223, in _onSelectorClicked
    cb(selector)
DeviceError: ('cannot replace active format', 'sda4')

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-Workstation-x86_64-2 ro rd.live.image quiet rhgb
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.16.1-301.fc21.x86_64
other involved packages: python-blivet-0.62-1.fc21.noarch, anaconda-gui-21.48.6-1.fc21.x86_64
product:        Fedora
release:        Fedora release 21 (Twenty One)
type:           anaconda
version:        21

Comment 1 Johannes 2014-10-11 16:16:02 UTC
Created attachment 945966 [details]
File: anaconda-tb

Comment 2 Johannes 2014-10-11 16:16:04 UTC
Created attachment 945967 [details]
File: anaconda.log

Comment 3 Johannes 2014-10-11 16:16:05 UTC
Created attachment 945968 [details]
File: environ

Comment 4 Johannes 2014-10-11 16:16:10 UTC
Created attachment 945969 [details]
File: journalctl

Comment 5 Johannes 2014-10-11 16:16:11 UTC
Created attachment 945970 [details]
File: lsblk_output

Comment 6 Johannes 2014-10-11 16:16:12 UTC
Created attachment 945971 [details]
File: nmcli_dev_list

Comment 7 Johannes 2014-10-11 16:16:13 UTC
Created attachment 945972 [details]
File: os_info

Comment 8 Johannes 2014-10-11 16:16:14 UTC
Created attachment 945973 [details]
File: program.log

Comment 9 Johannes 2014-10-11 16:16:20 UTC
Created attachment 945974 [details]
File: storage.log

Comment 10 Johannes 2014-10-11 16:16:21 UTC
Created attachment 945975 [details]
File: ifcfg.log

Comment 11 Johannes 2014-10-11 17:54:10 UTC
Another user experienced a similar problem:

Select the installation partitions

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-Workstation-x86_64-2 ro rd.live.image quiet rhgb
hashmarkername: anaconda
kernel:         3.16.1-301.fc21.x86_64
other involved packages: python-blivet-0.62-1.fc21.noarch, anaconda-gui-21.48.6-1.fc21.x86_64
package:        anaconda-core-21.48.6-1.fc21.x86_64
packaging.log:  
product:        Fedora
reason:         DeviceError: ('cannot replace active format', 'sda4')
release:        Fedora release 21 (Twenty One)
version:        21

Comment 12 David Shea 2014-10-13 12:44:25 UTC

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