Bug 884896

Summary: DiskException: no partition specified
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, robatino, rtguille, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c2391481c78c34c243983c04cbc15a70144e506c28845ee0c2a4f37617ee341d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-15 03:16:19 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:
Bug Depends On:    
Bug Blocks: 752661    
Attachments:
Description Flags
File: anaconda-tb
none
File: environ
none
File: type
none
File: storage.log
none
File: version
none
File: program.log
none
File: executable
none
File: product
none
File: anaconda.log
none
File: hashmarkername
none
File: cmdline_file
none
File: release
none
File: messages
none
File: other involved packages none

Description Chris Murphy 2012-12-07 00:52:41 UTC
Description of problem:
MBR disk with four partitions: swap, ext4, ext4, xfs. 
1. In Reclaim Space, chose to "Delete" only partition 4 (XFS).
2. Installer allows me to continue forward, back to hub. Shows no errors.
3. Install
Crash.


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

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

description:
:The following was filed automatically by anaconda:
:anaconda 18.36 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/parted/disk.py", line 267, in removePartition
:    raise parted.DiskException, "no partition specified"
:  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 32, in new
:    ret = fn(*args, **kwds)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/disklabel.py", line 323, in removePartition
:    self.partedDisk.removePartition(partition)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 1547, in _destroy
:    self.disk.format.removePartition(part)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 819, in destroy
:    self._destroy()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 286, in execute
:    self.device.destroy()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 323, in processActions
:    action.execute()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 336, in doIt
:    self.devicetree.processActions()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 174, in turnOnFilesystems
:    storage.doIt()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 114, in doInstall
:    turnOnFilesystems(storage)
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
:    threading.Thread.run(self, *args, **kwargs)
:DiskException: no partition specified

Comment 1 Chris Murphy 2012-12-07 00:52:46 UTC
Created attachment 659122 [details]
File: anaconda-tb

Comment 2 Chris Murphy 2012-12-07 00:52:48 UTC
Created attachment 659123 [details]
File: environ

Comment 3 Chris Murphy 2012-12-07 00:52:49 UTC
Created attachment 659124 [details]
File: type

Comment 4 Chris Murphy 2012-12-07 00:52:51 UTC
Created attachment 659125 [details]
File: storage.log

Comment 5 Chris Murphy 2012-12-07 00:52:53 UTC
Created attachment 659126 [details]
File: version

Comment 6 Chris Murphy 2012-12-07 00:52:54 UTC
Created attachment 659127 [details]
File: program.log

Comment 7 Chris Murphy 2012-12-07 00:52:56 UTC
Created attachment 659128 [details]
File: executable

Comment 8 Chris Murphy 2012-12-07 00:52:58 UTC
Created attachment 659129 [details]
File: product

Comment 9 Chris Murphy 2012-12-07 00:52:59 UTC
Created attachment 659130 [details]
File: anaconda.log

Comment 10 Chris Murphy 2012-12-07 00:53:01 UTC
Created attachment 659131 [details]
File: hashmarkername

Comment 11 Chris Murphy 2012-12-07 00:53:03 UTC
Created attachment 659132 [details]
File: cmdline_file

Comment 12 Chris Murphy 2012-12-07 00:53:04 UTC
Created attachment 659133 [details]
File: release

Comment 13 Chris Murphy 2012-12-07 00:53:06 UTC
Created attachment 659134 [details]
File: messages

Comment 14 Chris Murphy 2012-12-07 00:53:07 UTC
Created attachment 659135 [details]
File: other involved packages

Comment 15 Chris Murphy 2012-12-07 01:26:30 UTC
More info:
1. Is reproducible.
2. The 4th partition specified for deletion has been deleted; there is sufficient installation space.
3. Upon reboot, and relaunching installer, it claims there is enough free space, installation proceeds normally.

Proposing as blocker:
F18 Beta release criterion #9: autopartitioning should be able to use the specified sufficiently sized free space. The "installer shouldn't crash" is part of release criteria #10 for customized partitioning but it seems like this should apply to autopartitioning as well.

Comment 16 Fedora Update System 2012-12-08 01:45:30 UTC
anaconda-18.37-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.37-1.fc18

Comment 17 Fedora Update System 2012-12-08 22:12:59 UTC
Package anaconda-18.37-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.37-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19991/anaconda-18.37-1.fc18
then log in and leave karma (feedback).

Comment 18 Chris Murphy 2012-12-08 22:19:48 UTC
anaconda-18.37-1.fc18 appears to fix this bug.

Comment 19 Reartes Guillermo 2012-12-10 14:01:44 UTC
i selected a disk (from a previous f18 multi disk btrfs)  and then  reclaimed space.

i set all to 'delete' except for /boot for which i choose 'shrink' 

anaconda shold not let the user 'shrink' something that can't be shrinked.




Package: anaconda-18.36
OS Release: Fedora release 18-TC1

Comment 20 Adam Williamson 2012-12-10 19:39:17 UTC
Discussed at 2012-12-10 blocker review meeting: http://meetbot.fedoraproject.org/fedora-bugzappers/2012-12-10/f18final-blocker-review-3.2012-12-10-17.13.log.txt . Agreed it's not entirely clear what the trigger for this, cmurf and reartes seem to have had rather different setups. David, can you let us know what the bug is here exactly? Decision on blocker status delayed until we have more data (it may become moot if an update is shipped before next meeting).

Comment 21 David Lehman 2012-12-12 02:59:55 UTC
The bug here is that if you do not enter custom storage and remove partitions via the reclaim dialog you'll get this exception because the the fix for 870586.

Comment 22 Fedora Update System 2012-12-12 20:40:21 UTC
Package anaconda-18.37.2-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.37.2-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19991/anaconda-18.37.1-1.fc18
then log in and leave karma (feedback).

Comment 23 Chris Murphy 2012-12-12 23:00:20 UTC
Bug is still fixed with anaconda-18.37.2-1.fc18.

Comment 24 Fedora Update System 2012-12-15 03:16:21 UTC
anaconda-18.37.2-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.