Bug 1393382 - ValueError: device is already in tree
Summary: ValueError: device is already in tree
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Blivet Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:936b275a01fa8af6a1287f94c02...
: 1430155 1476950 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-09 12:41 UTC by Petr Schindler
Modified: 2017-12-12 10:37 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:37:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (492.45 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: anaconda.log (25.45 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: dnf.librepo.log (107.89 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: environ (482 bytes, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: hawkey.log (1.50 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: lsblk_output (3.66 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: nmcli_dev_list (1.56 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: os_info (449 bytes, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: storage.log (102.35 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: syslog (303.09 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: ifcfg.log (2.26 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: packaging.log (1.84 KB, text/plain)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details
File: program.log (32.57 KB, application/octet-stream)
2016-11-09 12:41 UTC, Petr Schindler
no flags Details

Description Petr Schindler 2016-11-09 12:41:25 UTC
Description of problem:
I just booted netinst Everything to anaconda. I destroyed RAID on disks before I booted (there is a intel FW RAID on this machine).

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

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

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-25 rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 Petr Schindler 2016-11-09 12:41:32 UTC
Created attachment 1218932 [details]
File: anaconda-tb

Comment 2 Petr Schindler 2016-11-09 12:41:33 UTC
Created attachment 1218933 [details]
File: anaconda.log

Comment 3 Petr Schindler 2016-11-09 12:41:36 UTC
Created attachment 1218934 [details]
File: dnf.librepo.log

Comment 4 Petr Schindler 2016-11-09 12:41:37 UTC
Created attachment 1218935 [details]
File: environ

Comment 5 Petr Schindler 2016-11-09 12:41:39 UTC
Created attachment 1218936 [details]
File: hawkey.log

Comment 6 Petr Schindler 2016-11-09 12:41:40 UTC
Created attachment 1218937 [details]
File: lsblk_output

Comment 7 Petr Schindler 2016-11-09 12:41:42 UTC
Created attachment 1218938 [details]
File: nmcli_dev_list

Comment 8 Petr Schindler 2016-11-09 12:41:43 UTC
Created attachment 1218939 [details]
File: os_info

Comment 9 Petr Schindler 2016-11-09 12:41:45 UTC
Created attachment 1218940 [details]
File: storage.log

Comment 10 Petr Schindler 2016-11-09 12:41:49 UTC
Created attachment 1218941 [details]
File: syslog

Comment 11 Petr Schindler 2016-11-09 12:41:50 UTC
Created attachment 1218942 [details]
File: ifcfg.log

Comment 12 Petr Schindler 2016-11-09 12:41:52 UTC
Created attachment 1218943 [details]
File: packaging.log

Comment 13 Petr Schindler 2016-11-09 12:41:54 UTC
Created attachment 1218944 [details]
File: program.log

Comment 14 Stuart R. DeGraaf 2017-01-04 21:44:16 UTC
Similar problem has been detected:

Can't install Fedora25 to SuperMicro SuperWorkstation 7048A-T with either Xfce live spin (USB or DVD)
or server DVD edition. Machine has SW raid 5 array of eight 8TB spinning disks, and an LVM array of
three 4TB PCIe SSDs. With the server DVD install, I can see that the raid monitoring service fails to
start, and that a subsequent e2fsck (of the LVM?) takes a _long_time_ (~one minute of CPU time,
with a considerable portion running at .3% load). After this, the Anaconda screen shows that an
"unknown error" has occured. Apparently all of this happens in the background - I was watching
"top" in ctl-alt-F2, and had intentionally not yet specified the language.

I previously submitted bug 1410216, which your automated system automatically declared to be
a duplicate of 1400318 (which may, or may not, be true). At this point, I may have no way to install
Fedora25 on a machine that is running Fedora24 and has run Fedora23. Or do I? If so, how? As
far as I am concerned, this is a SEVERE BUG. Please advise me on how to circumvent this!

addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-25 rd.live.check quiet
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
package:        anaconda-25.20.8-1
product:        Fedora
reason:         ValueError: device is already in tree
release:        Cannot get release name.
version:        25

Comment 15 Terry Bohaning 2017-03-08 00:09:46 UTC
*** Bug 1430155 has been marked as a duplicate of this bug. ***

Comment 16 David Lehman 2017-03-08 17:52:45 UTC
The partition UUIDs on your former-RAID drives are not unique, which is fatal problem that we are not equipped to walk you through addressing in the installer. You will have to clear the partitions yourself and retry the installation.

Comment 17 Jonathan Nicol 2017-08-01 00:07:46 UTC
*** Bug 1476950 has been marked as a duplicate of this bug. ***

Comment 18 Fedora End Of Life 2017-11-16 19:35:19 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 19 Fedora End Of Life 2017-12-12 10:37:48 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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