Satellite 6.16 failed to leapp upgrade to RHEL9, "systemd[1]: leapp_resume.service: Main process exited, code=exited, status=2/INVALIDARGUMENT"

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.16
  • Red Hat Enterprise Linux 8.10
    • leapp-upgrade-el8toel9

Issue

  • Red Hat Satellite 6.16 leapp upgrade to RHEL9 fails with below error:

    sat616 leapp3[3022]: Error: Phase firstboot.before does not exist in the workflow
    sat616 systemd[1]: leapp_resume.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
    

Resolution

WORKAROUND

  • Edit /usr/share/leapp-repository/repositories/system_upgrade/common/actors/createresumeservice/files/leapp_resume.service in order to:

    Add the following in the [Unit] section:

    After=selinux-autorelabel.service     <=========
    

    change the DefaultDependencies to yes (the default):

    DefaultDependencies=yes  <=========
    

For more KB articles/solutions related to Red Hat Satellite 6.x LEAPP Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues

Root Cause

Diagnostic Steps

SBR
Product(s)
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.