Bug 1892144

Summary: dasbus.error.DBusError: Process reported exit code 1: /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174 appears to contain a partition table (atari).
Product: [Fedora] Fedora Reporter: Beau V.C. Bellamy <bellamy.beau>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: alfxs, anaconda-maint-list, bgray, blivet-maint-list, bugzilla, bugzilla-redhat, d5f8ahb6v3qgo56v27695urd, dlehman, japokorn, jkonecny, jonathan, jwatt, kellin, kzak, michael.c.thiel, mkolman, rcgoodfellow, Rondom, rvykydal, shadow53+redhat, si.dao, vanmeeuwen+fedora, vponcova, vslavik, vtrefny, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b23da31926583a4ae486ad4484c1d8b24507ba644a7e0b2fa02c49d1cba02ee3;VARIANT_ID=kde;
Fixed In Version: util-linux-2.36.1-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-10 01:27:33 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: dbus.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log none

Description Beau V.C. Bellamy 2020-10-28 02:53:46 UTC
Description of problem:
During install from live-cd

Version-Release number of selected component:
anaconda-core-33.25.4-1.fc33.x86_64

The following was filed automatically by anaconda:
anaconda 33.25.4 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 521, in run_task
    sync_run_task(self._task_proxy)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 490, in start
    self.run_task()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation.py", line 395, in run_installation
    queue.start()
  File "/usr/lib64/python3.9/threading.py", line 888, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)
dasbus.error.DBusError: Process reported exit code 1: /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174 appears to contain a partition table (atari).
ERROR: use the -f option to force overwrite of /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174


Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/syslinux/vmlinuz root=live:UUID=84C2-62BD rd.live.image rw rd.live.overlay=UUID=84C2-62BD quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         5.8.15-301.fc33.x86_64
other involved packages: python3-dasbus-1.4-2.fc33.noarch, python3-libs-3.9.0-1.fc33.x86_64
product:        Fedora
release:        Fedora release 33 (Thirty Three)
type:           anaconda
version:        33

Comment 1 Beau V.C. Bellamy 2020-10-28 02:54:23 UTC
Created attachment 1724668 [details]
File: anaconda-tb

Comment 2 Beau V.C. Bellamy 2020-10-28 02:54:24 UTC
Created attachment 1724669 [details]
File: anaconda.log

Comment 3 Beau V.C. Bellamy 2020-10-28 02:54:25 UTC
Created attachment 1724670 [details]
File: dbus.log

Comment 4 Beau V.C. Bellamy 2020-10-28 02:54:26 UTC
Created attachment 1724671 [details]
File: environ

Comment 5 Beau V.C. Bellamy 2020-10-28 02:54:43 UTC
Created attachment 1724672 [details]
File: journalctl

Comment 6 Beau V.C. Bellamy 2020-10-28 02:54:45 UTC
Created attachment 1724673 [details]
File: lsblk_output

Comment 7 Beau V.C. Bellamy 2020-10-28 02:54:57 UTC
Created attachment 1724674 [details]
File: lvm.log

Comment 8 Beau V.C. Bellamy 2020-10-28 02:54:58 UTC
Created attachment 1724675 [details]
File: nmcli_dev_list

Comment 9 Beau V.C. Bellamy 2020-10-28 02:54:59 UTC
Created attachment 1724676 [details]
File: os_info

Comment 10 Beau V.C. Bellamy 2020-10-28 02:55:01 UTC
Created attachment 1724677 [details]
File: program.log

Comment 11 Beau V.C. Bellamy 2020-10-28 02:55:08 UTC
Created attachment 1724678 [details]
File: storage.log

Comment 12 Vladimír Slávik 2020-11-13 14:49:03 UTC
Beau V.C. Bellamy, thank you for the report! The problem seems to be in blivet, our storage library - reassigning.

----

