Bug 2351830

Summary: WebUI: TypeError: n[Z] is undefinedMDRAID-raid0
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: anaconda-webuiAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: anaconda-maint, awilliam, jkonecny, kkoukiou, kparal, mkolman, robatino, rvykydal, w
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: anaconda-webui-30-1.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-28 00:19:15 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: 2291265    
Attachments:
Description Flags
webui.log
none
storage.log
none
journal
none
anaconda.log
none
updates.img with fix for pre-verification while PR is open none

Description lnie 2025-03-13 09:37:35 UTC
Installer WebUI Critical Error:
TypeError: n[Z] is undefined
MDRAID-raid0



Reproducible: Always

Comment 1 lnie 2025-03-13 09:40:18 UTC
Created attachment 2079997 [details]
webui.log

Comment 2 lnie 2025-03-13 09:41:27 UTC
Created attachment 2079998 [details]
storage.log

Comment 3 lnie 2025-03-13 09:43:28 UTC
Created attachment 2079999 [details]
journal

Comment 4 lnie 2025-03-13 09:44:16 UTC
Created attachment 2080000 [details]
anaconda.log

Comment 5 Katerina Koukiou 2025-03-13 10:54:42 UTC
Please add the steps for the reproducer.

Comment 6 lnie 2025-03-14 08:58:59 UTC
Sorry for the a bit late reply, I was trying to find more blocker like bugs before the go/not-go meeting.
Here is reproducer:
1.boot Fedora-Workstation-Live-42_Beta-1.4.x86_64.iso on a VM with 3 disks
2.select all the disks, and launch storage editor
3 create a mdraid device( I selected raid1) on top of two disks, then delete it,and you will see this crash immediately after you click"return to installation"(100% reproduciable)

Please note:
1.on step3,after you delete the mdraid device, you will see this bug even if you format the disk ,but you will Not see this bug if you create partition table on the disk
2.If you click quit and restart anaconda without rebooting the system,you will not see this bug anymore,and you will see it again after you reboot the machine.
3.If you boot a system with an existing raid device on step1,you don't need to create another one on step3.

I also checked with mdraid on top of partitions, it is Not affected by this bug.

Comment 7 lnie 2025-03-19 14:57:44 UTC
 Still see this crash with anaconda-webui-27-1.fc42.noarch, 100%(3/3) reproducible on deleting an existing on top of disks raid device.
 Gonna to propose it as a final blocker to broadcast this bug, and draw more attention.

Comment 8 Fedora Blocker Bugs Application 2025-03-19 14:59:11 UTC
Proposed as a Blocker for 42-final by Fedora user lnie using the blocker tracking app because:

 Violates  "Remove existing storage volumes" part of https://fedoraproject.org/wiki/Fedora_42_Beta_Release_Criteria#Custom_partitioning

Comment 9 Katerina Koukiou 2025-03-20 15:59:23 UTC
Upstream PR: https://github.com/rhinstaller/anaconda-webui/pull/713

Comment 10 Katerina Koukiou 2025-03-20 16:05:36 UTC
Created attachment 2081097 [details]
updates.img with fix for pre-verification while PR is open

Comment 11 Kamil Páral 2025-03-21 13:00:44 UTC
*** Bug 2353153 has been marked as a duplicate of this bug. ***

Comment 12 Kamil Páral 2025-03-21 13:01:50 UTC
Just a note, I discovered the same issue in bug 2353153 (with perhaps a bit different steps).

Comment 13 Adam Williamson 2025-03-24 15:46:59 UTC
+6 in https://pagure.io/fedora-qa/blocker-review/issue/1802 , marking accepted.

Comment 14 Fedora Update System 2025-03-24 16:34:34 UTC
FEDORA-2025-63711d039a (anaconda-42.27.7-1.fc42 and anaconda-webui-29-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-63711d039a

Comment 15 Fedora Update System 2025-03-25 02:00:35 UTC
FEDORA-2025-63711d039a 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-63711d039a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-63711d039a

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

Comment 16 Kamil Páral 2025-03-25 12:53:05 UTC
With these two updates:
https://bodhi.fedoraproject.org/updates/FEDORA-2025-63711d039a
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f696bd8401
I tried to reproduce the bug and it no longer crashes. I think it's fixed.

Comment 17 Fedora Update System 2025-03-26 01:31:32 UTC
FEDORA-2025-63711d039a 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-63711d039a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-63711d039a

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

Comment 18 Fedora Update System 2025-03-28 00:19:15 UTC
FEDORA-2025-63711d039a (anaconda-42.27.9-1.fc42 and anaconda-webui-30-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.