Bug 2354497 - re-format an encrypt partition make it pretty hard to continue the installation
Summary: re-format an encrypt partition make it pretty hard to continue the installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Marius Vollmer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F42FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2025-03-24 10:07 UTC by lnie
Modified: 2025-03-28 10:44 UTC (History)
12 users (show)

Fixed In Version: cockpit-336.1-1.fc43 cockpit-336.1-1.fc42
Clone Of:
Environment:
Last Closed: 2025-03-28 10:44:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
anaconda.log (6.95 KB, text/plain)
2025-03-24 10:08 UTC, lnie
no flags Details
storage.log (512.96 KB, text/plain)
2025-03-24 10:10 UTC, lnie
no flags Details
screencast (626.21 KB, video/mp4)
2025-03-24 10:13 UTC, lnie
no flags Details
screenshot (110.11 KB, image/png)
2025-03-24 10:15 UTC, lnie
no flags Details

Description lnie 2025-03-24 10:07:47 UTC
1.boot Fedora-Workstation-Live-42-20250315.n.0.x86_64.iso on a VM with one disk
2 create /boot /boot/efi and a rootfs with LUKS2 
3 reformat root partition and "reusing existing encryption"
4 after "return to installation" is clicked, warning pops up,claiming "luks device vda3 can't be reused for installation without an encryption key specified for the device" though I did input the password.

If you delete that rootfs and then create an encrypted  rootfs again, you will end up with another warning(screenshot), if you create a non-encrypted rootfs, you will see 
"you have not defined a root partition(/),which is required for installation of fedora to continue", but / is right there.Just the same as :https://bugzilla.redhat.com/show_bug.cgi?id=2353524

Please note this is also 100% reproducible  with the latest anaconda-webui:anaconda-webui-28-1.fc42.noarch


Reproducible: Always

Comment 1 lnie 2025-03-24 10:08:26 UTC
Created attachment 2081599 [details]
anaconda.log

Comment 2 lnie 2025-03-24 10:10:02 UTC
Created attachment 2081600 [details]
storage.log

Comment 3 lnie 2025-03-24 10:13:07 UTC
Created attachment 2081601 [details]
screencast

Comment 4 lnie 2025-03-24 10:15:50 UTC
Created attachment 2081602 [details]
screenshot

Comment 5 Katerina Koukiou 2025-03-24 11:53:36 UTC
This is an issue with cockpit-storage not handling out passwords when 'Reuse existing encryption' code path is followed. Changing the component to cockpit-storage.

Comment 6 Fedora Blocker Bugs Application 2025-03-24 15:16:35 UTC
Proposed as a Blocker for 42-final by Fedora user lnie using the blocker tracking app because:

 It seems affects the "Remove a planned storage volume from the planned layout" part of https://fedoraproject.org/wiki/Fedora_42_Beta_Release_Criteria#Custom_partitioning

Comment 8 Lukas Brabec 2025-03-24 18:20:32 UTC
Discussed during the 2025-03-24 blocker review meeting [1]:

* AGREED: 2354497 - AcceptedBlocker (Final) - this is accepted as a violation of "The installer must be able to create and install to any workable partition layout using any file system and/or container format combination offered in a default installer configuration" (can also be argued to violate the Beta custom partitioning criteria)

[1] https://meetbot.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2025-03-24/f42-blocker-review.2025-03-24-16.02.log.html

Comment 9 Fedora Update System 2025-03-26 05:15:05 UTC
FEDORA-2025-57cefcbc36 (cockpit-336.1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-57cefcbc36

Comment 10 Fedora Update System 2025-03-26 05:22:56 UTC
FEDORA-2025-e04b83d15b (cockpit-336.1-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e04b83d15b

Comment 11 Fedora Update System 2025-03-26 06:57:53 UTC
FEDORA-2025-57cefcbc36 (cockpit-336.1-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Martin Pitt 2025-03-26 06:59:16 UTC
The interesting release here is F42, not rawhide.

Comment 13 Adam Williamson 2025-03-26 15:19:09 UTC
FWIW, to avoid this kinda issue, when creating updates for multiple releases, I *unset* the "close bug on stable" setting, then re-enable it for *only* the update that's for the release I actually want to close the bug.

I realize this might be tricky if you're using automation, though.

Comment 14 Fedora Update System 2025-03-28 00:19:35 UTC
FEDORA-2025-e04b83d15b (cockpit-336.1-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 lnie 2025-03-28 09:37:34 UTC
sorry for the a bit late reply, I'm pretty busy with other stuff.
This bug seems still there:
I boot Fedora-Workstation-Live-42-20250315.n.0.x86_64.iso and update cockpit to latest cockpit-336.1-1.fc42,but I still could reproduce it.

Comment 16 lnie 2025-03-28 10:44:34 UTC
Turns out dnf cockpit didn't have cockpit-storaged(while Katerina's fix is) installed by default,closing.


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