From journal:

Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: INFO:program:Running [59] mkfs.btrfs --label fedora_localhost-live /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174 ...
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: INFO:anaconda.threading:Thread Failed: AnaTaskThread-CreateStorageLayoutTask-1 (140326215546432)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-CreateStorageLayoutTask-1 has failed: Traceback (most recent call last):
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 1030, in wrapped
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     ret = orig_obj(*args, **kwargs)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 122, in btrfs_create_volume
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     return _btrfs_create_volume(devices, label, data_level, md_level, extra)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: gi.repository.GLib.GError: g-bd-utils-exec-error-quark: Process reported exit code 1: /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174 appears to contain a partition table (atari).
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: ERROR: use the -f option to force overwrite of /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:  (0)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: During handling of the above exception, another exception occurred:
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: Traceback (most recent call last):
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/site-packages/pyanaconda/threading.py", line 280, in run
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     threading.Thread.run(self)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/threading.py", line 888, in run
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     self._target(*self._args, **self._kwargs)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _task_run_callback
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     self._set_result(self.run())
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/installation.py", line 82, in run
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     self._turn_on_filesystems(
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/installation.py", line 162, in _turn_on_filesystems
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     storage.do_it(callbacks)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     return m(*args, **kwargs)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/blivet.py", line 116, in do_it
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/actionlist.py", line 48, in wrapped_func
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     return func(obj, *args, **kwargs)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/actionlist.py", line 327, in process
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     action.execute(callbacks)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     return m(*args, **kwargs)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/deviceaction.py", line 335, in execute
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     self.device.create()
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     return m(*args, **kwargs)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/devices/storage.py", line 467, in create
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     self._create()
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     return m(*args, **kwargs)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib/python3.9/site-packages/blivet/devices/btrfs.py", line 420, in _create
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     blockdev.btrfs.create_volume([d.path for d in self.parents],
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:   File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 1056, in wrapped
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]:     raise transform[1](msg)
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: gi.overrides.BlockDev.BtrfsError: Process reported exit code 1: /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174 appears to contain a partition table (atari).
Oct 27 22:50:45 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2515]: ERROR: use the -f option to force overwrite of /dev/mapper/luks-bd9ae6ca-01d7-4845-a4b4-982ef0dd3174

Comment 13 Vladimír Slávik 2020-11-13 14:53:07 UTC
*** Bug 1893585 has been marked as a duplicate of this bug. ***

Comment 14 Vojtech Trefny 2020-12-16 11:07:31 UTC
*** Bug 1900318 has been marked as a duplicate of this bug. ***

Comment 15 Vojtech Trefny 2020-12-16 11:07:39 UTC
*** Bug 1643655 has been marked as a duplicate of this bug. ***

Comment 16 Vojtech Trefny 2020-12-16 11:09:11 UTC
*** Bug 1894069 has been marked as a duplicate of this bug. ***

Comment 17 Vojtech Trefny 2020-12-16 11:11:33 UTC
We are using data from UDev database which are provided by libblkid so I'm moving this bug to util-linux. This should be already fixed upstream:

https://github.com/karelzak/util-linux/commit/282ceadc3a72fc07dd0388b8880fd751490bb87f
https://github.com/karelzak/util-linux/commit/2cc76d50d7a14bef8e7b07fab11b26c9e49d36a2

Comment 18 Karel Zak 2020-12-17 13:26:11 UTC
Sounds like we need v2.36.2 to fix some issues.

Comment 19 Vojtech Trefny 2021-01-05 08:44:16 UTC
*** Bug 1912099 has been marked as a duplicate of this bug. ***

Comment 20 Vojtech Trefny 2021-01-05 08:44:19 UTC
*** Bug 1912145 has been marked as a duplicate of this bug. ***

Comment 21 Vojtech Trefny 2021-01-06 19:00:02 UTC
*** Bug 1913394 has been marked as a duplicate of this bug. ***

Comment 22 Fedora Update System 2021-01-07 10:34:33 UTC
FEDORA-2021-e179931904 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e179931904

Comment 23 Karel Zak 2021-01-07 10:39:08 UTC
(In reply to Karel Zak from comment #18)
> Sounds like we need v2.36.2 to fix some issues.

It's already fixed in v2.33.1, but the update was in master (rawhide) only. Sorry. Now it's available also for f33.

Comment 24 Fedora Update System 2021-01-08 02:43:08 UTC
FEDORA-2021-e179931904 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e179931904`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e179931904

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2021-01-10 01:27:33 UTC
FEDORA-2021-e179931904 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 26 Vojtech Trefny 2021-03-09 09:17:52 UTC
*** Bug 1936695 has been marked as a duplicate of this bug. ***

Comment 27 Vojtech Trefny 2021-03-09 09:17:58 UTC
*** Bug 1936156 has been marked as a duplicate of this bug. ***

Comment 28 Vojtech Trefny 2021-04-30 05:16:46 UTC
*** Bug 1955337 has been marked as a duplicate of this bug. ***

Comment 29 Vojtech Trefny 2021-05-18 11:31:31 UTC
*** Bug 1919591 has been marked as a duplicate of this bug. ***