Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). 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 rh-issues@redhat.com 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 "https://issues.redhat.com/browse/RHEL-XXXX", 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.
Description of problem:
In case of the following error is initiated by Leapp
~~~
2021-10-08 02:52:22.048437 [ERROR] Actor: target_userspace_creator
Message: Unable to install RHEL 8 userspace packages.
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=b8681acf-4d2b-4467-9585-09193ac3c142', '--setenv=LEAPP_HOSTNAME=Tiz-QAPOS-clone.ilusion.com.mx', 'dnf', 'install', '-y', '--nogpgcheck', '--setopt=module_platform_id=platform:el8', '--setopt=keepcache=1', '--releasever', u'8.4', '--installroot', '/el8target', '--disablerepo', '*', '--enablerepo', u'rhel-8-for-x86_64-baseos-rpms', '--enablerepo', u'rhel-8-for-x86_64-appstream-rpms', 'dnf'] failed with exit code 1.
Stderr: Host and machine ids are equal (7cb2420da3ed41c8822754fe7be2e86f): refusing to link journals
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo.
Error: Unable to find a match: dnf
~~~
the above error occurs because the proxy is specified in /etc/yum.conf for which we have a solution article as well.
~~~
[leapp] Unable to upgrade to RHEL 8 behind a NTLM proxy
https://access.redhat.com/solutions/5464081
~~~
In case of this error, Leapp should check whether the proxy is specified in the yum/dnf configuration and provide a better message.
~~~
$ cat etc/yum.conf | grep proxy
proxy=http://xxx.x.x.x:zzzz
~~~
Version-Release number of selected component (if applicable):
leapp-0.12.1-1.el7_9.noarch
leapp-deps-0.12.1-1.el7_9.noarch
leapp-repository-0.14.0-4.el7_9.noarch
leapp-repository-deps-0.14.0-4.el7_9.noarch
python2-leapp-0.12.1-1.el7_9.noarch
Actual results:
Message is not clear regarding the proxy used in the system.
Expected results:
Leapp should check whether the proxy is specified in the yum/dnf configuration and provide a better message.
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (leapp and leapp-repository bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2023:3187
Description of problem: In case of the following error is initiated by Leapp ~~~ 2021-10-08 02:52:22.048437 [ERROR] Actor: target_userspace_creator Message: Unable to install RHEL 8 userspace packages. 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=b8681acf-4d2b-4467-9585-09193ac3c142', '--setenv=LEAPP_HOSTNAME=Tiz-QAPOS-clone.ilusion.com.mx', 'dnf', 'install', '-y', '--nogpgcheck', '--setopt=module_platform_id=platform:el8', '--setopt=keepcache=1', '--releasever', u'8.4', '--installroot', '/el8target', '--disablerepo', '*', '--enablerepo', u'rhel-8-for-x86_64-baseos-rpms', '--enablerepo', u'rhel-8-for-x86_64-appstream-rpms', 'dnf'] failed with exit code 1. Stderr: Host and machine ids are equal (7cb2420da3ed41c8822754fe7be2e86f): refusing to link journals Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo. Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo. Error: Unable to find a match: dnf ~~~ the above error occurs because the proxy is specified in /etc/yum.conf for which we have a solution article as well. ~~~ [leapp] Unable to upgrade to RHEL 8 behind a NTLM proxy https://access.redhat.com/solutions/5464081 ~~~ In case of this error, Leapp should check whether the proxy is specified in the yum/dnf configuration and provide a better message. ~~~ $ cat etc/yum.conf | grep proxy proxy=http://xxx.x.x.x:zzzz ~~~ Version-Release number of selected component (if applicable): leapp-0.12.1-1.el7_9.noarch leapp-deps-0.12.1-1.el7_9.noarch leapp-repository-0.14.0-4.el7_9.noarch leapp-repository-deps-0.14.0-4.el7_9.noarch python2-leapp-0.12.1-1.el7_9.noarch Actual results: Message is not clear regarding the proxy used in the system. Expected results: Leapp should check whether the proxy is specified in the yum/dnf configuration and provide a better message. Additional info: