Bug 1295027

Summary: _ped.PartitionException: Partition does not exist
Product: [Fedora] Fedora Reporter: Frantisek Hanzlik <franta>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, blivet-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:a0bca1785a0b29ca67465f7451979824b7604dc475de1cd6b7b87c834d33a2e2;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 17:31:43 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: ks.cfg
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description Frantisek Hanzlik 2016-01-01 03:31:48 UTC
Description of problem:
installing from kickstart, '%include' statements commented out (because with them anaconda crashes with "kickstart file /run/install/ks.cfg is missing" in early stage). Without '%include' statements I can select partitions for installation and start installation. But anaconda crashes, somewhere in "installation settings" phase.

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

The following was filed automatically by anaconda:
anaconda 23.19.10-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.4/site-packages/parted/disk.py", line 352, in getPartitionBySector
    return parted.Partition(disk=self, PedPartition=self.__disk.get_partition_by_sector(sector))
  File "/usr/lib/python3.4/site-packages/parted/decorators.py", line 42, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python3.4/site-packages/blivet/devices/partition.py", line 367, in preCommitFixup
    _partition = _disklabel.partedDisk.getPartitionBySector(_sector)
  File "/usr/lib/python3.4/site-packages/blivet/actionlist.py", line 192, in _preProcess
    device.preCommitFixup()
  File "/usr/lib/python3.4/site-packages/blivet/actionlist.py", line 274, in process
    self._preProcess(devices=devices)
  File "/usr/lib/python3.4/site-packages/blivet/devicetree.py", line 380, in processActions
    callbacks=callbacks)
  File "/usr/lib/python3.4/site-packages/blivet/blivet.py", line 164, in doIt
    self.devicetree.processActions(callbacks=callbacks)
  File "/usr/lib/python3.4/site-packages/blivet/osinstall.py", line 1096, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib/python3.4/site-packages/pyanaconda/install.py", line 195, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.4/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
_ped.PartitionException: Partition does not exist

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-WS-23-i386 inst.ks=http://192.168.1.254/ks/23/muj32-ks.cfg
dnf.rpm.log:    led 01 03:20:10 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.i686
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        23

Comment 1 Frantisek Hanzlik 2016-01-01 03:32:00 UTC
Created attachment 1110870 [details]
File: anaconda-tb

Comment 2 Frantisek Hanzlik 2016-01-01 03:32:02 UTC
Created attachment 1110871 [details]
File: anaconda.log

Comment 3 Frantisek Hanzlik 2016-01-01 03:32:04 UTC
Created attachment 1110872 [details]
File: dnf.log

Comment 4 Frantisek Hanzlik 2016-01-01 03:32:05 UTC
Created attachment 1110873 [details]
File: environ

Comment 5 Frantisek Hanzlik 2016-01-01 03:32:07 UTC
Created attachment 1110874 [details]
File: ks.cfg

Comment 6 Frantisek Hanzlik 2016-01-01 03:32:09 UTC
Created attachment 1110875 [details]
File: lsblk_output

Comment 7 Frantisek Hanzlik 2016-01-01 03:32:10 UTC
Created attachment 1110876 [details]
File: nmcli_dev_list

Comment 8 Frantisek Hanzlik 2016-01-01 03:32:12 UTC
Created attachment 1110877 [details]
File: os_info

Comment 9 Frantisek Hanzlik 2016-01-01 03:32:16 UTC
Created attachment 1110878 [details]
File: storage.log

Comment 10 Frantisek Hanzlik 2016-01-01 03:32:19 UTC
Created attachment 1110879 [details]
File: syslog

Comment 11 Frantisek Hanzlik 2016-01-01 03:32:20 UTC
Created attachment 1110880 [details]
File: ifcfg.log

Comment 12 Frantisek Hanzlik 2016-01-01 03:32:22 UTC
Created attachment 1110881 [details]
File: packaging.log

Comment 13 Frantisek Hanzlik 2016-01-01 03:32:25 UTC
Created attachment 1110882 [details]
File: program.log

Comment 14 Frantisek Hanzlik 2016-01-01 11:59:34 UTC
Another user experienced a similar problem:

kickstart, installation to GPT partitioned HD, std partitioning without LVM. Crash occurs after own installation starts.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-WS-23-i386 rd.debug inst.ks=http://192.168.1.254/ks/23/muj32-ks.cfg
dnf.rpm.log:    led 01 11:51:19 INFO --- logging initialized ---
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.i686
package:        anaconda-23.19.10-1
product:        Fedora
reason:         _ped.PartitionException: Partition does not exist
release:        Cannot get release name.
version:        23

Comment 15 Fedora End Of Life 2016-11-24 14:38:09 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. 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 '23'.

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 23 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 16 Fedora End Of Life 2016-12-20 17:31:43 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 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.