Bug 2401870
| Summary: | Cannot add encrypted MD RAID btrfs device in blivet-gui | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vojtech Trefny <vtrefny> |
| Component: | blivet-gui | Assignee: | Vojtech Trefny <vtrefny> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 43 | CC: | awilliam, mkolman, robatino, vtrefny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | AcceptedBlocker | ||
| Fixed In Version: | blivet-gui-2.6.0-10.fc43 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-10-12 17:30:38 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: | 2324225 | ||
FEDORA-2025-1b82863bf3 (blivet-gui-2.6.0-10.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-1b82863bf3 FEDORA-2025-1b82863bf3 has been pushed to the Fedora 43 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-1b82863bf3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-1b82863bf3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Proposed as a Blocker for 43-final by Fedora user vtrefny using the blocker tracking app because: This is not a critical bug (btrfs on top of encrypted MD RAID is probably not a widely used configuration), but it technically violates the "Disk layouts" release criterion. The fix is simple and already available in Bodhi and chance it breaks anything else is very low so I think it is worth fixing this in F43. +3 in https://pagure.io/fedora-qa/blocker-review/issue/1960 , marking accepted blocker. FEDORA-2025-1b82863bf3 (blivet-gui-2.6.0-10.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. |
AttributeError: Failed to add the device: 'DeviceFormat' object has no attribute '_header_size' Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/blivetgui/blivet_utils.py", line 1432, in add_device actions = add_function(self, user_input) File "/usr/lib/python3.14/site-packages/blivetgui/blivet_utils.py", line 1304, in _create_mdraid actions.extend(self._create_format(user_input, luks_dev)) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/blivetgui/blivet_utils.py", line 977, in _create_format actions = self._create_btrfs_format(user_input, device) File "/usr/lib/python3.14/site-packages/blivetgui/blivet_utils.py", line 994, in _create_btrfs_format device.format = btrfs_fmt ^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/blivet/threads.py", line 48, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.14/site-packages/blivet/devices/storage.py", line 836, in <lambda> lambda d, f: d._set_format(f), ~~~~~~~~~~~~~^^^ File "/usr/lib/python3.14/site-packages/blivet/threads.py", line 48, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.14/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.14/site-packages/blivet/threads.py", line 48, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.14/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' ------------------------------------------------------------------------------- Original report: https://discussion.fedoraproject.org/t/atomic-desktop-install-with-software-raid/166912 Reproducible: Always