Bug 2549531

Summary: Anaconda crashes during installation with an existing Stratis layout
Product: [Fedora] Fedora Reporter: Lukáš Růžička (Fedora Quality) <lukas.ruzicka>
Component: python-blivetAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 45CC: alpha, anaconda-maint, blivet-maint-list, kkoukiou, kparal.oss, lukas.ruzicka, mkolman, rhbz, rvykydal, vtrefny, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:df50d26910d3d7b1087b0bd78337c4cab0422bd0c755bf66e8a85e7c732d44d1;VARIANT_ID=server; AcceptedBlocker
Fixed In Version: python-blivet-3.14.2-4.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-20 17:26:18 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:
Bug Depends On:    
Bug Blocks: 2406954    
Attachments:
Description Flags
File: anaconda-tb
none
File: backtrace
none
File: os_info
none
File: environ
none
File: syslog
none
File: description
none
File: storage.log
none
File: packaging.log
none
File: program.log
none
File: nmcli_dev_list
none
File: anaconda.log
none
File: lorax-packages.log
none
File: lsblk_output
none
File: dbus.log
none
File: packaging.log none

Description Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:30 UTC
Description of problem:
I was trying to install the Server using Arabic, I am not sure what choices I took :D

Version-Release number of selected component:
anaconda-45.27


The following was filed automatically by anaconda:
anaconda 45.27 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.15/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.15/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.15/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.15/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 82, in _on_installation_done
    self._task_proxy.Finish()
  File "/usr/lib/python3.15/site-packages/dasbus/signal.py", line 53, in emit
    callback(*args, **kwargs)
  File "/usr/lib/python3.15/site-packages/dasbus/client/handler.py", line 365, in _signal_callback
    callback(*unwrap_variant(parameters))
  File "/usr/lib/python3.15/site-packages/dasbus/client/handler.py", line 133, in _signal_callback
    callback(parameters, *callback_args)
pyanaconda.modules.common.errors.general.AnacondaError: Message recipient disconnected from message bus without replying

Additional info:
comment:        I was trying to install the Server using Arabic, I am not sure what choices I took :D
cmdline:        /usr/bin/python3  /usr/bin/anaconda
executable:     /usr/bin/anaconda
hashmarkername: anaconda
product:        Fedora
reason:         pyanaconda.modules.common.errors.general.AnacondaError: Message recipient disconnected from message bus without replying
package:        anaconda-45.27
release_type:   pre-release
type:           anaconda
release:        Fedora release 45 (Forty Five)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-45 quiet
addons:         com_redhat_kdump
kernel:         7.2.9-300.fc45.x86_64
version:        45

Comment 1 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:33 UTC
Created attachment 2160872 [details]
File: anaconda-tb

Comment 2 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:34 UTC
Created attachment 2160873 [details]
File: backtrace

Comment 3 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:35 UTC
Created attachment 2160874 [details]
File: os_info

Comment 4 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:37 UTC
Created attachment 2160875 [details]
File: environ

Comment 5 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:38 UTC
Created attachment 2160876 [details]
File: syslog

Comment 6 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:40 UTC
Created attachment 2160877 [details]
File: description

Comment 7 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:41 UTC
Created attachment 2160878 [details]
File: storage.log

Comment 8 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:43 UTC
Created attachment 2160879 [details]
File: packaging.log

Comment 9 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:44 UTC
Created attachment 2160880 [details]
File: program.log

Comment 10 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:46 UTC
Created attachment 2160881 [details]
File: nmcli_dev_list

Comment 11 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:47 UTC
Created attachment 2160882 [details]
File: anaconda.log

Comment 12 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:48 UTC
Created attachment 2160883 [details]
File: lorax-packages.log

Comment 13 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:50 UTC
Created attachment 2160884 [details]
File: lsblk_output

Comment 14 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:51 UTC
Created attachment 2160885 [details]
File: dbus.log

Comment 15 Lukáš Růžička (Fedora Quality) 2026-10-12 11:20:53 UTC
Created attachment 2160886 [details]
File: packaging.log

Comment 16 Lukáš Růžička (Fedora Quality) 2026-10-12 11:35:48 UTC
I realized that the system had two disks with an existing storage layout, including a Stratis pool on one of them.

### Steps to Reproduce

1. Prepare a virtual machine with two disks:
   - `/dev/vda` (20 GiB): existing ext4 and Btrfs partitions.
   - `/dev/vdb` (15 GiB): an existing Stratis pool (`pool1`) containing a filesystem (`home`).
2. Boot the Fedora 45 Server DVD installer.
3. Open the Installation Destination screen.
4. Select only `/dev/vda` as the installation target, leaving `/dev/vdb` unselected.
5. Choose automatic partitioning to create a standard Fedora storage layout.
6. Start the installation.

### Actual Result

Anaconda crashes during storage configuration.

The logs show a segmentation fault in `dm_task_get_names()` during storage teardown, followed by a D-Bus disconnection error in the graphical installer.

### Expected Result

Anaconda should successfully install Fedora on the selected disk using a standard storage layout, without crashing or modifying the existing Stratis pool on the unselected disk.

### Environment

- Fedora 45 Server DVD
- Anaconda 45.27-2.fc45
- Architecture: x86_64
- Virtual machine with two disks

Comment 17 Lukáš Růžička (Fedora Quality) 2026-10-12 11:38:16 UTC
Proposing this a Final Blocker based on the following criterion:

https://fedoraproject.org/wiki/Fedora_45_Beta_Release_Criteria#Guided_partitioning

Comment 18 Adam Williamson (Fedora) 2026-10-12 15:10:55 UTC
+3 in https://forge.fedoraproject.org/quality/blocker-review/issues/2222 , marking accepted. I guess we need a test case for this, too.

Comment 19 Fedora Update System 2026-10-15 14:12:37 UTC
FEDORA-2026-3722c48e11 (libblockdev-3.5.0-5.fc45 and python-blivet-3.14.2-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3722c48e11

Comment 20 Fedora Update System 2026-10-16 21:32:20 UTC
FEDORA-2026-3722c48e11 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-3722c48e11`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-3722c48e11

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

Comment 21 Kamil Paral (Fedora Quality) 2026-10-19 16:41:19 UTC
Lukas, can you please verify whether this is fixed in RC1.1? Thanks.

Comment 22 Lukáš Růžička (Fedora Quality) 2026-10-19 17:43:11 UTC
I cannot reproduce the issue any more with the above update. I consider the issue fixed and verified.

Comment 23 Fedora Update System 2026-10-20 17:26:18 UTC
FEDORA-2026-3722c48e11 (libblockdev-3.5.0-5.fc45 and python-blivet-3.14.2-4.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.