Bug 864290

Summary: ValueError: Cannot remove extended partition sda4. Logical partitions present.
Product: [Fedora] Fedora Reporter: Madison Kelly <mkelly>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7321eb52a01e57bbfac0415f30cec9b8275450be5e78172e8f4f0c40da71063d
Fixed In Version: anaconda-18-14.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 03:28:00 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: product
none
File: type
none
File: storage.log
none
File: version
none
File: environ
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log none

Description Madison Kelly 2012-10-09 03:59:18 UTC
Description of problem:
Was trying to delete partitions from my RAID1'ed Fedora 17 install.

Version-Release number of selected component:
anaconda-18.12

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
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/ui/gui/spokes/custom.py", line 1384, in _destroy_device
:    self.__storage.destroyDevice(device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1476, in on_remove_clicked
:    self._destroy_device(device)
:ValueError: Cannot remove extended partition sda4.  Logical partitions present.

Comment 1 Madison Kelly 2012-10-09 03:59:27 UTC
Created attachment 623881 [details]
File: anaconda-tb

Comment 2 Madison Kelly 2012-10-09 03:59:29 UTC
Created attachment 623882 [details]
File: product

Comment 3 Madison Kelly 2012-10-09 03:59:31 UTC
Created attachment 623883 [details]
File: type

Comment 4 Madison Kelly 2012-10-09 03:59:34 UTC
Created attachment 623884 [details]
File: storage.log

Comment 5 Madison Kelly 2012-10-09 03:59:35 UTC
Created attachment 623885 [details]
File: version

Comment 6 Madison Kelly 2012-10-09 03:59:37 UTC
Created attachment 623886 [details]
File: environ

Comment 7 Madison Kelly 2012-10-09 03:59:39 UTC
Created attachment 623887 [details]
File: anaconda.log

Comment 8 Madison Kelly 2012-10-09 03:59:41 UTC
Created attachment 623888 [details]
File: syslog

Comment 9 Madison Kelly 2012-10-09 03:59:43 UTC
Created attachment 623889 [details]
File: hashmarkername

Comment 10 Madison Kelly 2012-10-09 03:59:44 UTC
Created attachment 623890 [details]
File: packaging.log

Comment 11 Madison Kelly 2012-10-09 03:59:46 UTC
Created attachment 623891 [details]
File: cmdline_file

Comment 12 Madison Kelly 2012-10-09 03:59:47 UTC
Created attachment 623892 [details]
File: release

Comment 13 Madison Kelly 2012-10-09 03:59:49 UTC
Created attachment 623893 [details]
File: program.log

Comment 14 Adam Williamson 2012-11-23 03:28:00 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.

(note you may still hit a problem removing existing RAID, but it might not be this bug - you may hit https://bugzilla.redhat.com/show_bug.cgi?id=876789 )

Comment 15 Madison Kelly 2012-11-23 03:38:22 UTC
Thanks for the update, Adam. I will report if I run into this again.