Description of problem: Issue triggers while trying to create a LUKS encrypted BTRFS LVM volume. The structure looked like this: p1: EFI /boot/efi p2: ext4 /boot p3: LUKS2 > LVM Group > LVM Volume | > LUKS2 | > swap > LVM Volume | > LUKS2 | > btrfs / * crash here! Version-Release number of selected component: anaconda-41.35 The following was filed automatically by anaconda: anaconda 41.35 exception report Traceback (most recent call first): File "/usr/lib/python3.13/site-packages/blivetgui/osinstall.py", line 234, in _reraise_exception raise type(exception)(message + str(exception) + "\n" + traceback) File "/usr/lib/python3.13/site-packages/blivetgui/blivetgui.py", line 514, in add_device self._reraise_exception(result.exception, result.traceback, message, AttributeError: Failed to add the device:'DeviceFormat' object has no attribute '_header_size' Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 1346, in add_device actions = add_function(self, user_input) File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 1096, in _create_lvmlv actions.extend(self._create_format(user_input, luks_dev)) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 935, in _create_format actions = self._create_btrfs_format(user_input, device) File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 958, in _create_btrfs_format device.format = btrfs_fmt ^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/blivet/threads.py", line 49, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.13/site-packages/blivet/devices/storage.py", line 836, in <lambda> lambda d, f: d._set_format(f), ~~~~~~~~~~~~~^^^ File "/usr/lib/python3.13/site-packages/blivet/threads.py", line 49, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.13/site-packages/blivet/devices/storage.py", line 786, in _set_format if fmt.max_size and fmt.max_size < self.size: ^^^^^^^^^ File "/usr/lib/python3.13/site-packages/blivet/threads.py", line 49, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.13/site-packages/blivet/devices/luks.py", line 80, in _get_size size = self.raw_device.size - self.raw_device.format._header_size ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'DeviceFormat' object has no attribute '_header_size' Additional info: hawkey.log: 2024-12-13T20:01:18+0000 INFO === Started libdnf-0.73.3 === version: 41 kernel: 6.11.4-301.fc41.x86_64 addons: com_redhat_kdump cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/41/Server/x86_64/os/ ip=dhcp quiet release: Fedora release 41 (Forty One) type: anaconda package: anaconda-41.35 reason: AttributeError: Failed to add the device:'DeviceFormat' object has no attribute '_header_size' product: Fedora hashmarkername: anaconda executable: /sbin/anaconda cmdline: /usr/bin/python3 /sbin/anaconda
Created attachment 2062339 [details] File: dbus.log
Created attachment 2062340 [details] File: lsblk_output
Created attachment 2062341 [details] File: lorax-packages.log
Created attachment 2062342 [details] File: anaconda.log
Created attachment 2062343 [details] File: anaconda-tb
Created attachment 2062344 [details] File: nmcli_dev_list
Created attachment 2062345 [details] File: packaging.log
Created attachment 2062346 [details] File: storage.log
Created attachment 2062347 [details] File: description
Created attachment 2062348 [details] File: syslog
Created attachment 2062349 [details] File: environ
Created attachment 2062350 [details] File: backtrace
Created attachment 2062351 [details] File: os_info
Created attachment 2062352 [details] File: packaging.log
*** Bug 2335782 has been marked as a duplicate of this bug. ***
upstream PR: https://github.com/storaged-project/blivet-gui/pull/466
FEDORA-2025-a71685c28b (blivet-gui-2.6.0-3.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-a71685c28b
FEDORA-2025-a71685c28b has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-a71685c28b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a71685c28b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-a71685c28b (blivet-gui-2.6.0-3.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
*** Bug 2423976 has been marked as a duplicate of this bug. ***