Bug 1015817

Summary: AttributeError: 'NoneType' object has no attribute 'id'
Product: [Fedora] Fedora Reporter: sean_mccully
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: amulhern, anaconda-maint-list, andreas, bcl, dlehman, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:43962640bbba9409108f561198b814ce68ce2474b8518198f745ffb22bb33ae8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-17 14:50:46 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.log
none
File: environ
none
File: lsblk_output
none
File: messages
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log
none
File: anaconda-tb none

Description sean_mccully 2013-10-05 20:02:35 UTC
Description of problem:
Manually Resizing Partition

Version-Release number of selected component:
anaconda-20.18-1.fc20.x86_64

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/lib/python2.7/site-packages/blivet/__init__.py", line 1924, in factoryDevice
    factory.configure()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1069, in _replace_device
    new_device = self.__storage.factoryDevice(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1362, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2790, in on_apply_clicked
    self._save_right_side(self._current_selector)
AttributeError: 'NoneType' object has no attribute 'id'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-KDE-x86_64-20-Alpha- ro rd.live.image quiet rhgb
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.0-300.fc20.x86_64
other involved packages: python-blivet-0.20-1.fc20.noarch
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Comment 1 sean_mccully 2013-10-05 20:02:40 UTC
Created attachment 808232 [details]
File: anaconda.log

Comment 2 sean_mccully 2013-10-05 20:02:44 UTC
Created attachment 808233 [details]
File: environ

Comment 3 sean_mccully 2013-10-05 20:02:47 UTC
Created attachment 808234 [details]
File: lsblk_output

Comment 4 sean_mccully 2013-10-05 20:02:52 UTC
Created attachment 808235 [details]
File: messages

Comment 5 sean_mccully 2013-10-05 20:02:55 UTC
Created attachment 808236 [details]
File: nmcli_dev_list

Comment 6 sean_mccully 2013-10-05 20:02:58 UTC
Created attachment 808237 [details]
File: os_info

Comment 7 sean_mccully 2013-10-05 20:03:01 UTC
Created attachment 808238 [details]
File: program.log

Comment 8 sean_mccully 2013-10-05 20:03:06 UTC
Created attachment 808239 [details]
File: storage.log

Comment 9 sean_mccully 2013-10-05 20:03:10 UTC
Created attachment 808240 [details]
File: ifcfg.log

Comment 10 sean_mccully 2013-10-05 20:03:17 UTC
Created attachment 808241 [details]
File: anaconda-tb

Comment 11 Vratislav Podzimek 2013-10-17 09:52:21 UTC
Dave, any idea how can None appear as a member of root.swaps?

Comment 12 David Lehman 2013-10-17 14:50:46 UTC

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

Comment 13 David Shea 2013-11-04 22:20:17 UTC
*** Bug 1026531 has been marked as a duplicate of this bug. ***