Leapp upgrade command returns Error: No handle specified with Message: Unable to install RHEL X userspace packages.

Solution Verified - Updated -

Issue

  • Leapp upgrade fails with Error: No handle specified :

    2025-00-19 00:00:00.12345  [ERROR] Actor: target_userspace_creator
    Message: Unable to install RHEL 9 userspace packages.
    Summary:
       Details: Command ['systemd-nspawn', '--register=no', '--quiet', '--keep-unit', '--capability=all', '-D',       '/var/lib/leapp/scratch/mounts/root_/system_overlay', '--setenv=LEAPP_HOSTNAME=client.example.com', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_NO_RHSM=1', '--setenv=LEAPP_NO_RHSM_FACTS=1', '--setenv=LEAPP_TARGET_PRODUCT_CHANNEL=ga', '--setenv=LEAPP_TARGET_ISO=/opt/rhel-9.4-x86_64-dvd.iso', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=9.4', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_IPU_IN_PROGRESS=8to9', '--setenv=LEAPP_EXECUTION_ID=122155-1221212', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/common/tools:/etc/leapp/repos.d/system_upgrade/el8toel9/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el8toel9/files', 'dnf', 'install', '-y', '--setopt=module_platform_id=platform:el9', '--setopt=keepcache=1', '--releasever', '9.4', '--installroot', '/el9target', '--disablerepo', '*', '--enablerepo', 'AppStream', '--enablerepo', 'BaseOS', 'util-linux', 'dnf-command(config-manager)', 'dnf', '--disableplugin',    'subscription-manager'] failed with exit code 1.
    Stderr: Host and machine ids are equal (122155-1221212): refusing to link journals
               Error: No handle specified
    

Environment

  • Red Hat Enterprise Linux 8
  • 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