Bug 2394554

Summary: WebUI: org.fedoraproject.Anaconda.Error: 'NoneType' object has no attribute 'path'
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: anacondaAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: a.badger, abeshchakraborty6, afsalahammed, aimreza, alantournabien, aldrovandi, alexandruiancu, allanhaywood, alpha, anaconda-maint, angeldvasquez, anthony.w.r.lee, bdrv007, bdy1234567, boguslawkoszela69, bug.oops923, bugzilla.awning113, bugzilla_tm.simple572, bulbzor, canada.zelaya, ckoresko, damonlynch, dinovirus, dsalazarcazanhas, dtap3, duartebfilho, emils0svilpe, f.demiralp, fgrose, gothevibe, gusjohnalkoding, hadia1354, henryorbaros, hermesconrad, indeed.khubil, innerwilds.dev, jason, jkonecny, justcodebro0209, jvallep, kkoukiou, klugemann, lee92j, linux.bug.reporting, lucasmonaco.perez7, luxwyu, lysarion, mad.kanie, mcforum, mikhail.v.gavrilov, milad2001ahmady, m.koeferlein, mkolman, mmueller044, naswannashir.r, natalie_clarius, nigel, ninjabunnnnyyyy, noir2255658, osmanozdemir03, pe.giaco, pixel244, psklenar, purian23, raphaelprencipe, remjai93, rkomatsum, robatino, r.vacho, rvykydal, sammy, sarkartanmoy903, shadowcat888, sjhudson, skeitr, slavkaplay2, sspade1, supreme-chafe-wok, theking2, thextay, thomas, timrburnham, wel.oestedeminas, williansbatista338, win.m, w, yehudac45
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-44.6-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-04 17:58:14 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: 2362357    
Attachments:
Description Flags
journal.log as requested none

Description Lukas Ruzicka 2025-09-11 12:37:55 UTC
Installer WebUI Critical Error:
org.fedoraproject.Anaconda.Error: 'NoneType' object has no attribute 'path'

Please attach the log file /tmp/journal.log to the issue.

Reproducible: Always

Comment 1 Lukas Ruzicka 2025-09-11 12:38:41 UTC
Created attachment 2106349 [details]
journal.log as requested

Comment 2 Lukas Ruzicka 2025-09-11 12:39:32 UTC
This happened when I was trying to perform the "preserve home while setting mount points manually" test case.

Comment 3 Katerina Koukiou 2025-10-02 07:04:41 UTC
*** Bug 2400957 has been marked as a duplicate of this bug. ***

Comment 4 Katerina Koukiou 2025-10-02 07:05:06 UTC
*** Bug 2395902 has been marked as a duplicate of this bug. ***

Comment 5 Katerina Koukiou 2025-10-02 07:06:17 UTC
*** Bug 2395492 has been marked as a duplicate of this bug. ***

Comment 6 Katerina Koukiou 2025-11-18 14:18:32 UTC
*** Bug 2412018 has been marked as a duplicate of this bug. ***

Comment 7 Katerina Koukiou 2025-11-18 14:18:33 UTC
*** Bug 2412243 has been marked as a duplicate of this bug. ***

Comment 8 Katerina Koukiou 2025-11-18 14:30:47 UTC
*** Bug 2413201 has been marked as a duplicate of this bug. ***

Comment 9 Katerina Koukiou 2025-11-18 14:30:49 UTC
*** Bug 2413555 has been marked as a duplicate of this bug. ***

Comment 10 Katerina Koukiou 2025-11-19 16:17:59 UTC
Analysis:


The interesting part of the failure is:


Sep 11 12:33:00 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]:   File "/usr/lib64/python3.14/site-packages/pyanaconda/modules/storage/partitioning/manual/manual_module.py", line 84, in setup_kickstart
Sep 11 12:33:00 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]:     mount_data.device = device.path
Sep 11 12:33:00 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]:                         ^^^^^^^^^^^
Sep 11 12:33:00 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: AttributeError: 'NoneType' object has no attribute 'path'

The requests object for this manual partitioning can be seen here:

