Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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
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