Bug 1903793
| Summary: | pyanaconda.payload.errors.PayloadInstallError: Unable to find osimg for /dev/mapper/live-base | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | berni.boehm | ||||||||||||||||||||||||
| Component: | python-blivet | Assignee: | Vojtech Trefny <vtrefny> | ||||||||||||||||||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||
| Version: | 33 | CC: | anaconda-maint-list, blivet-maint-list, dlehman, japokorn, jonathan, jstodola, kellin, mkolman, rvykydal, vanmeeuwen+fedora, vponcova, vtrefny, wwoods | ||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:132fcbabdfde33516a4b4ded4a4bb5d6b3416c23f2802fde3f6b3626bdc72bdd;VARIANT_ID=workstation; | ||||||||||||||||||||||||||
| Fixed In Version: | python-blivet-3.4.1-1.fc35 | Doc Type: | If docs needed, set a value | ||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||
| Last Closed: | 2021-08-19 11:14:12 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: | |||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||
Created attachment 1735757 [details]
File: anaconda-tb
Created attachment 1735758 [details]
File: anaconda.log
Created attachment 1735759 [details]
File: dbus.log
Created attachment 1735760 [details]
File: environ
Created attachment 1735761 [details]
File: journalctl
Created attachment 1735762 [details]
File: lsblk_output
Created attachment 1735763 [details]
File: lvm.log
Created attachment 1735764 [details]
File: nmcli_dev_list
Created attachment 1735765 [details]
File: os_info
Created attachment 1735766 [details]
File: program.log
Created attachment 1735767 [details]
File: storage.log
jourlanctl also contains the following traceback:
DEBUG:blivet: DeviceTree.handle_device: name: nvme0n1 ; info: {'DEVLINKS': '/dev/disk/by-id/nvme-nvme.126f-383338333232303036313330303337-494e4e4f564154494f4ea1a44954-00000001 '
'/dev/disk/by-id/nvme-INNOVATION__IT_838322006130037 '
'/dev/disk/by-path/pci-0000:05:00.0-nvme-1',
'DEVNAME': '/dev/nvme0n1',
'DEVPATH': '/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/nvme/nvme0/nvme0n1',
'DEVTYPE': 'disk',
'ID_MODEL': 'INNOVATION__IT',
'ID_PART_TABLE_TYPE': 'gpt',
'ID_PART_TABLE_UUID': 'cc8feece-c671-4d4f-b74a-758645a7c78f',
'ID_PATH': 'pci-0000:05:00.0-nvme-1',
'ID_PATH_TAG': 'pci-0000_05_00_0-nvme-1',
'ID_REVISION': 'T0214B0L',
'ID_SERIAL': 'INNOVATION__IT_838322006130037',
'ID_SERIAL_SHORT': '838322006130037',
'ID_WWN': 'nvme.126f-383338333232303036313330303337-494e4e4f564154494f4ea1a44954-00000001',
'MAJOR': '259',
'MINOR': '0',
'SUBSYSTEM': 'block',
'SYS_NAME': 'nvme0n1',
'SYS_PATH': '/sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/nvme/nvme0/nvme0n1',
'TAGS': ':systemd:',
'USEC_INITIALIZED': '14270424'} ;
INFO:blivet:scanning nvme0n1 (/sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/nvme/nvme0/nvme0n1)...
DEBUG:testdata:sysfs attr /sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/nvme/nvme0/nvme0n1/hidden: 300a
DEBUG:blivet: DeviceTree.get_device_by_name: name: nvme0n1 ; incomplete: False ; hidden: False ;
DEBUG:blivet: DeviceTree.get_device_by_name returned None
DEBUG:blivet: DiskDevicePopulator.run: name: nvme0n1 ;
WARNING:blivet:device/vendor is not a valid attribute
INFO:anaconda.threading:Thread Failed: AnaTaskThread-ScanDevicesTask-1 (140369597560384)
ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-ScanDevicesTask-1 has failed: Traceback (most recent call last):
File "/usr/lib64/python3.9/site-packages/pyanaconda/threading.py", line 280, in run
threading.Thread.run(self)
File "/usr/lib64/python3.9/threading.py", line 888, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _task_run_callback
self._set_result(self.run())
File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/reset.py", line 63, in run
self._reset_storage(self._storage)
File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/reset.py", line 82, in _reset_storage
storage.reset()
File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
return m(*args, **kwargs)
File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/devicetree/model.py", line 260, in reset
super().reset(cleanup_only=cleanup_only)
File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
return m(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/blivet/blivet.py", line 142, in reset
self.devicetree.populate(cleanup_only=cleanup_only)
File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
return m(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/blivet/populator/populator.py", line 416, in populate
self._populate()
File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
return m(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/blivet/populator/populator.py", line 461, in _populate
self.handle_device(dev)
File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
return m(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/blivet/populator/populator.py", line 267, in handle_device
device = helper_class(self, info).run()
File "/usr/lib/python3.9/site-packages/blivet/populator/helpers/disk.py", line 70, in run
kwargs = self._get_kwargs()
File "/usr/lib/python3.9/site-packages/blivet/populator/helpers/disk.py", line 54, in _get_kwargs
"model": util.get_sysfs_attr(sysfs_path, "device/model"),
File "/usr/lib/python3.9/site-packages/blivet/util.py", line 383, in get_sysfs_attr
data = f.read()
File "/usr/lib64/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 10: invalid start byte
It looks related to https://github.com/storaged-project/blivet/pull/861 and bug 1849326.
Vojto, can you please have a look at this problem?
Yes, looks like I missed one place where we read the device model from sysfs. New PR for blivet: https://github.com/storaged-project/blivet/pull/921 I'm moving this bug to blivet, I assume the anaconda crash happens only because the storage thread failed. |
Description of problem: - created a live usb of Fedora 33 Workstation using the Fedora Media Writer (tried different usb drives) - GUI installer crashes immediately, before I can even choose a language Netinstall has also failed aswell as attempts to install CentOS Version-Release number of selected component: anaconda-core-33.25.4-1.fc33.x86_64 The following was filed automatically by anaconda: anaconda 33.25.4 exception report Traceback (most recent call first): File "/usr/lib64/python3.9/site-packages/pyanaconda/payload/live/payload_liveos.py", line 69, in setup raise PayloadInstallError("Unable to find osimg for {}".format(osimg_spec)) File "/usr/lib64/python3.9/site-packages/pyanaconda/payload/manager.py", line 189, in _run_thread payload.setup() File "/usr/lib64/python3.9/threading.py", line 888, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.9/site-packages/pyanaconda/threading.py", line 280, in run threading.Thread.run(self) pyanaconda.payload.errors.PayloadInstallError: Unable to find osimg for /dev/mapper/live-base Additional info: addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda --liveinst --graphical cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-33-1-2 rd.live.image quiet executable: /sbin/anaconda hashmarkername: anaconda kernel: 5.8.15-301.fc33.x86_64 other involved packages: python3-libs-3.9.0-1.fc33.x86_64 product: Fedora release: Fedora release 33 (Thirty Three) type: anaconda version: 33