Bug 1074638

Summary: ValueError: Cannot remove non-leaf device 'sda4'
Product: [Fedora] Fedora Reporter: satellitgo
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c53a9c1f4ccd1dcb85aeb956af91f7809809b774f9e5e3357b63b7232ed1eb50
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-13 21:49:23 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:
Attachments:
Description Flags
File: anaconda-tb
none
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 satellitgo 2014-03-10 17:47:08 UTC
Description of problem:
latest boot.iso when select ext USB HD /dev/sdb  "cannot remove non-leaf device"

Version-Release number of selected component:
anaconda-21.26-1

The following was filed automatically by anaconda:
anaconda 21.26-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 346, in _removeDevice
    raise ValueError("Cannot remove non-leaf device '%s'" % dev.name)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1921, in hide
    self._removeDevice(device, moddisk=False)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1909, in hide
    self.hide(d)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 730, in on_back_clicked
    self.storage.devicetree.hide(disk)
ValueError: Cannot remove non-leaf device 'sda4'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.14.0-0.rc5.git2.1.fc21.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 satellitgo 2014-03-10 17:47:13 UTC
Created attachment 872813 [details]
File: anaconda-tb

Comment 2 satellitgo 2014-03-10 17:47:14 UTC
Created attachment 872814 [details]
File: anaconda.log

Comment 3 satellitgo 2014-03-10 17:47:16 UTC
Created attachment 872815 [details]
File: environ

Comment 4 satellitgo 2014-03-10 17:47:18 UTC
Created attachment 872816 [details]
File: lsblk_output

Comment 5 satellitgo 2014-03-10 17:47:20 UTC
Created attachment 872817 [details]
File: nmcli_dev_list

Comment 6 satellitgo 2014-03-10 17:47:22 UTC
Created attachment 872818 [details]
File: os_info

Comment 7 satellitgo 2014-03-10 17:47:25 UTC
Created attachment 872819 [details]
File: program.log

Comment 8 satellitgo 2014-03-10 17:47:27 UTC
Created attachment 872820 [details]
File: storage.log

Comment 9 satellitgo 2014-03-10 17:47:28 UTC
Created attachment 872821 [details]
File: syslog

Comment 10 satellitgo 2014-03-10 17:47:30 UTC
Created attachment 872822 [details]
File: ifcfg.log

Comment 11 satellitgo 2014-03-10 17:47:32 UTC
Created attachment 872823 [details]
File: packaging.log

Comment 12 David Shea 2014-03-13 21:49:23 UTC

*** This bug has been marked as a duplicate of bug 968149 ***