Bug 2232398

Summary: [webui] Mount point assignment reports "Duplicate mount point." after deleting mapping
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: anaconda-maint
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint, awilliam, vslavik, w
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2143446, 2231339    
Attachments:
Description Flags
reproducer none

Description Jan Stodola 2023-08-16 16:20:59 UTC
The installer gets confused when mount point assignment is used in webui, mount point mappings are configured and then one mapping is removed and configured again. A video will demonstrate it.

Reproducible: Always

Steps to Reproduce:
1. Run a webui installation on a system with pre-existing partitioning (in my case it was a default installation of Fedora 38 Workstation in UEFI mode)
2. Select "Mount point assignment", create mappings for /boot, /, /boot/efi, /home
3. Remove the mapping for /boot/efi
4. Create a new mapping for /boot/efi
Actual Results:  
webui reports "Duplicate mount point." and the device previously selected for /home is de-selected. Next attempts to set the correct device for /boot/efi and /home mount points are not successful, since the selected device is set for both mount points.

Expected Results:  
Able to add a mapping for /boot/efi

Comment 1 Jan Stodola 2023-08-16 16:22:08 UTC
Created attachment 1983635 [details]
reproducer

Comment 2 Adam Williamson 2023-08-17 15:16:22 UTC
I think it's probably worth considering this for a Final blocker (assuming we go ahead with WebUI), it's a close call for me whether it really *is* one.