Description of problem: Was on the partitioning stage. It crashed when I clicked on "reformat" for my already existing swap partition. Version-Release number of selected component: anaconda-core-21.48.2-1.fc21.x86_64 The following was filed automatically by anaconda: anaconda 21.48.2-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 1601, 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 809, in _do_reformat device.format = old_format File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 121, in decorated return func(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1149, in _save_right_side encrypted, selector, fs_type) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2492, in on_update_settings_clicked self._save_right_side(self._current_selector) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/utils.py", line 240, in _run_once_one_arg self._func(*args, **kwargs) DeviceError: ('cannot replace active format', 'sda5') Additional info: cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-2 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 rd.live.check executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.16.1-300.fc21.x86_64 other involved packages: anaconda-gui-21.48.2-1.fc21.x86_64, python-blivet-0.61-1.fc21.noarch product: Fedora release: Fedora release 21 (Twenty One) type: anaconda version: 21
Created attachment 930268 [details] File: anaconda-tb
Created attachment 930269 [details] File: anaconda.log
Created attachment 930270 [details] File: environ
Created attachment 930271 [details] File: journalctl
Created attachment 930272 [details] File: lsblk_output
Created attachment 930273 [details] File: nmcli_dev_list
Created attachment 930274 [details] File: os_info
Created attachment 930275 [details] File: program.log
Created attachment 930276 [details] File: storage.log
Created attachment 930277 [details] File: ifcfg.log
Another user experienced a similar problem: Clicked "reformat" to reformat an already existing swap partition that I intend to use. cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-2 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 rd.live.check hashmarkername: anaconda kernel: 3.16.1-300.fc21.x86_64 other involved packages: anaconda-gui-21.48.2-1.fc21.x86_64, python-blivet-0.61-1.fc21.noarch package: anaconda-core-21.48.2-1.fc21.x86_64 packaging.log: product: Fedora reason: DeviceError: ('cannot replace active format', 'sda5') release: Fedora release 21 (Twenty One) version: 21
Another user experienced a similar problem: 1. Start the installed from the F21 Alpha Workstation Live media 2. Select the disks - there's an existing F21 on the system I want to over-write. 3. Partition manually. Try to reformat the swap partition. That forces an error. cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: initrd=initrd0.img root=live:CDLABEL=LIVE rootfstype=ext4 rw rd.live.image rd.live.overlay=LABEL=LIVE quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 BOOT_IMAGE=vmlinuz0 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', 'mpathb2') release: Fedora release 21 (Twenty One) version: 21
Another user experienced a similar problem: At partitioning stage... installer crashed if you check reformat for existing partitions ...maybe that's for the swap partition only. cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-2 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 nouveau.noaccel=1 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', 'sdb2') release: Fedora release 21 (Twenty One) version: 21
(In reply to M. Edward (Ed) Borasky from comment #12) > Another user experienced a similar problem: > > 1. Start the installed from the F21 Alpha Workstation Live media > 2. Select the disks - there's an existing F21 on the system I want to > over-write. > 3. Partition manually. Try to reformat the swap partition. That forces an > error. > > cmdline: /usr/bin/python /sbin/anaconda --liveinst > --method=livecd:///dev/mapper/live-base > cmdline_file: initrd=initrd0.img root=live:CDLABEL=LIVE rootfstype=ext4 rw > rd.live.image rd.live.overlay=LABEL=LIVE quiet rhgb rd.luks=0 rd.md=0 > rd.dm=0 BOOT_IMAGE=vmlinuz0 > 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', 'mpathb2') > release: Fedora release 21 (Twenty One) > version: 21 One thing I did check is whether the swap partition was in use. 'swapon -s' said it *was* in use. So I did a 'swapoff -a' and restarted the installer. It crashed again, and it turned out that for some reason the swap partition got remounted. Also, if I *don't* define a swap partition during the install, there's no swap partition in /etc/fstab after the install! And 'swapon -s' shows no swap partition. I have to add it manually!
Another user experienced a similar problem: I am installing FC 21 fresh. I have partitions divided as: /, /boot, swap, /home I was setting mount points nad hitting reformat for each. All were done except for swap. When I hit apply settings to reformat swap, the bug occured. This is my first time installing FC 21 and first time seeing the crash. cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: initrd=initrd0.img root=live:CDLABEL=LIVE rootfstype=vfat rw rd.live.image rd.live.overlay=LABEL=LIVE quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 BOOT_IMAGE=vmlinuz0 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', 'sda2') release: Fedora release 21 (Twenty One) version: 21
This doesn't appear to be an issue on the Net Install CD - I can reformat swap and get it into the installed system's /etc/fstab if I install that way. So something on the Live Workstation seems to be continuously checking for a swap partition and mounting it.
*** This bug has been marked as a duplicate of bug 1114786 ***