Leapp fails to upgrade the system in reboot phase and prints "Message: Failed to append extra arguments to kernel command line."

Solution Verified - Updated -

Issue

  • Upgrading a RHEL 7 system to RHEL 8 fails in the reboot phase, drops to emergency mode and prints the following error message:

    ============================================================
                               ERRORS
    ============================================================
    2021-06-05 15:20:04.141285 [ERROR] Actor: kernelcmdlineconfig
    Message: Failed to append extra arguments to kernel command line.
    Summary:
        Details: Command ['grubby', '--update-kernel=/boot/vmlinuz-4.18.0-305.3.1.el8_4.x86_64', '--args=net.ifnames=0'] failed with exit code 1.
    ============================================================
                           END OF ERRORS
    ============================================================
    

Environment

  • Red Hat Enterprise Linux 7
    • leapp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content