Description of problem: try to use mediawriter usb with f28 Rawhide 20171210.n2 live soas to do a liveinst bios boot. failed t do a restore disk wih usb harddisk with existing install of f27 rawhide wks Version-Release number of selected component: anaconda-core-28.12-1.fc28.x86_64 The following was filed automatically by anaconda: anaconda 28.12-1 exception report Traceback (most recent call first): File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1700, in _mark_protected_device if device.name in self.protected_dev_names: File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1662, in reset self._mark_protected_device(dev) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2158, in storage_initialize storage.reset() File "/usr/lib64/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 252, in run threading.Thread.run(self) AttributeError: 'NoneType' object has no attribute 'name' Additional info: addons: com_redhat_kdump blivet-gui-utils.log: cmdline: /usr/bin/python3 /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-SoaS-Live-Rawhide-2017121 rd.live.image quiet executable: /sbin/anaconda hashmarkername: anaconda kernel: 4.15.0-0.rc2.git2.1.fc28.x86_64 other involved packages: python3-libs-3.6.3-4.fc28.x86_64, python3-blivet-3.0.0-0.1.b1.fc28.noarch product: Fedora release: Fedora release 28 (Rawhide) type: anaconda version: rawhide
Created attachment 1366295 [details] File: anaconda-tb
Created attachment 1366296 [details] File: anaconda.log
Created attachment 1366298 [details] File: environ
Created attachment 1366299 [details] File: journalctl
Created attachment 1366300 [details] File: lsblk_output
Created attachment 1366301 [details] File: lvm.log
Created attachment 1366302 [details] File: nmcli_dev_list
Created attachment 1366303 [details] File: os_info
Created attachment 1366304 [details] File: program.log
Created attachment 1366305 [details] File: storage.log
Created attachment 1366306 [details] File: ifcfg.log
*** Bug 1529645 has been marked as a duplicate of this bug. ***
*** Bug 1531946 has been marked as a duplicate of this bug. ***
*** Bug 1534024 has been marked as a duplicate of this bug. ***
*** Bug 1534026 has been marked as a duplicate of this bug. ***
Similar problem has been detected: 1. Launch 2. Language screen, continue 3. Main hub appears, then crash before clicking on anything else addons: com_redhat_kdump blivet-gui-utils.log: cmdline: /usr/bin/python3 /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-Rawhide-20180117- rd.live.image quiet hashmarkername: anaconda kernel: 4.15.0-0.rc8.git0.1.fc28.x86_64 other involved packages: python3-libs-3.6.4-3.fc28.x86_64, python3-blivet-3.0.0-0.1.b1.fc28.noarch package: anaconda-core-28.17-1.fc28.x86_64 packaging.log: product: Fedora reason: AttributeError: 'NoneType' object has no attribute 'name' release: Fedora release 28 (Rawhide) version: rawhide
Proposed as a Blocker for 28-beta by Fedora user chrismurphy using the blocker tracking app because: Always crashes shortly after launch, either at the language select screen or the hub. a. Reject or disallow invalid disk and volume configurations without crashing. b. Bug hinders execution of required Beta test plans or dramatically reduces test coverage
USB stick media made from Fedora-Workstation-Live-x86_64-Rawhide-20180117.n.1.iso Still a bug with anaconda-28.17-1.fc28.x86_64. Always crashes, 100% reproducible.
Created attachment 1383068 [details] anaconda tb
*** Bug 1536785 has been marked as a duplicate of this bug. ***
Hello, This bug is happening because of the `_find_live_backing_device` method which was migrated from blivet recently. It is adding device with liveinst (USB stick) to the protected dev array but this device can't be found by Blivet. If I skip that call to avoid raising the exception then the liveinst USB stick can be used for installation. We need to find a solution to avoid the crash but do not add the USB stick to the devices for installation. Maybe Blivet needs to understand that device and return it correctly when `get_device_by_name` is called?
The problem is actually that blivet is not able to find partitions on the LiveUSB. Anaconda checks `/proc/mounts` to get "live" devices and asks blivet to ignore "sda1" and it is not in devicetree because blivet doesn't detect partitions on the sda drive.
is there any need for the prior two comments to be private?
Marking the comments public. +1 blocker per "The installer must run when launched normally from the release-blocking images. " https://fedoraproject.org/wiki/Basic_Release_Criteria#Installer_must_run
+1 blocker
Marking as accepted blocker.
Similar problem has been detected: Fedora Workstation Live on Macbook Pro addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-Rawhide-20180126- rd.live.image quiet hashmarkername: anaconda kernel: 4.15.0-0.rc9.git3.1.fc28.x86_64 other involved packages: python3-libs-3.6.4-9.fc28.x86_64, python3-blivet-3.0.0-0.1.b1.fc28.noarch package: anaconda-core-28.18-1.fc28.x86_64 packaging.log: product: Fedora reason: AttributeError: 'NoneType' object has no attribute 'name' release: Fedora release 28 (Rawhide) version: rawhide
In blivet-2.x mark_protected_device was only called after we had obtained a valid device while detecting existing devices. When adapting the code in preparation for moving it into anaconda, that code was moved into the InstallerStorage.reset method. There is nothing wrong with this, but there is also no guarantee that the protected device specs will resolve to actual devices. The code should reflect this by only trying to mark a device protected if a device object was found.
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
Ping? This is a Beta blocker, and we are now in Beta freeze. This needs to be fixed soon. Thanks.
Blivet is not going to understand partitions on a device with an iso9660 filesystem on it. Putting a file system and multiple disklabels on the same block device is not something that can be represented sanely by a tree model. The solution is going to have to involve something along the lines of marking the disk protected in the case that the live device is a partition.
Please try this updates image: https://fedorapeople.org/~dlehman/updates/1524700.0.img It tries to determine the disk for live backing devices that are partitions and mark the disk as protected instead of the partition.
That seems to work; the USB stick isn't shown as an available install target device, and the installer doesn't crash.
Pull request: https://github.com/rhinstaller/anaconda/pull/1381
Similar problem has been detected: Fedora-Workstation-Live-x86_64-28-20180309.n.0.iso Crash after choosing language, as hub draws, before choosing installation destination. addons: com_redhat_kdump blivet-gui-utils.log: cmdline: /usr/bin/python3 /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-28-20180309-n-0 rd.live.image systemd.wants=sshd systemd.mask=alsa-state elevator=noop hashmarkername: anaconda kernel: 4.16.0-0.rc4.git0.1.fc28.x86_64 other involved packages: python3-libs-3.6.4-16.fc28.x86_64, python3-blivet-3.0.0-0.2.b1.fc28.noarch package: anaconda-core-28.22.2-1.fc28.x86_64 packaging.log: product: Fedora reason: AttributeError: 'NoneType' object has no attribute 'name' release: Fedora release 28 (Twenty Eight) version: 28
Working for me with https://fedorapeople.org/~dlehman/updates/1524700.0.img
Fedora-SoaS-Live-x86_64-28-20180309.n.0 28-22.2.1 1)-installs correctly to f27 QEMU/kvm user session 2)- fails to install with FMW USB to external USB HD "No protocol specified" screenshot attached to follow
https://wiki.sugarlabs.org/go/File:F28_err_branch.jpg
Fedora-Cinnamon-Live-x86_64-28-20180309.n.0.iso burned with f28 brasero to dvd-r installs to external usb hard drive (after reclaim space - bios boot) -very slow install
Fedora-KDE-Live-x86_64-28-20180310.n.0.iso 1-)fails to install with FMW USB to external USB HD "No protocol specified"
Fedora-KDE-Live-x86_64-28-20180310.n.0.iso burned with f28 brasero to dvd-r installs to external usb hard drive (after reclaim space - bios boot) -very slow install
Similar problem has been detected: Anaconda crashes as soon as it' s launched from Workstation Live on Bare metal. addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-28-20180310-n-0 rd.live.image quiet hashmarkername: anaconda kernel: 4.16.0-0.rc4.git0.1.fc28.x86_64 other involved packages: python3-libs-3.6.4-16.fc28.x86_64, python3-blivet-3.0.0-0.2.b1.fc28.noarch package: anaconda-core-28.22.2-1.fc28.x86_64 packaging.log: product: Fedora reason: AttributeError: 'NoneType' object has no attribute 'name' release: Fedora release 28 (Twenty Eight) version: 28
*** Bug 1533301 has been marked as a duplicate of this bug. ***
anaconda-28.22.2-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b623ca92af
anaconda-28.22.2-3.fc28, python-blivet-3.0.0-0.4.b1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b623ca92af
It's fixed in anaconda-28.22.2-3.fc28.
anaconda-28.22.2-3.fc28, python-blivet-3.0.0-0.4.b1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 1561766 has been marked as a duplicate of this bug. ***
https://bugzilla.redhat.com/show_bug.cgi?id=1561766 has FMW failure for KDE Live KDE beta1.1
I don't think that is really a dupe, if you had to hit 'rescan disks' to get to it. This bug is a blocker because all you had to do was run the installer. Hitting 'rescan disks' is not a blocker path.
anaconda-28.22.3-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9fd9270cd5
anaconda-28.22.3-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9fd9270cd5
gah, stoppit, Bodhi.
Similar problem has been detected: UEFI boot on x86_64 from F28 beta Workstation Live on USB flash memory. Run live system ("Try fedora") then choose "install to harddrive" icon. Select both SSD (nvme0n1) and rotating (sda) for Custom partioning; both have GPT label. Re-format existing nvme0n1p4 as ext4 for use as root partition (/). Keep existing nvme0n1p3 (ext4, contains Fedora 27) as unmounted. Re-use existing nvme0n1p1 (fat16, EFI-SP) as /boot/efi; do not reformat. Re-use existing sda5 as /home. addons: com_redhat_kdump blivet-gui-utils.log: cmdline: /usr/bin/python3 /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-28-20180415-n-0 rd.live.image rd.live.check quiet hashmarkername: anaconda kernel: 4.16.1-300.fc28.x86_64 other involved packages: python3-libs-3.6.5-1.fc28.x86_64, python3-blivet-3.0.0-0.6.1.b1.fc28.noarch package: anaconda-core-28.22.7-1.fc28.x86_64 packaging.log: product: Fedora reason: AttributeError: 'NoneType' object has no attribute 'name' release: Fedora release 28 (Twenty Eight) version: 28