Sep 11 12:30:44 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:anaconda.modules.storage.partitioning.manual.manual_module:Requests are set to '[MountPointRequest(device_spec='nvme1n1p1', format_options='', format_type='efi', ks_spec='', mount_options='', mount_point='/boot/efi', reformat=False), MountPointRequest(device_spec='nvme1n1p2', format_options='', format_type='ext4', ks_spec='', mount_options='', mount_point='/boot', reformat=False), MountPointRequest(device_spec='BTRFS-8e512a44-fddd-454d-beea-64be22044dff-home', format_options='', format_type='btrfs', ks_spec='', mount_options='subvol=home', mount_point='/home', reformat=False), MountPointRequest(device_spec='BTRFS-8e512a44-fddd-454d-beea-64be22044dff-root', format_options='', format_type='btrfs', ks_spec='', mount_options='subvol=root', mount_point='/', reformat=True), MountPointRequest(device_spec='BTRFS-8e512a44-fddd-454d-beea-64be22044dff-root/var/lib/machines', format_options='', format_type='btrfs', ks_spec='', mount_options='subvol=root/var/lib/machines', mount_point='', reformat=False)]'.

What looks like the root case is that the root BTRFS subvolume is reformatted, but it's nested subvolume root/var/lib/machines are not marked for reformatting in the requests. Blivet therefore removes the root/var/lib/machines subvolume from the device tree.

Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:removing root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:                   DeviceTree.get_dependent_devices: dep: existing 929.91 GiB btrfs subvolume root (98) with existing btrfs filesystem ; hidden: False ;
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if nvme0n1 depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if nvme0n1p3 depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if sda depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if nvme1n1 depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if nvme1n1p1 depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if nvme1n1p2 depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if /LiveOS/squashfs.img depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if loop0 depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if luks-53cf23ae-76fa-413f-a293-b257e0f1a868 depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if fedora depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if home depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if root depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:checking if root/var/lib/machines depends on root
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:devices to remove: ['root/var/lib/machines']
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:leaves to remove: ['root/var/lib/machines']
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: DEBUG:blivet:                             BTRFSSubVolumeDevice.remove_child: name: root ; child: root/var/lib/machines ; kids: 1 ;
Sep 11 12:30:47 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3584]: INFO:blivet:removed btrfs subvolume root/var/lib/machines (id 102) from device tree


Then, setup_kickstart looks up the remove device, which is marked for remount in the Requests object , but it's gone, causing AttributeError: 'NoneType' object has no attribute 'path'.

This however, should have been prevented by the front end. In MountPointMapping.jsx, when a parent is set to reformat=true, we check that all children are also set to reformat=true, otherwise we prevent the user from clicking "Next".

Comment 11 Katerina Koukiou 2025-11-19 16:49:07 UTC
The Anaconda WebUI frontend includes all devices in the manual partitioning requests sent to the backend, even those without mount points. This includes BTRFS subvolumes like root/var/lib/machines that exist in the device tree but aren't assigned a mount point.
When these requests (with empty mount_point) reach the backend's setup_kickstart, it tries to process them, leading to errors when the device is missing from the device tree (e.g., after a parent is reformatted).

Comment 12 Katerina Koukiou 2025-11-20 16:09:31 UTC
*** Bug 2416141 has been marked as a duplicate of this bug. ***

Comment 13 Katerina Koukiou 2025-11-21 06:30:26 UTC
Fixed upstream: https://github.com/rhinstaller/anaconda/pull/6767
Extended our automated test to cover this exact scenario: https://github.com/rhinstaller/anaconda-webui/pull/1079

Comment 14 Katerina Koukiou 2025-11-21 08:54:52 UTC
*** Bug 2406260 has been marked as a duplicate of this bug. ***

Comment 15 Katerina Koukiou 2025-11-21 08:55:10 UTC
*** Bug 2406300 has been marked as a duplicate of this bug. ***

Comment 16 Katerina Koukiou 2025-11-21 08:57:31 UTC
*** Bug 2407418 has been marked as a duplicate of this bug. ***

Comment 17 Katerina Koukiou 2025-11-21 08:58:27 UTC
*** Bug 2408796 has been marked as a duplicate of this bug. ***

Comment 18 Katerina Koukiou 2025-11-28 07:20:05 UTC
*** Bug 2416606 has been marked as a duplicate of this bug. ***

