Created attachment 666944 [details]
Description of problem:
Using the reclaim dialog to remove incomplete devices causes a traceback.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a raid0 md array on two disks in virt
2. Do an install with only one of the disks present
3. Try to delete all partitions using the reclaim dialog
Traceback that leads to an immediate reboot.
Successful reclamation of space and automatic partitioning.
anaconda 18.37.2 exception report
Traceback (most recent call first):
File "/tmp/updates/pyanaconda/storage/devicetree.py", line 374, in _removeDevice
raise ValueError("Cannot remove non-leaf device '%s'" % dev.name)
File "/tmp/updates/pyanaconda/storage/devicetree.py", line 428, in registerAction
File "/tmp/updates/pyanaconda/storage/__init__.py", line 1194, in destroyDevice
File "/tmp/updates/pyanaconda/storage/__init__.py", line 766, in recursiveRemove
File "/tmp/updates/pyanaconda/ui/gui/spokes/lib/resize.py", line 307, in _scheduleActions
ValueError: Cannot remove non-leaf device 'vda1'
I have a tested patch ready.
Discussed at 2012-12-21 blocker review meeting: http://meetbot.fedoraproject.org/fedora-bugzappers/2012-12-21/f18final-blocker-review-7.2012-12-21-18.33.log.txt . Accepted as a blocker per criterion "The installer's custom partitioning mode must be capable of the following: Creating, destroying and assigning mount points to partitions of any specified size using most commonly-used filesystem types ..."
dracut-024-17.git20121220.fc18, anaconda-18.37.7-1.fc18 has been submitted as an update for Fedora 18.
Package dracut-024-17.git20121220.fc18, anaconda-18.37.8-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 dracut-024-17.git20121220.fc18 anaconda-18.37.8-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dracut-024-17.git20121220.fc18, anaconda-18.37.8-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.