Bug 1098185 - PartitionException: Partition is not part of the disk it is being removed from
Summary: PartitionException: Partition is not part of the disk it is being removed from
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9346ae6f9f809828b2b68584e48...
: 1083581 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-15 12:55 UTC by Vratislav Podzimek
Modified: 2016-07-19 11:31 UTC (History)
5 users (show)

Fixed In Version: python-blivet-0.54-1
Clone Of:
Environment:
Last Closed: 2016-07-19 11:31:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (631.36 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: anaconda.log (17.63 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: environ (459 bytes, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: lsblk_output (2.80 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: nmcli_dev_list (1.49 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: os_info (381 bytes, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: program.log (43.54 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: storage.log (216.36 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: syslog (72.54 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: ifcfg.log (1.71 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details
File: packaging.log (198.96 KB, text/plain)
2014-05-15 12:55 UTC, Vratislav Podzimek
no flags Details

Description Vratislav Podzimek 2014-05-15 12:55:06 UTC
Description of problem:
1. go to Custom partitioning
2. remove all existing systems
3. click "Create...automatically"
4. remove the /boot partition

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

The following was filed automatically by anaconda:
anaconda 21.36-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/parted/disk.py", line 269, in removePartition
    if self.__disk.remove_partition(partition.getPedPartition()):
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/tmp/updates/blivet/formats/disklabel.py", line 328, in removePartition
    self.partedDisk.removePartition(partition)
  File "/tmp/updates/blivet/devicetree.py", line 431, in _removeDevice
    dev.disk.format.removePartition(dev.partedPartition)
  File "/tmp/updates/blivet/devicetree.py", line 489, in registerAction
    self._removeDevice(action.device)
  File "/tmp/updates/blivet/__init__.py", line 1297, in destroyDevice
    self.devicetree.registerAction(action)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/custom.py", line 1678, in _destroy_device
    self._storage_playground.destroyDevice(device)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/custom.py", line 120, in decorated
    return func(*args, **kwargs)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/custom.py", line 1783, in on_remove_clicked
    self._destroy_device(device)
PartitionException: Partition is not part of the disk it is being removed from

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=/test/vpodzime/my_composes/initrd.img root=live:http://cobra02/trees/vp/my_comps_squashfs.img nokill repo=http://cobra02/trees/rawhide/x86_64/os/ lang=en_US.UTF-8 updates=http://cobra02/ks/vp/compose_updates.img BOOT_IMAGE=/test/vpodzime/my_composes/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.15.0-0.rc5.git2.3.fc21.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        21

Comment 1 Vratislav Podzimek 2014-05-15 12:55:11 UTC
Created attachment 895901 [details]
File: anaconda-tb

Comment 2 Vratislav Podzimek 2014-05-15 12:55:14 UTC
Created attachment 895902 [details]
File: anaconda.log

Comment 3 Vratislav Podzimek 2014-05-15 12:55:16 UTC
Created attachment 895903 [details]
File: environ

Comment 4 Vratislav Podzimek 2014-05-15 12:55:19 UTC
Created attachment 895904 [details]
File: lsblk_output

Comment 5 Vratislav Podzimek 2014-05-15 12:55:21 UTC
Created attachment 895905 [details]
File: nmcli_dev_list

Comment 6 Vratislav Podzimek 2014-05-15 12:55:23 UTC
Created attachment 895906 [details]
File: os_info

Comment 7 Vratislav Podzimek 2014-05-15 12:55:25 UTC
Created attachment 895907 [details]
File: program.log

Comment 8 Vratislav Podzimek 2014-05-15 12:55:28 UTC
Created attachment 895908 [details]
File: storage.log

Comment 9 Vratislav Podzimek 2014-05-15 12:55:30 UTC
Created attachment 895909 [details]
File: syslog

Comment 10 Vratislav Podzimek 2014-05-15 12:55:32 UTC
Created attachment 895910 [details]
File: ifcfg.log

Comment 11 Vratislav Podzimek 2014-05-15 12:55:35 UTC
Created attachment 895911 [details]
File: packaging.log

Comment 12 Vratislav Podzimek 2014-05-15 14:58:01 UTC
This happens when the original system is RAID. And the error is caused by the newly created/scheduled /boot partition (vda1) for some reason having two parents -- vda, vdd. I need to figure out how this happens and fix it.

Comment 13 Vratislav Podzimek 2014-05-27 14:54:53 UTC
*** Bug 1083581 has been marked as a duplicate of this bug. ***

Comment 14 Jaroslav Reznik 2015-03-03 17:13:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 15 Fedora End Of Life 2016-07-19 11:31:22 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.


Note You need to log in before you can comment on or make changes to this bug.