Bug 1602851 - 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: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Blivet Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:529906f98584104b2cee39641c8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-18 16:04 UTC by Alex G.
Modified: 2019-05-28 21:53 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 21:53:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (526.38 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: anaconda.log (9.89 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: dbus.log (3.13 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: dnf.librepo.log (107.88 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: environ (636 bytes, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: hawkey.log (90 bytes, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: lorax-packages.log (25.49 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: lsblk_output (5.27 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: nmcli_dev_list (2.50 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: os_info (556 bytes, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: program.log (13.41 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: storage.log (31.88 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: syslog (362.36 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: ifcfg.log (4.44 KB, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details
File: packaging.log (1004 bytes, text/plain)
2018-07-18 16:04 UTC, Alex G.
no flags Details

Description Alex G. 2018-07-18 16:04:33 UTC
Version-Release number of selected component:
anaconda-28.22.10

The following was filed automatically by anaconda:
anaconda 28.22.10 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivet/devicetree.py", line 158, in _add_device
    raise ValueError("device is already in tree")
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/helpers/partition.py", line 112, in run
    self._devicetree._add_device(device)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 263, in handle_device
    device = helper_class(self, info).run()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 122, in _add_slave_devices
    self.handle_device(slave_info)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, 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 263, in handle_device
    device = helper_class(self, info).run()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, 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 303, in handle_format
    helper_class(self, info, device).run()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 275, in handle_device
    self.handle_format(info, device)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 462, in _populate
    self.handle_device(dev)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 412, in populate
    self._populate()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 161, in reset
    self.devicetree.populate(cleanup_only=cleanup_only)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1670, in reset
    super().reset(cleanup_only=cleanup_only)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2193, 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/threading.py", line 291, in run
    threading.Thread.run(self)
ValueError: device is already in tree

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-28 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.16.3-301.fc28.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        28

Comment 1 Alex G. 2018-07-18 16:04:40 UTC
Created attachment 1459747 [details]
File: anaconda-tb

Comment 2 Alex G. 2018-07-18 16:04:41 UTC
Created attachment 1459748 [details]
File: anaconda.log

Comment 3 Alex G. 2018-07-18 16:04:42 UTC
Created attachment 1459749 [details]
File: dbus.log

Comment 4 Alex G. 2018-07-18 16:04:43 UTC
Created attachment 1459750 [details]
File: dnf.librepo.log

Comment 5 Alex G. 2018-07-18 16:04:44 UTC
Created attachment 1459751 [details]
File: environ

Comment 6 Alex G. 2018-07-18 16:04:45 UTC
Created attachment 1459752 [details]
File: hawkey.log

Comment 7 Alex G. 2018-07-18 16:04:47 UTC
Created attachment 1459753 [details]
File: lorax-packages.log

Comment 8 Alex G. 2018-07-18 16:04:48 UTC
Created attachment 1459754 [details]
File: lsblk_output

Comment 9 Alex G. 2018-07-18 16:04:49 UTC
Created attachment 1459755 [details]
File: nmcli_dev_list

Comment 10 Alex G. 2018-07-18 16:04:50 UTC
Created attachment 1459756 [details]
File: os_info

Comment 11 Alex G. 2018-07-18 16:04:51 UTC
Created attachment 1459757 [details]
File: program.log

Comment 12 Alex G. 2018-07-18 16:04:52 UTC
Created attachment 1459758 [details]
File: storage.log

Comment 13 Alex G. 2018-07-18 16:04:54 UTC
Created attachment 1459759 [details]
File: syslog

Comment 14 Alex G. 2018-07-18 16:04:55 UTC
Created attachment 1459760 [details]
File: ifcfg.log

Comment 15 Alex G. 2018-07-18 16:04:56 UTC
Created attachment 1459761 [details]
File: packaging.log

Comment 16 Jiri Konecny 2018-07-19 06:51:51 UTC
Based on the traceback it seems that this is an issue of our storage library.

Changing components.

Comment 17 Alex G. 2018-07-19 14:28:30 UTC
I should note that I got this when I had an mdraid set on disks with GPT. I stopped getting this once I rebuilt the array on top of MBR disks.

Comment 18 Ben Cotton 2019-05-02 21:17:22 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 Ben Cotton 2019-05-28 21:53:23 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 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.