Bug 1625154 - AttributeError: 'BTRFSVolumeDevice' object has no attribute 'is_magic'
Summary: AttributeError: 'BTRFSVolumeDevice' object has no attribute 'is_magic'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vendula Poncova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9c1cc97bf5a6db4ec95b036e7fa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-04 09:14 UTC by Renich Bon Ciric
Modified: 2021-04-15 10:18 UTC (History)
6 users (show)

Fixed In Version: anaconda-32.5-1
Clone Of:
Environment:
Last Closed: 2021-04-15 10:18:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (3.45 MB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: anaconda.log (31.88 KB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: dbus.log (6.20 KB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: environ (738 bytes, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: journalctl (1.51 MB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: lsblk_output (2.47 KB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: nmcli_dev_list (1.98 KB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: os_info (623 bytes, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: program.log (433.17 KB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: storage.log (794.36 KB, text/plain)
2018-09-04 09:14 UTC, Renich Bon Ciric
no flags Details
File: ifcfg.log (3.98 KB, text/plain)
2018-09-04 09:15 UTC, Renich Bon Ciric
no flags Details

Description Renich Bon Ciric 2018-09-04 09:14:21 UTC
Description of problem:
I was installing Fedora 28 using the new drive partitioning tool. I think what caused everything was an HDD connected to a docking station via USB.

Version-Release number of selected component:
anaconda-core-28.22.10-1.fc28.x86_64

The following was filed automatically by anaconda:
anaconda 28.22.10 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1745, in <listcomp>
    empty = all([p.is_magic for p in partitions])
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1745, in empty_device
    empty = all([p.is_magic for p in partitions])
  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 1817, in should_clear
    if not self.empty_device(device):
  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 1896, in clear_partitions
    should_clear = self.should_clear(disk)
  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/kickstart.py", line 751, in execute
    storage.clear_partitions()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2648, in doKickstartStorage
    ksdata.clearpart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 462, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 484, in _doExecute
    raise e
  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)
AttributeError: 'BTRFSVolumeDevice' object has no attribute 'is_magic'

Additional info:
addons:         com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-28-1-1 rd.live.image quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.16.3-301.fc28.x86_64
other involved packages: anaconda-gui-28.22.10-1.fc28.x86_64, python3-libs-3.6.5-1.fc28.x86_64, python3-blivet-3.0.0-0.6.1.b1.fc28.noarch
product:        Fedora
release:        Fedora release 28 (Twenty Eight)
type:           anaconda
version:        28

Comment 1 Renich Bon Ciric 2018-09-04 09:14:40 UTC
Created attachment 1480705 [details]
File: anaconda-tb

Comment 2 Renich Bon Ciric 2018-09-04 09:14:41 UTC
Created attachment 1480706 [details]
File: anaconda.log

Comment 3 Renich Bon Ciric 2018-09-04 09:14:42 UTC
Created attachment 1480707 [details]
File: dbus.log

Comment 4 Renich Bon Ciric 2018-09-04 09:14:43 UTC
Created attachment 1480708 [details]
File: environ

Comment 5 Renich Bon Ciric 2018-09-04 09:14:50 UTC
Created attachment 1480709 [details]
File: journalctl

Comment 6 Renich Bon Ciric 2018-09-04 09:14:51 UTC
Created attachment 1480710 [details]
File: lsblk_output

Comment 7 Renich Bon Ciric 2018-09-04 09:14:52 UTC
Created attachment 1480711 [details]
File: nmcli_dev_list

Comment 8 Renich Bon Ciric 2018-09-04 09:14:53 UTC
Created attachment 1480712 [details]
File: os_info

Comment 9 Renich Bon Ciric 2018-09-04 09:14:56 UTC
Created attachment 1480713 [details]
File: program.log

Comment 10 Renich Bon Ciric 2018-09-04 09:14:59 UTC
Created attachment 1480714 [details]
File: storage.log

Comment 11 Renich Bon Ciric 2018-09-04 09:15:00 UTC
Created attachment 1480715 [details]
File: ifcfg.log

Comment 12 Ben Cotton 2019-05-02 20:59:26 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 13 Ben Cotton 2019-05-28 22:18:47 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.

Comment 14 Vendula Poncova 2019-09-12 09:49:47 UTC
Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/2128

Comment 15 Ben Cotton 2020-02-11 15:48:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.


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