Bug 1008179

Summary: ValueError: Cannot remove non-leaf device 'btrfs.6'
Product: [Fedora] Fedora Reporter: Henrique C. S. Junior <henriquecsj>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: anaconda-maint-list, dshea, g.kaviyarasu, henriquecsj, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0d1ef76d5fbbd91339db7f444ccc6a4a4efdfa46f1527e4b810a6de47dff7fb4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-28 19:28:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Henrique C. S. Junior 2013-09-15 14:07:10 UTC
Version-Release number of selected component:
anaconda-19.30.13-1

The following was filed automatically by anaconda:
anaconda 19.30.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 290, in _removeDevice
    raise ValueError("Cannot remove non-leaf device '%s'" % dev.name)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 344, in registerAction
    self._removeDevice(action.device)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1179, in destroyDevice
    self.devicetree.registerAction(action)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2024, in _destroy_device
    self.__storage.destroyDevice(device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2146, in on_remove_clicked
    self._destroy_device(dev)
ValueError: Cannot remove non-leaf device 'btrfs.6'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19

Potential duplicate: bug 888450

Comment 1 Henrique C. S. Junior 2013-09-15 14:07:30 UTC
Created attachment 797941 [details]
File: anaconda.log

Comment 2 Henrique C. S. Junior 2013-09-15 14:07:33 UTC
Created attachment 797943 [details]
File: environ

Comment 3 Henrique C. S. Junior 2013-09-15 14:07:38 UTC
Created attachment 797946 [details]
File: lsblk_output

Comment 4 Henrique C. S. Junior 2013-09-15 14:07:42 UTC
Created attachment 797947 [details]
File: nmcli_dev_list

Comment 5 Henrique C. S. Junior 2013-09-15 14:07:46 UTC
Created attachment 797950 [details]
File: os_info

Comment 6 Henrique C. S. Junior 2013-09-15 14:07:52 UTC
Created attachment 797952 [details]
File: program.log

Comment 7 Henrique C. S. Junior 2013-09-15 14:08:06 UTC
Created attachment 797955 [details]
File: storage.log

Comment 8 Henrique C. S. Junior 2013-09-15 14:08:13 UTC
Created attachment 797956 [details]
File: syslog

Comment 9 Henrique C. S. Junior 2013-09-15 14:08:17 UTC
Created attachment 797957 [details]
File: ifcfg.log

Comment 10 Henrique C. S. Junior 2013-09-15 14:08:29 UTC
Created attachment 797958 [details]
File: packaging.log

Comment 11 David Shea 2014-02-28 15:49:12 UTC
Can you provide steps to reproduce this issue? Does it still occur with F20 or rawhide?

Comment 12 Henrique C. S. Junior 2014-02-28 19:12:32 UTC
I'm sorry, but I can not reproduce this bug anymore.
If I remind correctly, this was happening whem I was trying to format a disk that have openSUSE 12.3 (with BTRFS) installed.