Comment 19 Katerina Koukiou 2025-11-28 07:20:09 UTC
*** Bug 2417369 has been marked as a duplicate of this bug. ***

Comment 20 Katerina Koukiou 2025-11-28 07:20:13 UTC
*** Bug 2417560 has been marked as a duplicate of this bug. ***

Comment 21 Katerina Koukiou 2025-11-28 07:20:17 UTC
*** Bug 2417592 has been marked as a duplicate of this bug. ***

Comment 22 Katerina Koukiou 2025-11-28 07:20:25 UTC
*** Bug 2417622 has been marked as a duplicate of this bug. ***

Comment 23 Katerina Koukiou 2025-11-28 07:20:30 UTC
*** Bug 2416540 has been marked as a duplicate of this bug. ***

Comment 24 Katerina Koukiou 2025-11-28 07:20:33 UTC
*** Bug 2416322 has been marked as a duplicate of this bug. ***

Comment 25 Katerina Koukiou 2025-11-28 07:20:38 UTC
*** Bug 2413618 has been marked as a duplicate of this bug. ***

Comment 26 Katerina Koukiou 2025-11-28 07:20:48 UTC
*** Bug 2411975 has been marked as a duplicate of this bug. ***

Comment 27 Katerina Koukiou 2025-11-28 07:20:53 UTC
*** Bug 2411925 has been marked as a duplicate of this bug. ***

Comment 28 Katerina Koukiou 2025-11-28 07:20:57 UTC
*** Bug 2411891 has been marked as a duplicate of this bug. ***

Comment 29 Katerina Koukiou 2025-11-28 07:21:02 UTC
*** Bug 2408893 has been marked as a duplicate of this bug. ***

Comment 30 Katerina Koukiou 2025-11-28 08:45:31 UTC
*** Bug 2402989 has been marked as a duplicate of this bug. ***

Comment 31 Katerina Koukiou 2025-11-28 08:50:08 UTC
*** Bug 2416814 has been marked as a duplicate of this bug. ***

