Bug 863354

Summary: ValueError: Cannot remove extended partition sda4. Logical partitions present.
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:cc5d1cdf15e00ff0fef0df30716a76f257fdb1604cda65cdabe6e8e2afb1ceca
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-05 08:20: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:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: environ
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: program.log
none
File: product
none
File: anaconda.log
none
File: hashmarkername
none
File: cmdline_file
none
File: release
none
File: messages none

Description Jens Petersen 2012-10-05 08:14:47 UTC
Description of problem:
after custom partitioning

Version-Release number of selected component:
anaconda-18.12-1.fc18.x86_64

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
kernel:         3.6.0-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.12 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 385, in _removeDevice
:    "Logical partitions present." % dev.name)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 425, in registerAction
:    self._removeDevice(action.device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1219, in destroyDevice
:    self.devicetree.registerAction(action)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/partitioning.py", line 684, in updateExtendedPartitions
:    storage.destroyDevice(part)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/partitioning.py", line 782, in doPartitioning
:    updateExtendedPartitions(storage, disks)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 353, in apply
:    doPartitioning(self.storage)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 108, in _runSpoke
:    action.apply()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 323, in _on_spoke_clicked
:    self._runSpoke(spoke)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 338, in _on_spoke_clicked
:    self._on_spoke_clicked(self._spokes[dest].selector, None, self._spokes[dest])
:ValueError: Cannot remove extended partition sda4.  Logical partitions present.

Comment 1 Jens Petersen 2012-10-05 08:14:58 UTC
Created attachment 622034 [details]
File: anaconda-tb

Comment 2 Jens Petersen 2012-10-05 08:15:01 UTC
Created attachment 622035 [details]
File: environ

Comment 3 Jens Petersen 2012-10-05 08:15:03 UTC
Created attachment 622036 [details]
File: type

Comment 4 Jens Petersen 2012-10-05 08:15:05 UTC
Created attachment 622037 [details]
File: ifcfg.log

Comment 5 Jens Petersen 2012-10-05 08:15:12 UTC
Created attachment 622038 [details]
File: storage.log

Comment 6 Jens Petersen 2012-10-05 08:15:14 UTC
Created attachment 622039 [details]
File: version

Comment 7 Jens Petersen 2012-10-05 08:15:18 UTC
Created attachment 622040 [details]
File: program.log

Comment 8 Jens Petersen 2012-10-05 08:15:20 UTC
Created attachment 622041 [details]
File: product

Comment 9 Jens Petersen 2012-10-05 08:15:22 UTC
Created attachment 622042 [details]
File: anaconda.log

Comment 10 Jens Petersen 2012-10-05 08:15:24 UTC
Created attachment 622043 [details]
File: hashmarkername

Comment 11 Jens Petersen 2012-10-05 08:15:26 UTC
Created attachment 622044 [details]
File: cmdline_file

Comment 12 Jens Petersen 2012-10-05 08:15:28 UTC
Created attachment 622045 [details]
File: release

Comment 13 Jens Petersen 2012-10-05 08:15:30 UTC
Created attachment 622046 [details]
File: messages

Comment 14 Jens Petersen 2012-10-05 08:20:40 UTC
I guess this is a duplicate of bug 862971.

This one is via custom partition screen
but looks like backtrace is from same place.

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