Bug 2173099 - pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xff in position 97: invalid start byte
Summary: pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't d...
Keywords:
Status: CLOSED DUPLICATE of bug 2148480
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9eb4d0f1ffa0fcee918a24d1191...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-23 22:27 UTC by Claudius Raphael Paeth
Modified: 2023-03-07 16:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-03-07 16:15:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.95 MB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: anaconda.log (23.24 KB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: dbus.log (3.39 KB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: environ (709 bytes, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: lorax-packages.log (26.15 KB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: lsblk_output (3.04 KB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: nmcli_dev_list (2.20 KB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: os_info (666 bytes, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: program.log (12.83 KB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: storage.log (308.19 KB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details
File: syslog (1.58 MB, text/plain)
2023-02-23 22:27 UTC, Claudius Raphael Paeth
no flags Details

Description Claudius Raphael Paeth 2023-02-23 22:27:22 UTC
Description of problem:
Installing BootLoader fails (still, since Fedora 34 Silverblue) - no matter if giving complete disk for automatic partitioning or using manual partitioning - on all HP Elitebook 27xx models (2730p/2740p/2760p) (HP custom hybrid uefi 64-bit), no matter if uefi variables/slots were cleared before or not.

Version-Release number of selected component:
anaconda-37.12.6

The following was filed automatically by anaconda:
anaconda 37.12.6 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 439, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 246, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 515, in _run_installation
    queue.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 80, in run
    self._run_installation(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 109, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 96, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 166, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 175, in finish
    threadMgr.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/async_utils.py", line 68, in _idle_method
    func(*args, **kwargs)
pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xff in position 97: invalid start byte

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-Knt-ostree-x86_64-37 quiet
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
product:        Fedora
release:        Fedora release 37 (Thirty Seven)
type:           anaconda
version:        37

Comment 1 Claudius Raphael Paeth 2023-02-23 22:27:26 UTC
Created attachment 1946025 [details]
File: anaconda-tb

Comment 2 Claudius Raphael Paeth 2023-02-23 22:27:28 UTC
Created attachment 1946026 [details]
File: anaconda.log

Comment 3 Claudius Raphael Paeth 2023-02-23 22:27:29 UTC
Created attachment 1946027 [details]
File: dbus.log

Comment 4 Claudius Raphael Paeth 2023-02-23 22:27:30 UTC
Created attachment 1946028 [details]
File: environ

Comment 5 Claudius Raphael Paeth 2023-02-23 22:27:31 UTC
Created attachment 1946029 [details]
File: lorax-packages.log

Comment 6 Claudius Raphael Paeth 2023-02-23 22:27:33 UTC
Created attachment 1946030 [details]
File: lsblk_output

Comment 7 Claudius Raphael Paeth 2023-02-23 22:27:34 UTC
Created attachment 1946031 [details]
File: nmcli_dev_list

Comment 8 Claudius Raphael Paeth 2023-02-23 22:27:35 UTC
Created attachment 1946032 [details]
File: os_info

Comment 9 Claudius Raphael Paeth 2023-02-23 22:27:36 UTC
Created attachment 1946033 [details]
File: program.log

Comment 10 Claudius Raphael Paeth 2023-02-23 22:27:38 UTC
Created attachment 1946034 [details]
File: storage.log

Comment 11 Claudius Raphael Paeth 2023-02-23 22:27:42 UTC
Created attachment 1946035 [details]
File: syslog

Comment 12 Claudius Raphael Paeth 2023-02-23 23:03:55 UTC
Note: This was actually reported from another failed Silverblue Kinoite install not pure Silverblue, none the less it is identical on Silverblue, as well as IOT.

Comment 13 Claudius Raphael Paeth 2023-02-23 23:28:23 UTC
Similar problem has been detected:

Standard install on whole disk, no customizations. Happens on all Elitebook 27xx series (2730p/2740p/2760p) (HP custom Hybrid 64-bit UEFI). Compare API Key 10795 - Fedora37Kinoite. Bootloader installation fails, no matter if NVRAM was cleared before or not.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-iot-ostree-x86_64-37 quiet
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
package:        anaconda-37.12.6
packaging.log:  
product:        Fedora
reason:         pyanaconda.modules.common.errors.general.AnacondaError: 'utf-8' codec can't decode byte 0xff in position 97: invalid start byte
release:        Fedora release 37 (Thirty Seven)
version:        37

Comment 14 Claudius Raphael Paeth 2023-02-23 23:41:29 UTC
I really would love to use Silverblue or any derivative of it on these machines. Sadly Since Silverblue 34 no install completes. MAnually selecting the installed GRUB leads to a freeze/balnk screen (no GRUB Rescue). Only way to use the install is actually installing Debian alongside, which autodetects the Silverblue install (so i assume the bootloader was indeed written but relies on some UEFI variable which was not successfully stored?). Where SilverBlue/IOT is not autodetected by Debian GRUB, i can use it to chroot into the OStree and reinstall GRUB, this sometimes works, but randomly fails.

The most reliable workaround is using custom partitioning in anaconda. Delete all contents and use the auto-create for btrfs (in Silverblue and Kinoite), then completely shutdown after ignoring the failed bootloader install and then boot directly manually via efi file selection to grub (this only works this way, once - if doing anything inbetween like booting from installer-media again it fails - which again leads me to the assumption that the installer creates and relies on some temporary UEFI-Variable stored in nvram, becasue if i run it without battery and after shutdown also unplug it, this workaroundd does now work).

Any help, inside appreciated.

Comment 15 Claudius Raphael Paeth 2023-02-23 23:43:49 UTC
Until Fedora 36 another optional route was to manually create an ostree in a regular Fedora install on btrfs, initialize it and install Silverblue/Kinoite/etc. manually inside the regular Fedora). This stopped working in Fedora 36 as well.

Comment 16 Vladimír Slávik 2023-03-07 16:15:22 UTC
This is already filed as bug 2148480, efibootmgr dumps "something" to console that does not agree with the rest of things.

*** This bug has been marked as a duplicate of bug 2148480 ***


Note You need to log in before you can comment on or make changes to this bug.