Bug 1476950

Summary: ValueError: device is already in tree
Product: [Fedora] Fedora Reporter: Jonathan Nicol <jnicol>
Component: python-blivetAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: anaconda-maint-list, blivet-maint-list, g.kaviyarasu, jkonecny, jonathan, mkolman, rvykydal, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:84432eb48135296f114dbc0f5f90bcf823909350e93b9f6944caf34c520c4f0a;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 00:07: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-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: program.log none

Description Jonathan Nicol 2017-07-31 22:44:04 UTC
Version-Release number of selected component:
anaconda-26.21.11-1

The following was filed automatically by anaconda:
anaconda 26.21.11-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivet/devicetree.py", line 148, in _add_device
    raise ValueError("device is already in tree")
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/helpers/partition.py", line 111, in run
    self._devicetree._add_device(device)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 306, in handle_device
    device = helper_class(self, info).run()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 519, in _populate
    self.handle_device(dev)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 454, in populate
    self._populate()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 271, in reset
    self.devicetree.populate(cleanup_only=cleanup_only)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/osinstall.py", line 1175, in storage_initialize
    storage.reset()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threads.py", line 251, in run
    threading.Thread.run(self)
ValueError: device is already in tree

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/libexec/system-python  /sbin/anaconda
cmdline_file:   initrd=Fedora26/initrd.img method=http://mirrors.kernel.org/fedora/releases/26/Workstation/x86_64/os/ modprobe.blacklist=nouveau BOOT_IMAGE=Fedora26/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.11.8-300.fc26.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        26

Comment 1 Jonathan Nicol 2017-07-31 22:44:09 UTC
Created attachment 1307292 [details]
File: anaconda-tb

Comment 2 Jonathan Nicol 2017-07-31 22:44:10 UTC
Created attachment 1307293 [details]
File: anaconda.log

Comment 3 Jonathan Nicol 2017-07-31 22:44:11 UTC
Created attachment 1307294 [details]
File: environ

Comment 4 Jonathan Nicol 2017-07-31 22:44:12 UTC
Created attachment 1307295 [details]
File: lsblk_output

Comment 5 Jonathan Nicol 2017-07-31 22:44:13 UTC
Created attachment 1307296 [details]
File: nmcli_dev_list

Comment 6 Jonathan Nicol 2017-07-31 22:44:13 UTC
Created attachment 1307297 [details]
File: os_info

Comment 7 Jonathan Nicol 2017-07-31 22:44:14 UTC
Created attachment 1307298 [details]
File: storage.log

Comment 8 Jonathan Nicol 2017-07-31 22:44:16 UTC
Created attachment 1307299 [details]
File: syslog

Comment 9 Jonathan Nicol 2017-07-31 22:44:17 UTC
Created attachment 1307300 [details]
File: ifcfg.log

Comment 10 Jonathan Nicol 2017-07-31 22:44:18 UTC
Created attachment 1307301 [details]
File: program.log

Comment 11 Jonathan Nicol 2017-08-01 00:07:46 UTC
Aha, I suspect this is a duplicate of 1430155 / 1393382. I do have former-RAID drives. Will reformat and retry.

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