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.

Bug 1457817

Summary: grub2/lorax on ppc64le breaks RHEL-7.4 Snapshot 2
Product: Red Hat Enterprise Linux 7 Reporter: Lubos Kocman <lkocman>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED ERRATA QA Contact: Lubos Kocman <lkocman>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.4CC: jstodola, jvavra, lmiksik
Target Milestone: rcKeywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: grub2-2.02-0.64.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 19:46:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lubos Kocman 2017-06-01 11:21:06 UTC
Description of problem:

Hello,

we've recently hit an issue with grub2. (more details on http://download-node-02.eng.bos.redhat.com/brewroot/work/tasks/3913/13313913/root.log)

DEBUG util.py:417:   grub2                         ppc64le 1:2.02-0.63.el7              build  27 k
DEBUG util.py:417:   grub2-common                  noarch  1:2.02-0.63.el7              build 724 k
DEBUG util.py:417:   grub2-ppc64le                 ppc64le 1:2.02-0.63.el7              build  27 k
DEBUG util.py:417:   grub2-ppc64le-modules         noarch  1:2.02-0.63.el7              build 758 k
DEBUG util.py:417:   grub2-tools                   ppc64le 1:2.02-0.63.el7              build 1.6 M
DEBUG util.py:417:   grub2-tools-extra             ppc64le 1:2.02-0.63.el7              build 887 k
DEBUG util.py:417:   grub2-tools-minimal           ppc64le 1:2.02-0.63.el7              build 154 k
DEBUG util.py:417:   hardlink                      ppc64le 1:1.0-19.el7                 build  14 k


DEBUG util.py:417:  2017-05-31 10:04:49,581:   runcmd grub2-mkimage -O powerpc-ieee1275 -d /usr/lib/grub/powerpc-ieee1275 -p ()/boot/grub -o /mnt/redhat/devel/candidate-trees/RHEL-7.4-20170531.n.2/work/ppc64le/buildinstall/Server/boot/grub/powerpc-ieee1275/core.elf iso9660 ext2 ofnet net tftp http
DEBUG util.py:417:    runcmd grub2-mkimage -O powerpc-ieee1275 -d /usr/lib/grub/powerpc-ieee1275 -p ()/boot/grub -o /mnt/redhat/devel/candidate-trees/RHEL-7.4-20170531.n.2/work/ppc64le/buildinstall/Server/boot/grub/powerpc-ieee1275/core.elf iso9660 ext2 ofnet net tftp http
DEBUG util.py:417:  2017-05-31 10:04:49,582:   CalledProcessError: Command '['grub2-mkimage', '-O', 'powerpc-ieee1275', '-d', '/usr/lib/grub/powerpc-ieee1275', '-p', '()/boot/grub', '-o', '/mnt/redhat/devel/candidate-trees/RHEL-7.4-20170531.n.2/work/ppc64le/buildinstall/Server/boot/grub/powerpc-ieee1275/core.elf', 'iso9660', 'ext2', 'ofnet', 'net', 'tftp', 'http']' returned non-zero exit status 1
DEBUG util.py:417:    CalledProcessError: Command '['grub2-mkimage', '-O', 'powerpc-ieee1275', '-d', '/usr/lib/grub/powerpc-ieee1275', '-p', '()/boot/grub', '-o', '/mnt/redhat/devel/candidate-trees/RHEL-7.4-20170531.n.2/work/ppc64le/buildinstall/Server/boot/grub/powerpc-ieee1275/core.elf', 'iso9660', 'ext2', 'ofnet', 'net', 'tftp', 'http']' returned non-zero exit status 1
DEBUG util.py:417:  Traceback (most recent call last):
DEBUG util.py:417:    File "/usr/sbin/lorax", line 337, in <module>
DEBUG util.py:417:      main(sys.argv)
DEBUG util.py:417:    File "/usr/sbin/lorax", line 235, in main
DEBUG util.py:417:      remove_temp=True)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 343, in run
DEBUG util.py:417:      treebuilder.build()
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 236, in build
DEBUG util.py:417:      self._runner.run(templatefile, kernels=self.kernels)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 182, in run
DEBUG util.py:417:      self._run(commands)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 201, in _run
DEBUG util.py:417:      f(*args)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 456, in runcmd
DEBUG util.py:417:      output = runcmd_output(cmd, cwd=cwd)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/executils.py", line 420, in runcmd_output
DEBUG util.py:417:      return execWithCapture(cmd[0], cmd[1:], **kwargs)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/executils.py", line 263, in execWithCapture
DEBUG util.py:417:      raise subprocess.CalledProcessError(proc.returncode, [command]+argv)
DEBUG util.py:417:  subprocess.CalledProcessError: Command '['grub2-mkimage', '-O', 'powerpc-ieee1275', '-d', '/usr/lib/grub/powerpc-ieee1275', '-p', '()/boot/grub', '-o', '/mnt/redhat/devel/candidate-trees/RHEL-7.4-20170531.n.2/work/ppc64le/buildinstall/Server/boot/grub/powerpc-ieee1275/core.elf', 'iso9660', 'ext2', 'ofnet', 'net', 'tftp', 'http']' returned non-zero exit status 1
DEBUG util.py:542:  Child return code was: 1
DEBUG util.py:176:  kill orphans
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/mnt/build/mock/rhel-7.4-build-3336654-2040754/root/sys'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0
DEBUG util.py:563:  child environment: None
DEBUG util.py:495:  Executing command: ['/bin/umount', '-n', '-l', '/mnt/build/mock/rhel-7.4-build-3336654-2040754/root/proc'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
DEBUG util.py:542:  Child return code was: 0

Comment 4 Peter Jones 2017-06-14 19:09:39 UTC
I believe this is fixed in grub2-2.02-0.64.el7, where we reverted the fix for bz#1455243 .

Comment 7 errata-xmlrpc 2017-08-01 19:46:36 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, 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-2017:2230