Bug 1397512

Summary: _ped.IOException: Partition(s) 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before ...
Product: [Fedora] Fedora Reporter: Nelson Gomez <ng2573>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: anaconda-maint-list, danielemi, g.kaviyarasu, jonathan, kapabarrow05, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f84c77cedb38fc146952684bbfed7a013b4c9b49a884ee3400a8585a576037f5;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:26: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:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Nelson Gomez 2016-11-22 16:55:35 UTC
Description of problem:
1. Populate disk with partitions before proceeding with installation.
2. In installer, delete partitions and create a new partition scheme.
3. Start installation.

Anaconda then throws an exception because it doesn't seem to gracefully handle changes in the partition table. This might be an issue with swap partitions being enabled, causing them to be busy.

Version-Release number of selected component:
anaconda-core-25.20.8-1.fc25.x86_64

The following was filed automatically by anaconda:
anaconda 25.20.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/parted/disk.py", line 212, in commit
    return self.__disk.commit()
  File "/usr/lib64/python3.5/site-packages/parted/decorators.py", line 42, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python3.5/site-packages/blivet/formats/disklabel.py", line 283, in commit
    self.parted_disk.commit()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devices/partition.py", line 739, in _destroy
    self.disk.original_format.commit()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 479, in destroy
    self._destroy()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/deviceaction.py", line 374, in execute
    self.device.destroy()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 325, in process
    action.execute(callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 48, in wrapped_func
    return func(obj, *args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 163, in do_it
    self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1112, in turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 204, in doInstall
    turn_on_filesystems(storage, mount_only=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 251, in run
    threading.Thread.run(self, *args, **kwargs)
_ped.IOException: Partition(s) 3 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=FEDORA-WS-L rd.live.image quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
other involved packages: python3-pyparted-3.10.7-4.fc25.x86_64, python3-blivet-2.1.6-4.fc25.noarch, system-python-libs-3.5.2-4.fc25.x86_64
product:        Fedora
release:        Fedora release 25 (Twenty Five)
type:           anaconda
version:        25

Potential duplicate: bug 1376188

Comment 1 Nelson Gomez 2016-11-22 16:55:46 UTC
Created attachment 1222785 [details]
File: anaconda-tb

Comment 2 Nelson Gomez 2016-11-22 16:55:48 UTC
Created attachment 1222786 [details]
File: anaconda.log

Comment 3 Nelson Gomez 2016-11-22 16:55:49 UTC
Created attachment 1222787 [details]
File: environ

Comment 4 Nelson Gomez 2016-11-22 16:55:52 UTC
Created attachment 1222788 [details]
File: journalctl

Comment 5 Nelson Gomez 2016-11-22 16:55:53 UTC
Created attachment 1222789 [details]
File: lsblk_output

Comment 6 Nelson Gomez 2016-11-22 16:55:56 UTC
Created attachment 1222790 [details]
File: lvm.log

Comment 7 Nelson Gomez 2016-11-22 16:55:57 UTC
Created attachment 1222791 [details]
File: nmcli_dev_list

Comment 8 Nelson Gomez 2016-11-22 16:55:58 UTC
Created attachment 1222792 [details]
File: os_info

Comment 9 Nelson Gomez 2016-11-22 16:56:00 UTC
Created attachment 1222793 [details]
File: program.log

Comment 10 Nelson Gomez 2016-11-22 16:56:04 UTC
Created attachment 1222794 [details]
File: storage.log

Comment 11 Nelson Gomez 2016-11-22 16:56:05 UTC
Created attachment 1222795 [details]
File: ifcfg.log

Comment 12 danielemi 2016-11-27 22:15:25 UTC
*** Bug 1398983 has been marked as a duplicate of this bug. ***

Comment 13 Fedora End Of Life 2017-11-16 18:54:20 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 14 Fedora End Of Life 2017-12-12 10:26:40 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.