Bug 1011598

Summary: AttributeError: 'NoneType' object has no attribute 'id'
Product: [Fedora] Fedora Reporter: Lubos Kocman <lkocman>
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: 20CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:291b8151ed6f73a505acf98f1fa7c2b7fe2fadbd5e1f521e4583ee2e1220db1f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-24 16:27:51 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 Lubos Kocman 2013-09-24 15:28:21 UTC
Description of problem:
1. Reclaim disk and remove all previous partitions
2. select btrfs and review layout
3. remove root partition by clicking on the [ - ] button

Wild exception appears

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

The following was filed automatically by anaconda:
anaconda 20.18-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1948, in copy
    root.swaps = [new.devicetree.getDeviceByID(d.id) for d in root.swaps]
  File "/usr/lib/python2.7/site-packages/blivet/devicefactory.py", line 767, in _save_devicetree
    _blivet_copy = self.storage.copy()
  File "/usr/lib/python2.7/site-packages/blivet/devicefactory.py", line 704, in configure
    self._save_devicetree()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2112, in _destroy_device
    factory.configure()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2171, in on_remove_clicked
    self._destroy_device(device)
AttributeError: 'NoneType' object has no attribute 'id'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=/distrotrees/64272/initrd method=http://download-01.eng.brq.redhat.com/pub/fedora/linux/development-snapshot-20130924/20/x86_64/os/ repo=http://download-01.eng.brq.redhat.com/pub/fedora/linux/development-snapshot-20130924/20/x86_64/os/  BOOT_IMAGE=/distrotrees/64272/kernel 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.1-300.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20

Comment 1 Lubos Kocman 2013-09-24 15:28:29 UTC
Created attachment 802302 [details]
File: anaconda-tb

Comment 2 Lubos Kocman 2013-09-24 15:28:34 UTC
Created attachment 802303 [details]
File: anaconda.log

Comment 3 Lubos Kocman 2013-09-24 15:28:41 UTC
Created attachment 802304 [details]
File: environ

Comment 4 Lubos Kocman 2013-09-24 15:28:48 UTC
Created attachment 802305 [details]
File: lsblk_output

Comment 5 Lubos Kocman 2013-09-24 15:28:55 UTC
Created attachment 802306 [details]
File: nmcli_dev_list

Comment 6 Lubos Kocman 2013-09-24 15:29:05 UTC
Created attachment 802307 [details]
File: os_info

Comment 7 Lubos Kocman 2013-09-24 15:29:10 UTC
Created attachment 802308 [details]
File: program.log

Comment 8 Lubos Kocman 2013-09-24 15:29:16 UTC
Created attachment 802309 [details]
File: storage.log

Comment 9 Lubos Kocman 2013-09-24 15:29:21 UTC
Created attachment 802310 [details]
File: syslog

Comment 10 Lubos Kocman 2013-09-24 15:29:25 UTC
Created attachment 802311 [details]
File: ifcfg.log

Comment 11 Lubos Kocman 2013-09-24 15:29:31 UTC
Created attachment 802312 [details]
File: packaging.log

Comment 12 David Shea 2013-09-24 16:27:51 UTC

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