Bug 1472999 - ValueError: device is already in tree
ValueError: device is already in tree
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
abrt_hash:a6be6482f134a9b6db36de07b3a...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-19 15:44 EDT by larsehauge
Modified: 2017-07-20 13:25 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-20 13:25:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: anaconda-tb (386.08 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: anaconda.log (8.53 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: environ (508 bytes, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: journalctl (255.78 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: lsblk_output (3.58 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: nmcli_dev_list (2.10 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: os_info (518 bytes, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: program.log (31.07 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: storage.log (77.02 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details
File: ifcfg.log (3.40 KB, text/plain)
2017-07-19 15:44 EDT, larsehauge
no flags Details

  None (edit)
Description larsehauge 2017-07-19 15:44:21 EDT
Description of problem:
Having trouble installing both Fedora 26 from USB and Fedora 25 from DVD.

This report is from the USB with Fedora 26.
The installer is started, but the error message with unknown error comes as soon as user input is required.

I tried to update the BIOS after failing to install Fedora. 
However that also failed, but luckly the computer rebooted as normal afterwards.
Not sure if these to issues are connected.

Any assistance would be highly appreciated.

Lars

Version-Release number of selected component:
anaconda-core-26.21.11-1.fc26.x86_64

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 154, in _add_slave_devices
    self.handle_device(slave_info)
  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/mdraid.py", line 55, in run
    self._devicetree._add_slave_devices(self.data)
  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/helpers/mdraid.py", line 216, in run
    self._devicetree.handle_device(array_info, update_orig_fmt=True)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 345, in handle_format
    helper_class(self, info, device).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 318, in handle_device
    self.handle_format(info, device)
  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
cmdline:        /usr/libexec/system-python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-26-1-5 rd.live.image quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.11.8-300.fc26.x86_64
other involved packages: python3-blivet-2.1.9-1.fc26.noarch, system-python-libs-3.6.1-8.fc26.x86_64
product:        Fedora
release:        Fedora release 26 (Twenty Six)
type:           anaconda
version:        26
Comment 1 larsehauge 2017-07-19 15:44:28 EDT
Created attachment 1301305 [details]
File: anaconda-tb
Comment 2 larsehauge 2017-07-19 15:44:30 EDT
Created attachment 1301306 [details]
File: anaconda.log
Comment 3 larsehauge 2017-07-19 15:44:31 EDT
Created attachment 1301307 [details]
File: environ
Comment 4 larsehauge 2017-07-19 15:44:34 EDT
Created attachment 1301308 [details]
File: journalctl
Comment 5 larsehauge 2017-07-19 15:44:35 EDT
Created attachment 1301309 [details]
File: lsblk_output
Comment 6 larsehauge 2017-07-19 15:44:37 EDT
Created attachment 1301310 [details]
File: nmcli_dev_list
Comment 7 larsehauge 2017-07-19 15:44:39 EDT
Created attachment 1301311 [details]
File: os_info
Comment 8 larsehauge 2017-07-19 15:44:41 EDT
Created attachment 1301312 [details]
File: program.log
Comment 9 larsehauge 2017-07-19 15:44:43 EDT
Created attachment 1301313 [details]
File: storage.log
Comment 10 larsehauge 2017-07-19 15:44:44 EDT
Created attachment 1301314 [details]
File: ifcfg.log
Comment 11 larsehauge 2017-07-20 13:25:23 EDT
Solved it by disconnecting the other drives physically (disconnecting SATA).
Was then able to install Fedora. 

Closing the bug report.

Note You need to log in before you can comment on or make changes to this bug.