Bug 2292493
Summary: | pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xff in position 104: invalid start byte | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ferdinando Zaccaria <zacca06> | ||||||||||||||||||||||||||||||||||
Component: | anaconda | Assignee: | anaconda-maint | ||||||||||||||||||||||||||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||||||||
Severity: | urgent | Docs Contact: | |||||||||||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||||||||||
Version: | 40 | CC: | anaconda-maint, jkonecny, kkoukiou, mkolman, nfrayer, pjones, rharwood, slavik.vladimir, windows119, w, zacca06 | ||||||||||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||||||||||
Whiteboard: | abrt_hash:8c9dccf1533bef5fefc74e15bd42ff7a188839cdcdccd2d8f47260f76a86052d;VARIANT_ID=; | ||||||||||||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||||||||||
Last Closed: | 2025-04-16 12:19:13 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: |
|
Description
Ferdinando Zaccaria
2024-06-15 12:39:03 UTC
Created attachment 2037427 [details]
File: dbus.log
Created attachment 2037428 [details]
File: lsblk_output
Created attachment 2037429 [details]
File: hawkey.log
Created attachment 2037430 [details]
File: lorax-packages.log
Created attachment 2037431 [details]
File: anaconda.log
Created attachment 2037432 [details]
File: nmcli_dev_list
Created attachment 2037433 [details]
File: program.log
Created attachment 2037434 [details]
File: packaging.log
Created attachment 2037435 [details]
File: storage.log
Created attachment 2037436 [details]
File: description
Created attachment 2037437 [details]
File: syslog
Created attachment 2037438 [details]
File: environ
Created attachment 2037439 [details]
File: os_info
Created attachment 2037440 [details]
File: backtrace
Created attachment 2037441 [details]
File: anaconda-tb
Created attachment 2037442 [details]
File: packaging.log
Hello, seems that the EFI menu contains some not expected characters. Could you please share with us output of the efibootmgr tool? As a workaround you might be able to install your system with inst.leavebootorder kernel boot parameter which will skip the problematic code. https://anaconda-installer.readthedocs.io/en/latest/boot-options.html#inst-leavebootorder Another way is to use efibootmgr to remove problematic entries manually. The question is if some existing entry is broken or Anaconda is not covering your case. To know that we need the output. i solved the problem with provided kernel paramater option thanks Looks like this is an issue with efibootmgr returning non UTF 8 strings: 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/bootloader/efi.py", line 74, in efibootmgr 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: return exec_func("efibootmgr", list(args), **kwargs) 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: File "/usr/lib64/python3.12/site-packages/pyanaconda/core/util.py", line 372, in execWithCapture 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: return _run_program(argv, stdin=stdin, root=root, log_output=log_output, 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: File "/usr/lib64/python3.12/site-packages/pyanaconda/core/util.py", line 295, in _run_program 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: output_string = output_string.decode("utf-8") 12:22:43,768 WARNING org.fedoraproject.Anaconda.Modules.Storage: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12:22:43,770 WARNING org.fedoraproject.Anaconda.Modules.Storage:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 104: invalid start byte The efibootmgr code also does not look like it should be returning anything else than utf 8: https://github.com/rhboot/efivar/blob/main/src/ucs2.h#L111 Maybe this is the same thing we are seeing ? https://bugs.launchpad.net/ironic-python-agent/+bug/2015602 In any case, reassigning to efibootmgr. efibootmgr is just showing you the data as it exists. We can't do anything about the fact that data is sometimes not utf-8; it's whatever is in the EFI variable. You're parsing this as utf-8, which isn't necessarily the case. In any case the efibootmgr output doesn't seem to be included in this report, so that's required before we could even propose workarounds. *** Bug 2292509 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 2254801 *** |