This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira ( 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 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 "", 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 2221207 - RFE: catch "efibootmgr -C" error
Summary: RFE: catch "efibootmgr -C" error
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: leapp-repository
Version: 7.9
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Leapp Notifications Bot
QA Contact: upgrades-and-conversions
Depends On:
TreeView+ depends on / blocked
Reported: 2023-07-07 13:34 UTC by Renaud Métrich
Modified: 2023-09-12 15:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-09-12 15:22:30 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OAMG-9384 0 None None None 2023-07-07 13:38:01 UTC
Red Hat Issue Tracker   RHEL-3362 0 None Migrated None 2023-09-12 15:21:57 UTC
Red Hat Issue Tracker RHELPLAN-161789 0 None None None 2023-07-07 13:37:52 UTC
Red Hat Knowledge Base (Solution) 7023631 0 None None None 2023-07-07 13:36:10 UTC

Description Renaud Métrich 2023-07-07 13:34:39 UTC
Description of problem:

Customers upgrading VMWare VMs may face an issue were "efibootmgr -C" fails to create the new entry for the Leapp Upgrade kernel because of "No space left on device" (actor "efi_interim_fix"):
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
... leapp.workflow.InterimPreparation: Executing actor efi_interim_fix 
... leapp.workflow.InterimPreparation.efi_interim_fix: External command has started: ['/sbin/efibootmgr']
... leapp.workflow.InterimPreparation.efi_interim_fix: BootCurrent: 0005
... leapp.workflow.InterimPreparation.efi_interim_fix: BootOrder: 0005,0000,0001,0002,0003,0004
... leapp.workflow.InterimPreparation.efi_interim_fix: Boot0000* EFI Virtual disk (0.0)
... leapp.workflow.InterimPreparation.efi_interim_fix: Boot0001* EFI Virtual disk (1.0)
... leapp.workflow.InterimPreparation.efi_interim_fix: Boot0002* EFI VMware Virtual SATA CDROM Drive (0.0)
... leapp.workflow.InterimPreparation.efi_interim_fix: Boot0003* EFI Network
... leapp.workflow.InterimPreparation.efi_interim_fix: Boot0004* EFI Internal Shell (Unsupported option)
... leapp.workflow.InterimPreparation.efi_interim_fix: Boot0005* Red Hat Enterprise Linux
... leapp.workflow.InterimPreparation.efi_interim_fix: External command has finished: ['/sbin/efibootmgr']
... leapp.workflow.InterimPreparation.efi_interim_fix: External command has started: ['/sbin/efibootmgr', '-n', u'0005']
... leapp.workflow.InterimPreparation.efi_interim_fix: Could not set BootNext: No space left on device
... leapp.workflow.InterimPreparation.efi_interim_fix: Command ['/sbin/efibootmgr', '-n', u'0005'] failed with exit code 13.
... leapp.workflow.InterimPreparation.efi_interim_fix: External command has finished: ['/sbin/efibootmgr', '-n', u'0005']
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

The issue happens when VMWare VM has a too small NVRAM file.
It would be nice to point to the KCS I just wrote:

This KCS is VMWare specific. If the issue happens on other hardware, then likely there is some Firmware issue to deal with.

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

all releases

How reproducible:


Steps to Reproduce:
1. Create a VMWare VM at Hardware Level 13 in UEFI
2. Install RHEL7 and update it
3. Try to leapp it

Actual results:

See above

Expected results:

Error + KCS

Comment 3 Petr Stodulka 2023-07-10 08:59:13 UTC
Hi \o thanks for the report. We will documented in the KI section of the main documentation in the meanwhile.

Comment 4 RHEL Program Management 2023-09-12 14:45:46 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 5 RHEL Program Management 2023-09-12 15:22:30 UTC
This BZ has been automatically migrated to the Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit for general account information.

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