Bug 864290 - ValueError: Cannot remove extended partition sda4. Logical partitions present.
Summary: ValueError: Cannot remove extended partition sda4. Logical partitions present.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7321eb52a01e57bbfac0415f30c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 03:59 UTC by Madison Kelly
Modified: 2012-11-23 03:38 UTC (History)
5 users (show)

Fixed In Version: anaconda-18-14.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-23 03:28:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (422.25 KB, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: product (6 bytes, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: type (9 bytes, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: storage.log (198.87 KB, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: version (11 bytes, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: environ (796 bytes, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: anaconda.log (17.66 KB, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: syslog (131.67 KB, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: hashmarkername (8 bytes, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: packaging.log (2.18 KB, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: cmdline_file (129 bytes, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: release (24 bytes, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details
File: program.log (37.97 KB, text/plain)
2012-10-09 03:59 UTC, Madison Kelly
no flags Details

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.


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