Bug 2234448

Summary: Creating the layout by Blivet-GUI does not trigger to update the partition list.
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: anaconda-maint, awilliam, jkonecny, lnie, mkolman, rvykydal, vslavik, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedFreezeException
Fixed In Version: anaconda-39.32.2-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-08 20:25:06 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: 2231339, 2143445    

Description Lukas Ruzicka 2023-08-24 12:59:54 UTC
When trying to create a custom partition layout using the link to Blivet-GUI, I click on the Confirm button in Blivet and the operation is correctly performed, however no information is passed onto Anaconda about the new state of partitions and when I click on Next in WebUI and I want to start assigning the mount points, I am presented with the old partition layout Anaconda had discovered in the beginning. I cannot proceed until I click on "Search again" again. 

This is not very convenient, because I expect that the new layout will be presented both to Anaconda WebUI and me, or that I will be told about the necessity of re-searching.

Reproducible: Always

Steps to Reproduce:
1. Click on Modify Storage.
2. Use Blivet-GUI to create some useful layout.
3. Click Confirm and close Blivet-GUI.
4. Return to WebUI and click Mount point assignment and Next.
5. Bump - you will just see the old layout options.

Workaround - Click "Search again" and then proceed as described in step 5 -> all is well in the Wonderland.
Actual Results:  
Blivet-GUI does not trigger update of the layout for Anaconda.

Expected Results:  
When blivet-gui is used and the new layout is confirmed and created it should update itself in the background, so that new partitions are immediately usable.

Comment 1 Jiri Konecny 2023-08-25 11:10:11 UTC
Yes, we are not able to get information that the partitioning has changed right now. For that reason we will add a dialog before running blivet with instructions how this works. I think this bug should be fix by that change.

Comment 2 Vojtech Trefny 2023-08-30 07:28:46 UTC
*** Bug 2236025 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Blocker Bugs Application 2023-09-01 09:33:59 UTC
Proposed as a Freeze Exception for 39-beta by Fedora user lnie using the blocker tracking app because:

 Propose this as a FE,as it's quite annoying and bring poor user experience,besides,it seems have lots of side effects:
#2236356,#2236409,etc

Comment 4 Adam Williamson 2023-09-04 15:43:12 UTC
hey, I've got a great idea - instead of launching a separate application, we could...somehow *embed* that "advanced custom" partitioning application into the installer flow? that way, the installer would know when it had finished!

(please read this comment with your sarcasm detector running :>)

Comment 5 Adam Williamson 2023-09-04 15:44:44 UTC
+4 in https://pagure.io/fedora-qa/blocker-review/issue/1247 , marking accepted FE.

Comment 6 Martin Kolman 2023-09-04 17:35:21 UTC
I think we can say this PR addresses the main issue: https://github.com/rhinstaller/anaconda/pull/5113

Comment 7 Fedora Update System 2023-09-07 15:48:25 UTC
FEDORA-2023-755dc0b0c0 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-755dc0b0c0

Comment 8 Adam Williamson 2023-09-07 23:27:58 UTC
So now there's a dialog shown telling you to rescan storage. That's probably OK. Setting VERIFIED.

Comment 9 Fedora Update System 2023-09-08 01:36:51 UTC
FEDORA-2023-755dc0b0c0 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-755dc0b0c0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-755dc0b0c0

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

Comment 10 Fedora Update System 2023-09-08 20:25:06 UTC
FEDORA-2023-755dc0b0c0 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.