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:
LEAPP upgrade fails without module_hotfixes=1. So there still has to be configured module_hotfixes=1 in satellite/satellite-capsule repo.
Instead LEAPP upgrade should enable satellite:el8/satellite-capsule:el8 module itself.
Version-Release number of selected component (if applicable):
Satellite 6.11.0
leapp-0.14.0-1.el7_9.noarch
leapp-upgrade-el7toel8-0.16.0-100.20220519121013056118.master.34.g2f747a9.el7.noarch (copr)
How reproducible:
deterministic
Steps to Reproduce:
1. Run LEAPP preupgrade check without configuring satellite/capsule repo specifically
# leapp preupgrade
...
STDERR:
Warning: Package marked by Leapp to install not found in repositories metadata: rubygem-foreman_remote_execution rubygem-smart_proxy_dynflow rubygem-foreman-tasks rubygem-foreman_theme_satellite rubygem-smart_proxy_ansible rubygem-foreman_templates rubygem-hammer_cli_foreman_remote_execution rubygem-foreman_openscap rubygem-hammer_cli_katello rubygem-smart_proxy_remote_execution_ssh rubygem-foreman_hooks rubygem-smart_proxy_pulp rubygem-hammer_cli_foreman_virt_who_configure rubygem-hammer_cli_foreman_openscap rubygem-katello python38-pulp-certguard postgresql-evr rubygem-hammer_cli_foreman_ansible rubygem-hammer_cli_foreman_admin rubygem-foreman_rh_cloud rubygem-smart_proxy_openscap rubygem-foreman_virt_who_configure rubygem-hammer_cli python38-pulpcore rubygem-hammer_cli_foreman_azure_rm rubygem-foreman_azure_rm rubygem-foreman_bootdisk python38-pulp-container rubygem-hammer_cli_foreman_templates rubygem-hammer_cli_foreman_bootdisk rubygem-foreman_webhooks rubygem-hammer_cli_foreman_tasks python38-pulp-ansible rubygem-smart_proxy_discovery rubygem-hammer_cli_foreman_webhooks rubygem-foreman_leapp rubygem-hammer_cli_foreman_discovery rubygem-foreman_discovery python38-pulp-rpm rubygem-smart_proxy_dynflow_core log4j12 rubygem-hammer_cli_foreman rubygem-foreman_ansible python38-pulp-file
Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp python2-leapp
Transaction check:
Problem 1: package foreman-installer-katello-1:3.1.2.6-1.el7sat.noarch requires katello-certs-tools, but none of the providers can be installed
- package katello-certs-tools-2.9.0-1.el7sat.noarch requires python-setuptools, but none of the providers can be installed
- conflicting requests
- package katello-certs-tools-2.9.0-1.el8sat.noarch is filtered out by modular filtering
Problem 2: package rubygem-foreman_maintain-1:1.0.10-1.el7sat.noarch requires rh-postgresql12-postgresql-syspaths, but none of the providers can be installed
- package rh-postgresql12-postgresql-syspaths-12.9-1.el7.x86_64 requires rh-postgresql12-runtime, but none of the providers can be installed
- conflicting requests
Problem 3: package katello-4.3.0-2.el7sat.noarch requires candlepin >= 2.0, but none of the providers can be installed
- package candlepin-4.1.13-1.el7sat.noarch requires /usr/bin/python, but none of the providers can be installed
- conflicting requests
- package candlepin-4.1.13-1.el8sat.noarch is filtered out by modular filtering
Problem 4: package foreman-installer-1:3.1.2.6-1.el7sat.noarch requires rh-ruby27-ruby(release), but none of the providers can be installed
- package rh-ruby27-ruby-libs-2.7.4-130.el7.x86_64 requires rh-ruby27-runtime, but none of the providers can be installed
- conflicting requests
Problem 5: package foreman-installer-katello-1:3.1.2.6-1.el7sat.noarch requires katello-certs-tools, but none of the providers can be installed
- package katello-certs-tools-2.9.0-1.el7sat.noarch requires python-setuptools, but none of the providers can be installed
- package satellite-installer-6.11.0.7-1.el7sat.noarch requires foreman-installer-katello >= 3.14.0, but none of the providers can be installed
- package python-setuptools-0.9.8-7.el7.noarch requires python-backports-ssl_match_hostname, but none of the providers can be installed
- conflicting requests
- package katello-certs-tools-2.9.0-1.el8sat.noarch is filtered out by modular filtering
- package foreman-installer-katello-1:3.1.2.6-1.el8sat.noarch is filtered out by modular filtering
============================================================
END OF ERRORS
============================================================
Actual results:
leapp upgrade fails to resolve dependencies
Expected results:
leapp upgrade succeeds w/o any specific changes to satellite/capsule repo
To work around the issue one has to run:
@Satellite
# subscription-manager repo-override --repo=satellite-6.11-for-rhel-8-x86_64-rpms --add=module_hotfixes:1
@Capsule
# subscription-manager repo-override --repo=satellite-capsule-6.11-for-rhel-8-x86_64-rpms --add=module_hotfixes:1
@bbuckingham @egolov
I realized a major flaw of workaround described in comment#1 - it expects that satellite-6.11-for-rhel-8-x86_64-rpms or satellite-capsule-6.11-for-rhel-8-x86_64-rpms repos are pre-enabled on the RHEL7 Satellite !!!
You can't enable RHEL8 repo on RHEL7, so the workaround is only applicable for custom (internal) repos. Oops :(
Tried this (enable some el8 repo on RHEL7):
# subscription-manager repos --enable satellite-tools-6.10-for-rhel-8-x86_64-rpms
Error: 'satellite-tools-6.10-for-rhel-8-x86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
You shouldn't need to *enable* the EL8 repo. Adding the override should work perfectly for a disabled repo too?
# subscription-manager repo-override --repo=satellite-6.11-for-rhel-8-x86_64-rpms --add=module_hotfixes:1
On a test box of mine, which doesn't even know what a Satellite is, I get:
# subscription-manager repo-override --repo=satellite-6.11-for-rhel-8-x86_64-rpms --add=module_hotfixes:1
Repository 'satellite-6.11-for-rhel-8-x86_64-rpms' does not currently exist, but the override has been added.
And for a disabled one, it also works:
# subscription-manager repos --disable ansible-2-for-rhel-8-x86_64-rpms
Repository 'ansible-2-for-rhel-8-x86_64-rpms' is disabled for this system.
# subscription-manager repo-override --repo=ansible-2-for-rhel-8-x86_64-rpms --add=module_hotfixes:1
<silence>
VERIFIED.
@Satellite 6.11.0
leapp-0.14.0-1.el7_9.noarch
leapp-upgrade-el7toel8-0.16.0-7.el7_9.noarch
by the reproducer described in comment#0:
# leapp preupgrade
...
============================================================
REPORT
============================================================
A report has been generated at /var/log/leapp/leapp-report.json
A report has been generated at /var/log/leapp/leapp-report.txt
============================================================
END OF REPORT
============================================================
Answerfile has been generated at /var/log/leapp/answerfile
>>> leapp preupgrade succeeds as the satellite/capsule modules are now enabled
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-repository bug fix 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-2022:6141
Comment 16Red Hat Bugzilla
2023-09-18 04:37:47 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days
Description of problem: LEAPP upgrade fails without module_hotfixes=1. So there still has to be configured module_hotfixes=1 in satellite/satellite-capsule repo. Instead LEAPP upgrade should enable satellite:el8/satellite-capsule:el8 module itself. Version-Release number of selected component (if applicable): Satellite 6.11.0 leapp-0.14.0-1.el7_9.noarch leapp-upgrade-el7toel8-0.16.0-100.20220519121013056118.master.34.g2f747a9.el7.noarch (copr) How reproducible: deterministic Steps to Reproduce: 1. Run LEAPP preupgrade check without configuring satellite/capsule repo specifically # leapp preupgrade ... STDERR: Warning: Package marked by Leapp to install not found in repositories metadata: rubygem-foreman_remote_execution rubygem-smart_proxy_dynflow rubygem-foreman-tasks rubygem-foreman_theme_satellite rubygem-smart_proxy_ansible rubygem-foreman_templates rubygem-hammer_cli_foreman_remote_execution rubygem-foreman_openscap rubygem-hammer_cli_katello rubygem-smart_proxy_remote_execution_ssh rubygem-foreman_hooks rubygem-smart_proxy_pulp rubygem-hammer_cli_foreman_virt_who_configure rubygem-hammer_cli_foreman_openscap rubygem-katello python38-pulp-certguard postgresql-evr rubygem-hammer_cli_foreman_ansible rubygem-hammer_cli_foreman_admin rubygem-foreman_rh_cloud rubygem-smart_proxy_openscap rubygem-foreman_virt_who_configure rubygem-hammer_cli python38-pulpcore rubygem-hammer_cli_foreman_azure_rm rubygem-foreman_azure_rm rubygem-foreman_bootdisk python38-pulp-container rubygem-hammer_cli_foreman_templates rubygem-hammer_cli_foreman_bootdisk rubygem-foreman_webhooks rubygem-hammer_cli_foreman_tasks python38-pulp-ansible rubygem-smart_proxy_discovery rubygem-hammer_cli_foreman_webhooks rubygem-foreman_leapp rubygem-hammer_cli_foreman_discovery rubygem-foreman_discovery python38-pulp-rpm rubygem-smart_proxy_dynflow_core log4j12 rubygem-hammer_cli_foreman rubygem-foreman_ansible python38-pulp-file Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp python2-leapp Transaction check: Problem 1: package foreman-installer-katello-1:3.1.2.6-1.el7sat.noarch requires katello-certs-tools, but none of the providers can be installed - package katello-certs-tools-2.9.0-1.el7sat.noarch requires python-setuptools, but none of the providers can be installed - conflicting requests - package katello-certs-tools-2.9.0-1.el8sat.noarch is filtered out by modular filtering Problem 2: package rubygem-foreman_maintain-1:1.0.10-1.el7sat.noarch requires rh-postgresql12-postgresql-syspaths, but none of the providers can be installed - package rh-postgresql12-postgresql-syspaths-12.9-1.el7.x86_64 requires rh-postgresql12-runtime, but none of the providers can be installed - conflicting requests Problem 3: package katello-4.3.0-2.el7sat.noarch requires candlepin >= 2.0, but none of the providers can be installed - package candlepin-4.1.13-1.el7sat.noarch requires /usr/bin/python, but none of the providers can be installed - conflicting requests - package candlepin-4.1.13-1.el8sat.noarch is filtered out by modular filtering Problem 4: package foreman-installer-1:3.1.2.6-1.el7sat.noarch requires rh-ruby27-ruby(release), but none of the providers can be installed - package rh-ruby27-ruby-libs-2.7.4-130.el7.x86_64 requires rh-ruby27-runtime, but none of the providers can be installed - conflicting requests Problem 5: package foreman-installer-katello-1:3.1.2.6-1.el7sat.noarch requires katello-certs-tools, but none of the providers can be installed - package katello-certs-tools-2.9.0-1.el7sat.noarch requires python-setuptools, but none of the providers can be installed - package satellite-installer-6.11.0.7-1.el7sat.noarch requires foreman-installer-katello >= 3.14.0, but none of the providers can be installed - package python-setuptools-0.9.8-7.el7.noarch requires python-backports-ssl_match_hostname, but none of the providers can be installed - conflicting requests - package katello-certs-tools-2.9.0-1.el8sat.noarch is filtered out by modular filtering - package foreman-installer-katello-1:3.1.2.6-1.el8sat.noarch is filtered out by modular filtering ============================================================ END OF ERRORS ============================================================ Actual results: leapp upgrade fails to resolve dependencies Expected results: leapp upgrade succeeds w/o any specific changes to satellite/capsule repo