Red Hat Bugzilla – Bug 826268
ValueError: Cannot remove non-leaf device 'vg_orthanc_ssd-root_fs'
Last modified: 2012-05-31 11:34:10 EDT
libreport version: 2.0.10
cmdline: /usr/bin/python /usr/sbin/anaconda
other involved packages:
release: Cannot get release name.
time: Tue 29 May 2012 05:35:29 PM EDT
anaconda-tb-d9llDn: Text file, 670557 bytes
:The following was filed automatically by anaconda:
:anaconda 17.29 exception report
:Traceback (most recent call first):
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 370, in _removeDevice
: raise ValueError("Cannot remove non-leaf device '%s'" % dev.name)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 420, in registerAction
: File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/partition_gui.py", line 1748, in editLVMVolumeGroup
: File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/partition_gui.py", line 1666, in editCB
:ValueError: Cannot remove non-leaf device 'vg_orthanc_ssd-root_fs'
Created attachment 587534 [details]
This is an installer crash. It's reproducible. I cannot install F17 due to this bug.
I want to install a fresh F17 in an existing system. I have many LV on 2 VG. I also have a partition /dev/sda1 for /boot.
I'd like to re-format and install onto 3 LV (on different VG) plus the /boot partition, and mount some of the others. The mounting can be deferred to later, assuming I can get past this bug.
The LV in question are currently formatted btrfs via the F16 (or F15, can't remember) installer. Some of the other LV are also btrfs.
When selecting them in the "edit vg" menu, I cannot choose to re-format the LV, the option is grayed out. Also, I tried deleting the LV and re-adding with a different FS-type. Resulted in "same" crash (I say same because I don't have the traceback of both).
Seems probably a bug because btrfs doesn't seem to be a valid "fs type" in this release.
Unfortunately, we had to temporarily reduce our support for btrfs in F17 due to some resource constraints and upstream work planned for F18. In F18 you will see a completely new user interface for the installer, including full support for all of the major btrfs features like subvolumes and RAID. Sorry for the inconvenience.
In the meantime, see https://fedoraproject.org/wiki/Anaconda/Kickstart#btrfs for the only way to use btrfs in F17: kickstart.
I was able to complete an installation as long as no LV that contained BTRFS was "touched" during installation, e.g. I did not remove, reformat or mount any of them, just installed on new LV in the same VG.
assuming it won't be fixed and marking appropriately.