Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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.
[Bug] - Leapp upgrade of Red Hat Satellite server failed with error tomcatjss-7.2.5-1.el7.noarch from @System does not belong to a distupgrade repository
Description of problem:
Unable to perform RHEL-7 to RHEL-8 upgrade of Satellite server.
Upgrade path: RHEL 7.9 to RHEL 8.10
Version-Release number of selected component (if applicable):
Satellite 6.11.5
# rpm -qa | grep -i satellite
satellite-cli-6.11.5.7-1.el7sat.noarch
satellite-common-6.11.5.7-1.el7sat.noarch
satellite-maintain-0.0.1-1.el7sat.noarch
satellite-6.11.5.7-1.el7sat.noarch
satellite-installer-6.11.0.7-1.el7sat.noarch
# rpm -qa | grep -i leapp
leapp-upgrade-el7toel8-deps-0.20.0-2.el7_9.noarch
leapp-0.17.0-1.el7_9.noarch
tfm-rubygem-foreman_leapp-0.1.9-1.el7sat.noarch
python2-leapp-0.17.0-1.el7_9.noarch
leapp-deps-0.17.0-1.el7_9.noarch
leapp-upgrade-el7toel8-0.20.0-2.el7_9.noarch
How reproducible:
100%
Steps to Reproduce:
1. Deploy Red Hat Satellite 6.11 on RHEL-7.
2. Update to 6.11.z.
3. Install required leapp packages.
4. Run preupgrade command
#leapp preupgrade
Actual results:
2024-05-23 17:32:40.323176 [ERROR] Actor: dnf_transaction_check
Message: DNF execution failed with non zero exit code.
Summary:
Stdout: Last metadata expiration check: 0:01:40 ago on Thu May 23 17:30:47 2024.
Package foreman-installer-katello-1:3.1.2.8-1.el7sat.noarch is already installed.
Package rubygem-foreman_maintain-1:1.0.19-1.el7sat.noarch is already installed.
Package tfm-rubygem-smart_proxy_ansible-3.3.1-5.el7sat.noarch is already installed.
Package satellite-installer-6.11.0.7-1.el7sat.noarch is already installed.
Package katello-4.3.0-3.el7sat.noarch is already installed.
Package satellite-6.11.5.7-1.el7sat.noarch is already installed.
Package foreman-installer-1:3.1.2.8-1.el7sat.noarch is already installed.
Stderr: Warning: Package marked by Leapp to install not found in repositories metadata: log4j12
Warning: Package marked by Leapp to upgrade not found in repositories metadata: python2-leapp leapp gpg-pubkey leapp-upgrade-el7toel8
Transaction check:
Problem: problem with installed package tomcatjss-7.2.5-1.el7.noarch
- cannot install the best update candidate for package tomcatjss-7.2.5-1.el7.noarch
- package idm-tomcatjss-7.8.0-1.module+el8.10.0+21280+cce842b8.noarch from rhel-8-for-x86_64-appstream-rpms requires tomcat, but none of the providers can be installed
- tomcatjss-7.2.5-1.el7.noarch from @System does not belong to a distupgrade repository
- conflicting requests
Hint: If there was a problem reaching remote content (see stderr output) and proxy is configured in the YUM/DNF configuration file, the proxy configuration is likely causing this error. Make sure the proxy is properly configured in /etc/dnf/dnf.conf. It's also possible the proxy settings in the DNF configuration file are incompatible with the target system. A compatible configuration can be placed in /etc/leapp/files/dnf.conf which, if present, it will be used during some parts of the upgrade instead of original /etc/dnf/dnf.conf. In such case the configuration will also be applied to the target system. Note that /etc/dnf/dnf.conf needs to be still configured correctly for your current system to pass the early phases of the upgrade process.
============================================================
END OF ERRORS
============================================================
Debug output written to /var/log/leapp/leapp-preupgrade.log
============================================================
REPORT OVERVIEW
============================================================
Following errors occurred and the upgrade cannot continue:
1. Actor: dnf_transaction_check
Message: DNF execution failed with non zero exit code.
HIGH and MEDIUM severity reports:
1. Packages available in excluded repositories will not be installed
2. Difference in Python versions and support in RHEL 8
3. GRUB2 core will be automatically updated during the upgrade
4. Module pam_pkcs11 will be removed from PAM configuration
5. chrony using default configuration
6. Satellite PostgreSQL data migration
Reports summary:
Errors: 1
Inhibitors: 0
HIGH severity reports: 3
MEDIUM severity reports: 3
LOW severity reports: 6
INFO severity reports: 4
Before continuing consult the full 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
Expected results:
- Upgrade should be successful without any issues.
Additional info:
- leapp preupgrade --target 8.8 worked when we skipped the below steps from the documentation.
# echo tomcat >> /etc/leapp/transaction/to_remove
# echo tomcat-lib >> /etc/leapp/transaction/to_remove
Workaround:
Edit the file /etc/leapp/repos.d/system_upgrade/el7toel8/actors/satellite_upgrade_facts/actor.py
Remove the "to_remove.extend(['tomcat', 'tomcat-lib'])" line (line 62).
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.
Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.
To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:
"Bugzilla Bug" = 1234567
In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.
Description of problem: Unable to perform RHEL-7 to RHEL-8 upgrade of Satellite server. Upgrade path: RHEL 7.9 to RHEL 8.10 Version-Release number of selected component (if applicable): Satellite 6.11.5 # rpm -qa | grep -i satellite satellite-cli-6.11.5.7-1.el7sat.noarch satellite-common-6.11.5.7-1.el7sat.noarch satellite-maintain-0.0.1-1.el7sat.noarch satellite-6.11.5.7-1.el7sat.noarch satellite-installer-6.11.0.7-1.el7sat.noarch # rpm -qa | grep -i leapp leapp-upgrade-el7toel8-deps-0.20.0-2.el7_9.noarch leapp-0.17.0-1.el7_9.noarch tfm-rubygem-foreman_leapp-0.1.9-1.el7sat.noarch python2-leapp-0.17.0-1.el7_9.noarch leapp-deps-0.17.0-1.el7_9.noarch leapp-upgrade-el7toel8-0.20.0-2.el7_9.noarch How reproducible: 100% Steps to Reproduce: 1. Deploy Red Hat Satellite 6.11 on RHEL-7. 2. Update to 6.11.z. 3. Install required leapp packages. 4. Run preupgrade command #leapp preupgrade Actual results: 2024-05-23 17:32:40.323176 [ERROR] Actor: dnf_transaction_check Message: DNF execution failed with non zero exit code. Summary: Stdout: Last metadata expiration check: 0:01:40 ago on Thu May 23 17:30:47 2024. Package foreman-installer-katello-1:3.1.2.8-1.el7sat.noarch is already installed. Package rubygem-foreman_maintain-1:1.0.19-1.el7sat.noarch is already installed. Package tfm-rubygem-smart_proxy_ansible-3.3.1-5.el7sat.noarch is already installed. Package satellite-installer-6.11.0.7-1.el7sat.noarch is already installed. Package katello-4.3.0-3.el7sat.noarch is already installed. Package satellite-6.11.5.7-1.el7sat.noarch is already installed. Package foreman-installer-1:3.1.2.8-1.el7sat.noarch is already installed. Stderr: Warning: Package marked by Leapp to install not found in repositories metadata: log4j12 Warning: Package marked by Leapp to upgrade not found in repositories metadata: python2-leapp leapp gpg-pubkey leapp-upgrade-el7toel8 Transaction check: Problem: problem with installed package tomcatjss-7.2.5-1.el7.noarch - cannot install the best update candidate for package tomcatjss-7.2.5-1.el7.noarch - package idm-tomcatjss-7.8.0-1.module+el8.10.0+21280+cce842b8.noarch from rhel-8-for-x86_64-appstream-rpms requires tomcat, but none of the providers can be installed - tomcatjss-7.2.5-1.el7.noarch from @System does not belong to a distupgrade repository - conflicting requests Hint: If there was a problem reaching remote content (see stderr output) and proxy is configured in the YUM/DNF configuration file, the proxy configuration is likely causing this error. Make sure the proxy is properly configured in /etc/dnf/dnf.conf. It's also possible the proxy settings in the DNF configuration file are incompatible with the target system. A compatible configuration can be placed in /etc/leapp/files/dnf.conf which, if present, it will be used during some parts of the upgrade instead of original /etc/dnf/dnf.conf. In such case the configuration will also be applied to the target system. Note that /etc/dnf/dnf.conf needs to be still configured correctly for your current system to pass the early phases of the upgrade process. ============================================================ END OF ERRORS ============================================================ Debug output written to /var/log/leapp/leapp-preupgrade.log ============================================================ REPORT OVERVIEW ============================================================ Following errors occurred and the upgrade cannot continue: 1. Actor: dnf_transaction_check Message: DNF execution failed with non zero exit code. HIGH and MEDIUM severity reports: 1. Packages available in excluded repositories will not be installed 2. Difference in Python versions and support in RHEL 8 3. GRUB2 core will be automatically updated during the upgrade 4. Module pam_pkcs11 will be removed from PAM configuration 5. chrony using default configuration 6. Satellite PostgreSQL data migration Reports summary: Errors: 1 Inhibitors: 0 HIGH severity reports: 3 MEDIUM severity reports: 3 LOW severity reports: 6 INFO severity reports: 4 Before continuing consult the full 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 Expected results: - Upgrade should be successful without any issues. Additional info: - leapp preupgrade --target 8.8 worked when we skipped the below steps from the documentation. # echo tomcat >> /etc/leapp/transaction/to_remove # echo tomcat-lib >> /etc/leapp/transaction/to_remove