Running leapp upgrade on Content Hosts registered with Red Hat Satellite 6 fails with Message: Unable to use yum successfully
Issue
-
Upgrading RHEL-7.9
Content Hosts
registered with Red Hat Satellite 6 to RHEL-8.2 usingleapp upgrade
fails with the below error.============================================================ ERRORS ============================================================ 2021-02-03 15:50:55.193514 [ERROR] Actor: target_userspace_creator Message: Unable to use yum successfully Summary: Details: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root_/system_overlay', '--bind=/etc/hosts:/etc/hosts', '-- setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=4e1b074b-5cba-467c-aaa6-6f45ac9b2939', '--setenv=LEAPP_HOSTNAME=client1.example.com', 'yum', 'clean', 'all'] failed with exit code 1. Stderr: Host and machine ids are equal (189dd10294c44c12a412d75395b32192): refusing to link journals There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories: yum-config-manager --enable <repo> ============================================================ END OF ERRORS ============================================================
Environment
- Red Hat Satellite 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.