Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
+++ This bug was initially created as a clone of Bug #1027846 +++
Description of problem:
Tried to manual partitioning (delete old, autopart, manual change of some settings). Accidentally unselected my disk, bug appeared. after reselecting it again and returning.
Version-Release number of selected component:
anaconda-20.25.6-1
The following was filed automatically by anaconda:
anaconda 20.25.6-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 "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 595, in removeNewPartitions
part.disk.format.partedDisk.removePartition(part.partedPartition)
File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 784, in doPartitioning
removeNewPartitions(disks, partitions)
File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 320, in doAutoPartition
doPartitioning(storage)
File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 263, in execute
doAutoPartition(storage, ksdata)
File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1740, in doKickstartStorage
ksdata.autopart.execute(storage, ksdata, instClass)
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 429, in _doExecute
doKickstartStorage(self.storage, self.data, self.instclass)
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
threading.Thread.run(self, *args, **kwargs)
PartitionException: Partition is not part of the disk it is being removed from
Additional info:
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Beta\x20x86_64 quiet BOOT_IMAGE=vmlinuz
executable: /sbin/anaconda
hashmarkername: anaconda
kernel: 3.11.6-301.fc20.x86_64
product: Fedora
release: Cannot get release name.
type: anaconda
version: 20-Beta
Potential duplicate: bug 865653
--- Additional comment from Lukas Brabec on 2013-11-07 08:17:33 EST ---
1) storage -> done -> custom partitioning
2) delete (all) old and create new automatically
3) done -> accept
4) (accidentally, as used from previous Fedora) unselect disk -> done
5) select disk again -> done -> continue
In the RHEL7 beta installer,
1.) Delete existing automatic RHEL7 partitioning from a disk
2.) Let the installer create a new layout (the automatic option in the partitioning dialog)
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.0\x20Everything.x86_64 quiet BOOT_IMAGE=vmlinuz
hashmarkername: anaconda
kernel: 3.10.0-54.0.1.el7.x86_64
package: anaconda-19.31.36-1
product: Red Hat Enterprise Linux
reason: PartitionException: Partition is not part of the disk it is being removed from
release: Red Hat Enterprise Linux Server release 7.0 Beta (Maipo)
version: 7.0
Reproduced with python-blivet-0.18.13-2.el7, verified with python-blivet-0.18.23-1.el7. The traceback doesn't appear and the installation is successful.
Moving to VERIFIED.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.