Bug 2423976
| Summary: | AttributeError: Failed to add the device:'DeviceFormat' object has no attribute '_header_size' | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | dinkin | ||||||||||||||||||||||||||||||||
| Component: | anaconda | Assignee: | Martin Kolman <mkolman> | ||||||||||||||||||||||||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||||||||
| Version: | 41 | CC: | afedorova, alpha, anaconda-maint, dinkin, kkoukiou, mkolman, w | ||||||||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:8e0bf90d9b347a0fa416fcac738059e29a5a90b11708f2f6b22683e1b81b1089;VARIANT_ID=kinoite; | ||||||||||||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | --- | |||||||||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||||||||
| Last Closed: | 2025-12-19 22:25:55 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: |
|
||||||||||||||||||||||||||||||||||
Created attachment 2119277 [details]
File: anaconda-tb
Created attachment 2119278 [details]
File: backtrace
Created attachment 2119279 [details]
File: os_info
Created attachment 2119280 [details]
File: environ
Created attachment 2119281 [details]
File: syslog
Created attachment 2119282 [details]
File: description
Created attachment 2119283 [details]
File: storage.log
Created attachment 2119284 [details]
File: packaging.log
Created attachment 2119285 [details]
File: program.log
Created attachment 2119286 [details]
File: nmcli_dev_list
Created attachment 2119287 [details]
File: anaconda.log
Created attachment 2119288 [details]
File: lorax-packages.log
Created attachment 2119289 [details]
File: lsblk_output
Created attachment 2119290 [details]
File: dbus.log
Created attachment 2119291 [details]
File: packaging.log
Fedora Linux 41 entered end-of-life (EOL) status on 2025-12-15. Fedora Linux 41 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 the vanilla Fedora Linux (42, 43 or Rawhide) please feel free to reopen this bug against that version. *** This bug has been marked as a duplicate of bug 2332338 *** |
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 515, 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 1348, in add_device actions = add_function(self, user_input) File "/usr/lib/python3.13/site-packages/blivetgui/blivet_utils.py", line 1037, in _create_partition 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: cmdline: /usr/bin/python3 /sbin/anaconda executable: /sbin/anaconda hashmarkername: anaconda product: Fedora reason: AttributeError: Failed to add the device:'DeviceFormat' object has no attribute '_header_size' package: anaconda-41.35 type: anaconda release: Fedora release 41 (Forty One) cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=bazzite-x86_64-stable quiet addons: com_redhat_kdump kernel: 6.16.12-100.fc41.x86_64 version: 41