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 1983008 - PPC64: required "bootlist" executable may be missing, preventing system from being recovered
Summary: PPC64: required "bootlist" executable may be missing, preventing system from ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rear
Version: 7.9
Hardware: ppc64
OS: Linux
urgent
medium
Target Milestone: rc
: ---
Assignee: Pavel Cahyna
QA Contact: David Jež
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-16 09:03 UTC by Renaud Métrich
Modified: 2024-10-01 19:00 UTC (History)
6 users (show)

Fixed In Version: rear-2.4-14.el7_9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-11 17:36:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rear rear pull 2665 0 None None None 2021-08-03 17:10:25 UTC
Red Hat Product Errata RHBA-2022:0069 0 None None None 2022-01-11 17:36:13 UTC

Description Renaud Métrich 2021-07-16 09:03:23 UTC
Description of problem:

On PPC64/PPC64le, the "bootlist" executable is required when installing the boot loader, when the system is in PowerVM mode.
From /usr/share/rear/finalize/Linux-ppc64le/680_install_PPC_bootlist.sh:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
  2 #################################################################
  3 # Run bootlist only in PowerVM environment
  4 # which means not in BareMetal(PowerNV) or KVM (emulated by qemu)
  5 
  6 # Exit if you are not running in PowerVM mode.
  7 if grep -q "PowerNV" /proc/cpuinfo || grep -q "emulated by qemu" /proc/cpuinfo ; then
  8     return
  9 fi
 :
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

Unfortunately the current code doesn't do this check while creating the ReaR ISO, it just adds "bootlist" as a "wished" executable, in /usr/share/rear/conf/Linux-ppc64.conf:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[...]
  6 PROGS=(
[...]
 12 bootlist
[...]
 18 )
[...]
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

Since "bootlist" is required, there should be a test during mkrescue phase if on PowerVM.

"bootlist" is shipped by "powervm-tools" on RHEL7 and "powervm-tools-core" on RHEL8.

Actual error when "bootlist" is not present while recovering:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
2021-07-09 13:35:43.982493402 PPC PReP Boot partition found: /dev/sda1
2021-07-09 13:35:43.985351115 Boot device disk is /dev/sda.
2021-07-09 13:35:43.989938442 Set LPAR bootlist to '/dev/sda'
2021-07-09 13:35:43.991806712 Unable to set bootlist. You will have to start in SMS to set it up manually.
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------



Version-Release number of selected component (if applicable):

rear-2.4 and Upstream (same code)


How reproducible:

N/A

Comment 3 Pavel Cahyna 2021-07-22 09:22:26 UTC
See bz1983013 for the discussion of possible fixes.

Comment 13 errata-xmlrpc 2022-01-11 17:36:05 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 (rear 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-2022:0069


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