Bug 2264419
Summary: | webui: non-root btrfs subvolumes are not mounted correctly | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> | ||||||||||||||||
Component: | anaconda-webui | Assignee: | Katerina Koukiou <kkoukiou> | ||||||||||||||||
Status: | ON_QA --- | QA Contact: | |||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||
Priority: | unspecified | ||||||||||||||||||
Version: | 42 | CC: | anaconda-maint, awilliam, gmarr, jkonecny, k.koukiou, kkoukiou, mkolman, robatino, rvykydal, slavik.vladimir, w | ||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | anaconda-webui-11-1.fc41 | Doc Type: | If docs needed, set a value | ||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||
Last Closed: | Type: | Bug | |||||||||||||||||
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 | ||||||||||||||||||
Attachments: |
|
Description
Kamil Páral
2024-02-15 14:17:18 UTC
Created attachment 2016911 [details]
screenshot of cockpit storage configuration
Created attachment 2016912 [details]
screenshot of anaconda mounts configuration
Created attachment 2016913 [details]
anaconda.log
Created attachment 2016914 [details]
journal.log
Created attachment 2016915 [details]
packaging.log
Created attachment 2016916 [details]
program.log
Created attachment 2016917 [details]
storage.log
Proposing as a Beta blocker: """ When using both the installer-native and the blivet-gui-based custom partitioning flow on the GTK-based installer, and the Cockpit-based custom partitioning flow on the webui-based installer, the installer must be able to: Create mount points backed by ext4 partitions, LVM volumes or btrfs volumes, or software RAID arrays at RAID levels 0, 1 and 5 containing ext4 partitions Assign mount points to existing storage volumes """ https://fedoraproject.org/wiki/Fedora_40_Beta_Release_Criteria#Custom_partitioning I wonder if it can be related to the home subvolume not being checked to be formatted in the mpa screen, will check. (In reply to Radek Vykydal from comment #9) > I wonder if it can be related to the home subvolume not being checked to be > formatted in the mpa screen, will check. Yes reformatting home subvolume helps to fix the issue with fstab. Upstream fix: https://github.com/rhinstaller/anaconda-webui/pull/183 Discussed during the 2024-02-19 blocker review meeting: [0] The decision to classify this bug as an "AcceptedBlocker (Beta)" was made as it violates the following criterion: "Create mount points backed by ext4 partitions, LVM volumes or btrfs volumes, or software RAID arrays at RAID levels 0, 1 and 5 containing ext4 partitions" [0] https://meetbot.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2024-02-19/f40-blocker-review.2024-02-19-17.00.log.txt Since this is specific to the web UI, and web UI was deferred to F41, this can clearly no longer block F40 Beta. I'll take the liberty of bumping it to Rawhide and clearing blocker metadata. Also, looking at git logs, it looks like this was in anaconda-webui-8-1.fc41 , so it should actually be fixed already. kparal, can you confirm? Thanks. Tested with Fedora-Workstation-Live-x86_64-Rawhide-20240303.n.1.iso including: anaconda-41.2-1.fc41.x86_64 anaconda-webui-8-1.fc41.noarch cockpit-storaged-312-1.fc41.noarch This is broken and fixed at the same time. If I use manual mount point assignment, the subvolumes are mounted correctly. However, there's a new feature in anaconda now which detects mount points configured in cockpit storage and you don't need to assign them manually. If you use that, it's still broken, and even worse, now no subvolume including root is mounted correctly, all point to the fsroot: $ cat /mnt/sysroot/etc/fstab UUID=e32fc3ac-6c96-4b07-be28-4f8794a47f2d / btrfs defaults 0 0 UUID=266fbd66-b95a-493f-a682-67c2f49a63b4 /boot ext4 defaults 1 2 UUID=e32fc3ac-6c96-4b07-be28-4f8794a47f2d /home btrfs defaults 0 0 So, still broken. This was fixed by: commit 0f1829a84c2d1bebe89ec2958f65357410d6a08b Author: Katerina Koukiou <kkoukiou> Date: Thu Apr 4 14:33:21 2024 +0200 storage: cockpit-integration: do not overwrite request object structure - only extend it Resolves: rhbz#2264419 This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42. This is covered upstream by testing the fstab. https://github.com/rhinstaller/anaconda-webui/blob/45e5777fbeea8b320341f27d4a93d36b0960d994/test/check-storage-cockpit#L314 Feel free to move it to done assuming coverage by the upstream tests. |