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.

Bug 1030836

Summary: PartitionException: Partition is not part of the disk it is being removed from
Product: Red Hat Enterprise Linux 7 Reporter: Petr Sklenar <psklenar>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a307e4d5f492c5748e9fcde04f53ab8765548123fc8b970c595483e06defbcc3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-16 20:19:11 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: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Petr Sklenar 2013-11-15 09:35:21 UTC
Description of problem:
0, custom partioning
1, add disk
2, unselect disk, DONE
3, custom partioning, create some random partions
4, go to step 0 until you will see bug

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

The following was filed automatically by anaconda:
anaconda 19.31.34-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 591, in removeNewPartitions
    part.disk.format.partedDisk.removePartition(part.partedPartition)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 780, 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 260, in execute
    doAutoPartition(storage, ksdata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1731, in doKickstartStorage
    ksdata.autopart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 402, 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=/distrotrees/65071/initrd method=http://download-01.eng.brq.redhat.com/pub/rhel/nightly/RHEL-7.0-20131114.n.0/compose/Workstation/x86_64/os/ repo=http://download-01.eng.brq.redhat.com/pub/rhel/nightly/RHEL-7.0-20131114.n.0/compose/Workstation/x86_64/os/  BOOT_IMAGE=/distrotrees/65071/kernel 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-49.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Server release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Comment 1 Petr Sklenar 2013-11-15 09:35:28 UTC
Created attachment 824376 [details]
File: anaconda-tb

Comment 2 Petr Sklenar 2013-11-15 09:35:32 UTC
Created attachment 824377 [details]
File: anaconda.log

Comment 3 Petr Sklenar 2013-11-15 09:35:35 UTC
Created attachment 824378 [details]
File: environ

Comment 4 Petr Sklenar 2013-11-15 09:35:40 UTC
Created attachment 824379 [details]
File: lsblk_output

Comment 5 Petr Sklenar 2013-11-15 09:35:46 UTC
Created attachment 824380 [details]
File: nmcli_dev_list

Comment 6 Petr Sklenar 2013-11-15 09:35:49 UTC
Created attachment 824381 [details]
File: os_info

Comment 7 Petr Sklenar 2013-11-15 09:35:52 UTC
Created attachment 824382 [details]
File: program.log

Comment 8 Petr Sklenar 2013-11-15 09:35:56 UTC
Created attachment 824383 [details]
File: storage.log

Comment 9 Petr Sklenar 2013-11-15 09:36:00 UTC
Created attachment 824384 [details]
File: syslog

Comment 10 Petr Sklenar 2013-11-15 09:36:04 UTC
Created attachment 824385 [details]
File: ifcfg.log

Comment 11 Petr Sklenar 2013-11-15 09:36:08 UTC
Created attachment 824386 [details]
File: packaging.log

Comment 13 Dave Cantrell 2013-12-16 19:58:43 UTC
I was not able to reproduce this error, but I did get another error (I was expecting an error at that point because I was really trying to yank storage out from under anaconda).  I'm going to keep this one open for now, but I'm moving it to 7.1.

Comment 14 David Lehman 2013-12-16 20:19:11 UTC

*** This bug has been marked as a duplicate of bug 1029628 ***