RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2157916 - update bootloader/zipl.py for zipl >= 2.25.0
Summary: update bootloader/zipl.py for zipl >= 2.25.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Deadline: 2023-01-10
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: anaconda
Version: 9.1
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Radek Vykydal
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 2044200 2110310
TreeView+ depends on / blocked
 
Reported: 2023-01-03 14:48 UTC by Dan Horák
Modified: 2023-05-09 08:35 UTC (History)
3 users (show)

Fixed In Version: anaconda-34.25.2.5-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:35:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-143552 0 None None None 2023-01-03 14:57:47 UTC
Red Hat Issue Tracker RTT-5088 0 None None None 2023-01-04 12:44:08 UTC
Red Hat Issue Tracker RTT-5089 0 None None None 2023-01-04 12:44:12 UTC
Red Hat Product Errata RHBA-2023:2223 0 None None None 2023-05-09 07:36:00 UTC

Description Dan Horák 2023-01-03 14:48:39 UTC
We are rebasing s390utils to version 2.25.0 which will change the output of the zipl tool that's being parsed by anaconda. Thus we need https://github.com/rhinstaller/anaconda/pull/4483 to be merged into anaconda to work around that.

Comment 1 Dan Horák 2023-01-03 14:54:35 UTC
The symptoms can be seen in Rawhide until the mentioned PR is merged, see storage.log excerpt bellow. After successfully installing the bootloader anaconda fails to read back IPL device id from the output.

...
INFO:anaconda.threading:Thread Done: AnaTaskThread-ConfigureBootloaderTask-1 (4395809372352)
INFO:anaconda.threading:Running Thread: AnaTaskThread-InstallBootloaderTask-1 (4395809372352)
INFO:anaconda.modules.common.task.task:Install the bootloader
DEBUG:anaconda.modules.storage.bootloader.utils:Installing the boot loader.
INFO:anaconda.modules.storage.bootloader.utils:boot loader stage1 target device is vda
INFO:anaconda.modules.storage.bootloader.utils:boot loader stage2 target device is vda1
DEBUG:anaconda.modules.storage.bootloader.base:Applying ZIPL Secure Boot: auto
INFO:anaconda.modules.storage.bootloader.zipl:bootloader.py: used boot args: root=UUID=eff43dc2-9a74-410d-adcf-f453b8d8c76e
INFO:anaconda.modules.storage.bootloader.zipl:bootloader.py: used boot args: root=UUID=eff43dc2-9a74-410d-adcf-f453b8d8c76e
INFO:program:Running in chroot '/mnt/sysroot'... zipl
INFO:program:Using config file '/etc/zipl.conf'
INFO:program:Using BLS config file '/boot/loader/entries/86d3b25fb10548e6b9dd2ad68631bd6f-6.1.0-65.fc38.s390x.conf'
INFO:program:Using BLS config file '/boot/loader/entries/86d3b25fb10548e6b9dd2ad68631bd6f-0-rescue.conf'
INFO:program:Building bootmap in '/boot'
INFO:program:Building menu 'zipl-automatic-menu'
INFO:program:Adding #1: IPL section '(6.1.0-65.fc38.s390x)' (default)
INFO:program:Adding #2: IPL section '(0-rescue-86d3b25fb10548e6b9dd2ad68631bd6f)'
INFO:program:Preparing boot device for LD-IPL: vda (0000).
INFO:program:Done.
DEBUG:program:Return code: 0
ERROR:anaconda.modules.storage.bootloader.installation:Bootloader installation has failed: could not find IPL device
Traceback (most recent call last):
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/installation.py", line 139, in run
    install_boot_loader(storage=self._storage)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/utils.py", line 215, in install_boot_loader
    storage.bootloader.write()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/base.py", line 1024, in write
    self.install()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/bootloader/zipl.py", line 170, in install
    raise BootLoaderError("could not find IPL device")
pyanaconda.modules.storage.bootloader.base.BootLoaderError: could not find IPL device
INFO:anaconda.threading:Thread Failed: AnaTaskThread-InstallBootloaderTask-1 (4395809372352)
ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-InstallBootloaderTask-1 has failed: Traceback (most recent call last):
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
  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/modules/common/task/task.py", line 96, in _thread_run_callback
    self._task_run_callback()
  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/storage/bootloader/installation.py", line 142, in run
    raise BootloaderInstallationError(str(e)) from None
pyanaconda.modules.common.errors.installation.BootloaderInstallationError: could not find IPL device

Comment 3 Radek Vykydal 2023-01-04 12:55:08 UTC
https://github.com/rhinstaller/anaconda/pull/4486

Comment 4 Jan Stodola 2023-01-10 15:57:41 UTC
The change from comment 0 is included in anaconda-34.25.2.5-1.el9 and the installation works fine on s390x (without updated s390utils).

Marking as Verified:Tested,SanityOnly

Comment 7 Jan Stodola 2023-01-13 16:22:04 UTC
Checked that anaconda-34.25.2.5-1.el9 is in nightly compose RHEL-9.2.0-20230111.33

Moving to VERIFIED

Comment 9 errata-xmlrpc 2023-05-09 07:35:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2223


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