Comment 32 Fedora Update System 2025-12-03 13:47:14 UTC
FEDORA-2025-d70e047fbf (anaconda-webui-58-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d70e047fbf

Comment 33 Fedora Update System 2025-12-04 17:58:14 UTC
FEDORA-2025-d70e047fbf (anaconda-44.6-1.fc44 and anaconda-webui-59-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 34 Katerina Koukiou 2025-12-05 12:54:34 UTC
*** Bug 2400385 has been marked as a duplicate of this bug. ***

Comment 35 Katerina Koukiou 2025-12-08 07:44:52 UTC
*** Bug 2419742 has been marked as a duplicate of this bug. ***

Comment 36 Katerina Koukiou 2025-12-08 07:45:17 UTC
*** Bug 2419745 has been marked as a duplicate of this bug. ***

Comment 37 Katerina Koukiou 2025-12-08 07:45:21 UTC
*** Bug 2419766 has been marked as a duplicate of this bug. ***

Comment 38 Katerina Koukiou 2025-12-08 07:45:39 UTC
*** Bug 2419815 has been marked as a duplicate of this bug. ***

Comment 39 Katerina Koukiou 2025-12-08 09:00:24 UTC
*** Bug 2404899 has been marked as a duplicate of this bug. ***

Comment 40 Katerina Koukiou 2025-12-09 08:43:25 UTC
*** Bug 2419065 has been marked as a duplicate of this bug. ***

Comment 41 Katerina Koukiou 2025-12-09 08:43:28 UTC
*** Bug 2418915 has been marked as a duplicate of this bug. ***

Comment 42 Katerina Koukiou 2025-12-09 08:43:33 UTC
*** Bug 2418451 has been marked as a duplicate of this bug. ***

Comment 43 Katerina Koukiou 2025-12-09 12:21:21 UTC
*** Bug 2417766 has been marked as a duplicate of this bug. ***

Comment 44 Katerina Koukiou 2025-12-09 13:40:54 UTC
*** Bug 2417741 has been marked as a duplicate of this bug. ***

Comment 45 Katerina Koukiou 2025-12-12 08:53:57 UTC
*** Bug 2406198 has been marked as a duplicate of this bug. ***

Comment 46 Katerina Koukiou 2025-12-12 11:43:13 UTC
*** Bug 2421741 has been marked as a duplicate of this bug. ***

Comment 47 Katerina Koukiou 2025-12-15 15:16:15 UTC
*** Bug 2422244 has been marked as a duplicate of this bug. ***

Comment 48 Katerina Koukiou 2025-12-15 15:21:31 UTC
*** Bug 2421995 has been marked as a duplicate of this bug. ***

Comment 49 Katerina Koukiou 2025-12-15 15:21:37 UTC
*** Bug 2421795 has been marked as a duplicate of this bug. ***

Comment 50 Katerina Koukiou 2025-12-22 12:00:26 UTC
*** Bug 2424269 has been marked as a duplicate of this bug. ***

Comment 51 Katerina Koukiou 2026-01-08 13:13:28 UTC
*** Bug 2427554 has been marked as a duplicate of this bug. ***

Comment 52 Katerina Koukiou 2026-01-08 13:13:33 UTC
*** Bug 2427534 has been marked as a duplicate of this bug. ***

Comment 53 Katerina Koukiou 2026-01-08 13:13:46 UTC
*** Bug 2426454 has been marked as a duplicate of this bug. ***

Comment 54 Katerina Koukiou 2026-01-08 13:13:51 UTC
*** Bug 2425964 has been marked as a duplicate of this bug. ***

Comment 55 Katerina Koukiou 2026-01-08 13:25:37 UTC
*** Bug 2427521 has been marked as a duplicate of this bug. ***

Comment 56 Katerina Koukiou 2026-01-08 13:25:40 UTC
*** Bug 2425706 has been marked as a duplicate of this bug. ***

Comment 57 Katerina Koukiou 2026-01-08 13:27:54 UTC
*** Bug 2425616 has been marked as a duplicate of this bug. ***

Comment 58 Katerina Koukiou 2026-01-08 13:31:12 UTC
*** Bug 2424592 has been marked as a duplicate of this bug. ***

Comment 59 Katerina Koukiou 2026-01-08 13:31:15 UTC
*** Bug 2425349 has been marked as a duplicate of this bug. ***

Comment 60 Katerina Koukiou 2026-01-19 08:35:11 UTC
*** Bug 2428636 has been marked as a duplicate of this bug. ***

Comment 61 Katerina Koukiou 2026-01-19 09:04:02 UTC
*** Bug 2428111 has been marked as a duplicate of this bug. ***

Comment 62 Katerina Koukiou 2026-01-19 11:57:26 UTC
*** Bug 2430822 has been marked as a duplicate of this bug. ***

Comment 63 Katerina Koukiou 2026-01-20 13:21:45 UTC
*** Bug 2431185 has been marked as a duplicate of this bug. ***

Comment 64 Katerina Koukiou 2026-01-27 13:48:48 UTC
*** Bug 2431920 has been marked as a duplicate of this bug. ***

Comment 65 Katerina Koukiou 2026-01-27 13:48:55 UTC
*** Bug 2432250 has been marked as a duplicate of this bug. ***

Comment 66 Katerina Koukiou 2026-01-27 13:48:59 UTC
*** Bug 2432581 has been marked as a duplicate of this bug. ***

Comment 67 Katerina Koukiou 2026-01-27 13:49:04 UTC
*** Bug 2432622 has been marked as a duplicate of this bug. ***

Comment 68 Katerina Koukiou 2026-01-27 13:49:14 UTC
*** Bug 2432816 has been marked as a duplicate of this bug. ***

Comment 69 Katerina Koukiou 2026-01-27 13:49:21 UTC
*** Bug 2433161 has been marked as a duplicate of this bug. ***

Comment 70 Katerina Koukiou 2026-01-27 13:49:25 UTC
*** Bug 2432819 has been marked as a duplicate of this bug. ***

Comment 71 Katerina Koukiou 2026-01-27 13:49:33 UTC
*** Bug 2432748 has been marked as a duplicate of this bug. ***

Comment 72 Adam Kaňkovský 2026-02-03 13:56:13 UTC
*** Bug 2435620 has been marked as a duplicate of this bug. ***

Comment 73 Adam Kaňkovský 2026-02-03 13:56:36 UTC
*** Bug 2435684 has been marked as a duplicate of this bug. ***

Comment 74 Katerina Koukiou 2026-02-13 12:24:11 UTC
*** Bug 2436570 has been marked as a duplicate of this bug. ***

Comment 75 Katerina Koukiou 2026-02-13 12:24:16 UTC
*** Bug 2436725 has been marked as a duplicate of this bug. ***

Comment 76 Katerina Koukiou 2026-02-13 12:24:21 UTC
*** Bug 2437611 has been marked as a duplicate of this bug. ***

Comment 77 Katerina Koukiou 2026-02-13 12:24:25 UTC
*** Bug 2438485 has been marked as a duplicate of this bug. ***

Comment 78 Katerina Koukiou 2026-02-13 12:24:34 UTC
*** Bug 2439082 has been marked as a duplicate of this bug. ***

Comment 79 Katerina Koukiou 2026-02-17 13:08:06 UTC
*** Bug 2440070 has been marked as a duplicate of this bug. ***

Comment 80 Katerina Koukiou 2026-02-17 13:08:11 UTC
*** Bug 2439823 has been marked as a duplicate of this bug. ***

Comment 81 Katerina Koukiou 2026-02-17 13:17:34 UTC
*** Bug 2438992 has been marked as a duplicate of this bug. ***

Comment 82 Katerina Koukiou 2026-02-17 13:17:35 UTC
*** Bug 2438993 has been marked as a duplicate of this bug. ***

Comment 83 Katerina Koukiou 2026-02-17 13:17:37 UTC
*** Bug 2438996 has been marked as a duplicate of this bug. ***

Comment 84 Katerina Koukiou 2026-02-17 13:17:38 UTC
*** Bug 2438999 has been marked as a duplicate of this bug. ***

Comment 85 Katerina Koukiou 2026-02-17 13:17:49 UTC
*** Bug 2438994 has been marked as a duplicate of this bug. ***

Comment 86 Katerina Koukiou 2026-02-17 13:17:53 UTC
*** Bug 2438998 has been marked as a duplicate of this bug. ***

Comment 87 Katerina Koukiou 2026-02-27 11:48:31 UTC
*** Bug 2440375 has been marked as a duplicate of this bug. ***

Comment 88 Katerina Koukiou 2026-02-27 11:48:43 UTC
*** Bug 2441808 has been marked as a duplicate of this bug. ***

Comment 89 Katerina Koukiou 2026-02-27 11:48:47 UTC
*** Bug 2442351 has been marked as a duplicate of this bug. ***

Comment 90 Katerina Koukiou 2026-02-27 11:48:51 UTC
*** Bug 2442354 has been marked as a duplicate of this bug. ***

Comment 91 Katerina Koukiou 2026-02-27 11:48:55 UTC
*** Bug 2442601 has been marked as a duplicate of this bug. ***

Comment 92 Katerina Koukiou 2026-03-05 15:16:12 UTC
*** Bug 2443800 has been marked as a duplicate of this bug. ***

Comment 93 Katerina Koukiou 2026-03-05 15:19:11 UTC
*** Bug 2443637 has been marked as a duplicate of this bug. ***

Comment 94 Katerina Koukiou 2026-04-14 12:32:07 UTC
*** Bug 2453768 has been marked as a duplicate of this bug. ***

Comment 95 Katerina Koukiou 2026-04-14 12:32:20 UTC
*** Bug 2453701 has been marked as a duplicate of this bug. ***

Comment 96 Katerina Koukiou 2026-04-14 12:32:36 UTC
*** Bug 2451837 has been marked as a duplicate of this bug. ***

Comment 97 Katerina Koukiou 2026-04-14 12:32:53 UTC
*** Bug 2453878 has been marked as a duplicate of this bug. ***

Comment 98 Katerina Koukiou 2026-05-04 10:53:11 UTC
*** Bug 2461820 has been marked as a duplicate of this bug. ***

Comment 99 Katerina Koukiou 2026-05-05 15:18:12 UTC
*** Bug 2449340 has been marked as a duplicate of this bug. ***