Bug 2444078 - Cannot parse given Error object
Summary: Cannot parse given Error object
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda-webui
Version: 44
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Katerina Koukiou
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: BetaBlocker, F44BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2026-03-03 10:08 UTC by Lukas Ruzicka
Modified: 2026-03-03 15:21 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Log file: /tmp/journal.log (1.25 MB, text/plain)
2026-03-03 10:08 UTC, Lukas Ruzicka
no flags Details
Log file: /tmp/anaconda.log (6.77 KB, text/plain)
2026-03-03 10:08 UTC, Lukas Ruzicka
no flags Details
Log file: /tmp/storage.log (399.04 KB, text/plain)
2026-03-03 10:08 UTC, Lukas Ruzicka
no flags Details
Log file: /tmp/program.log (10.77 KB, text/plain)
2026-03-03 10:08 UTC, Lukas Ruzicka
no flags Details
Log file: /tmp/packaging.log (6.75 KB, text/plain)
2026-03-03 10:08 UTC, Lukas Ruzicka
no flags Details
Log file: /tmp/anaconda-webui.log (9.18 KB, text/plain)
2026-03-03 10:08 UTC, Lukas Ruzicka
no flags Details

Description Lukas Ruzicka 2026-03-03 10:08:19 UTC
Cannot parse given Error object

I was trying to set up a RAID 0 device when this happened. I will provide more information later.

---[ Frontend Stacktrace ]---
this.parseV8OrIE (http://127.0.0.1/cockpit/@localhost/node_modules/error-stack-parser/error-stack-parser.js:35:22)
Promise(function (http://127.0.0.1/cockpit/@localhost/node_modules/stacktrace-js/stacktrace.js:106:61)
Promise(function (http://127.0.0.1/cockpit/@localhost/node_modules/stacktrace-js/stacktrace.js:105:19)
componentDidMount (http://127.0.0.1/cockpit/@localhost/src/components/Error.jsx:812:53)
onunhandledrejection (http://127.0.0.1/cockpit/@localhost/src/components/Error.jsx:821:62)

---[ System & Environment Information ]---
OS: Fedora Linux 44 (Workstation Edition Prerelease)
Anaconda version: 44.21
Anaconda UI version: 66.1.g8b67635c

Comment 1 Lukas Ruzicka 2026-03-03 10:08:22 UTC
Created attachment 2131850 [details]
Log file: /tmp/journal.log

Comment 2 Lukas Ruzicka 2026-03-03 10:08:24 UTC
Created attachment 2131851 [details]
Log file: /tmp/anaconda.log

Comment 3 Lukas Ruzicka 2026-03-03 10:08:27 UTC
Created attachment 2131852 [details]
Log file: /tmp/storage.log

Comment 4 Lukas Ruzicka 2026-03-03 10:08:29 UTC
Created attachment 2131853 [details]
Log file: /tmp/program.log

Comment 5 Lukas Ruzicka 2026-03-03 10:08:31 UTC
Created attachment 2131854 [details]
Log file: /tmp/packaging.log

Comment 6 Lukas Ruzicka 2026-03-03 10:08:33 UTC
Created attachment 2131855 [details]
Log file: /tmp/anaconda-webui.log

Comment 7 Fedora Blocker Bugs Application 2026-03-03 10:10:17 UTC
Proposed as a Blocker for 44-beta by Fedora user lruzicka using the blocker tracking app because:

 I am proposing this as a beta blocker based on the following criterion:

https://fedoraproject.org/wiki/Fedora_44_Beta_Release_Criteria#Custom_partitioning

Comment 8 Lukas Ruzicka 2026-03-03 10:18:28 UTC
Summary:
Anaconda WebUI crashes when creating RAID 0 on GPT-initialized virtio disks during installation

Description:
While attempting to configure a RAID 0 array in the Anaconda WebUI during Fedora 44 installation, the installer crashed immediately after attempting to create the RAID device.

Version:
Fedora 44 Beta (Release Candidate 1.2)

Environment:

Installation method: Anaconda WebUI
Architecture: x86_64 (virtual machine)
Virtualization: VM with virtio disks

Storage configuration:
vda – 20 GB (virtio)
vdb – 20 GB (virtio)
vdc – 10 GB (virtio)

Steps to Reproduce:
1. Boot Fedora 44 Beta (RC 1.2) installer in a virtual machine.
2. Attach three virtio disks:
     20 GB (vda)
     20 GB (vdb)
     10 GB (vdc)
3. In Anaconda WebUI storage configuration:
     a) On vdc (10 GB disk), create: EFI System Partition and /boot partition
     b) On vda and vdb (20 GB disks): Initialize both disks with GPT partition tables.
     c) Attempt to create a RAID 0 array using space on vda and vdb.
     d) Confirm the RAID creation.

Expected Result:
RAID 0 device should be created successfully and available for further partitioning or filesystem configuration or an error message should be shown that the operation is not legal. 

Actual Result:
Anaconda WebUI crashes immediately after attempting to create the RAID device. The installer reports an internal error and terminates the storage configuration workflow.

Reproducibility:
Occurred during initial attempt (frequency not yet tested multiple times).

Additional Information:
See the crash report generated by Anaconda for details

Comment 9 Kamil Páral 2026-03-03 12:00:30 UTC
I tried to follow the reproducer to the letter, but saw no anaconda crash. On RAID0 I created the / partition, installed the system, and it boots fine.

Lukas, can you reproduce it again?

This might be perhaps related to the previous contents present on the disk.

Comment 10 Katerina Koukiou 2026-03-03 12:10:30 UTC
Something throws an error but it's not properly formatted. And when ErrorRenderer tries to parse, the parser it uses, so the error-stack-parser blows up.
I can't see in the logs what the error was, but I can make sure that Error handling does not crash the installer, if the exception is not in expected format.

Comment 11 Katerina Koukiou 2026-03-03 14:47:10 UTC
The real error was covered up by an exception in the error reporting dialog itself: I have a fix for that https://github.com/rhinstaller/anaconda-webui/pull/1198

The real error is hidden in the journal: 
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]: WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Modules.Storage.DeviceTree.Viewer.GetDiskTotalSpace has failed with an exception:
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]: Traceback (most recent call last):
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:   File "/usr/lib/python3.14/site-packages/dasbus/server/handler.py", line 455, in _method_callback
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     result = self._handle_call(
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:         interface_name,
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     ...<2 lines>...
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:         **additional_args
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     )
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:   File "/usr/lib/python3.14/site-packages/dasbus/server/handler.py", line 265, in _handle_call
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     return handler(*parameters, **additional_args)
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:   File "/usr/lib64/python3.14/site-packages/pyanaconda/modules/storage/devicetree/viewer_interface.py", line 202, in GetDiskTotalSpace
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     return self.implementation.get_disk_total_space(disk_ids)
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:   File "/usr/lib64/python3.14/site-packages/pyanaconda/modules/storage/devicetree/viewer.py", line 508, in get_disk_total_space
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     disks = self._get_devices(disk_ids)
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:   File "/usr/lib64/python3.14/site-packages/pyanaconda/modules/storage/devicetree/viewer.py", line 295, in _get_devices
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     return list(map(self._get_device, device_ids))
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:   File "/usr/lib64/python3.14/site-packages/pyanaconda/modules/storage/devicetree/viewer.py", line 285, in _get_device
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]:     raise UnknownDeviceError(device_id)
Mar 03 10:06:46 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3529]: pyanaconda.modules.common.errors.storage.UnknownDeviceError: MDRAID-localhost-live:raid0


Note You need to log in before you can comment on or make changes to this bug.