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.
Description of problem: for satellite upgrade, required package "tfm-rubygem-katello python3-pulp-2to3-migration" update failed with ruby version dependency.
Version-Release number of selected component (if applicable):
6.10 Snap20
How reproducible:
always
Steps to Reproduce:
1. Prepare the base version of the satellite using the latest z-stream 6.9.6
2. Run the pulp migration.
3. update the repository for 6.10 upgrade
4. Run the upgrade but it gets failed at "tfm-rubygem-katello,python3-pulp-2to3-migration" package update check.
5. update the packages but it gets failed in the installer phase due to the ruby version dependency issue.
#foreman-maintain packages update -y tfm-rubygem-katello python3-pulp-2to3-migration
Update package(s) tfm-rubygem-katello, python3-pulp-2to3-migration, --assumeyes: Loaded plugins: product-id, search-disabled-repos, subscription-manager
Cleaning repos: maintenance6 rhel-7-server-ansible-2.9-rpms rhel-7-server-rpms
: rhel-server-rhscl-7-rpms sat6 sat6tools7
Other repos take up 120 M of disk space (use --verbose for details)
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
................
...............
Replaced:
tfm-rubygem-pulp_2to3_migration_client.noarch 1:0.10.0-1.el7sat
tfm-rubygem-puma-plugin-systemd.noarch 0:0.1.5-1.el7sat
tfm-rubygem-rbovirt.noarch 0:0.1.7-4.el7sat
Complete!
[OK]
--------------------------------------------------------------------------------
Procedures::Installer::Upgrade: 2021-09-28 03:11:16 [NOTICE] [root] Loading default values from puppet modules...
2021-09-28 03:11:23 [NOTICE] [root] ... finished
/opt/rh/rh-ruby25/root/usr/bin/ruby: error while loading shared libraries: libruby.so.2.5: cannot open shared object file: No such file or directory
Output of 'facter fqdn' is different from 'hostname -f'
Actual results:
"tfm-rubygem-katello,python3-pulp-2to3-migration" package failed with ruby version dependency issue.
Expected results:
the package should be updated successfully.
Additional info:
The problem is that the code from https://github.com/theforeman/foreman_maintain/pull/529 expects to be run on a system that has no 6.10 repositories enabled yet.
But due to the fact that QE is testing snaps, they pre-configure 6.10 repositories before running f-maintain and thus f-maintain sees the katello from 6.10 as an upgrade.
Verified.
Tested on Satellite 6.9.7 Snap 1
Version: rubygem-foreman_maintain-0.8.19-1.el7sat.noarch (From Satellite 6.10.0 Snap 22)
Setup:
1. configure/enable the latest 6.10 repos from dogfood/CDN.
Steps:
1. # foreman-maintain upgrade check --target-version=6.10 --whitelist="repositories-validate"
Observation:
In case of 6.10 repos enabled, check "check-for-newer-packages" will detect updates of tfm-rubygem-katello, python3-pulp-2to3-migration from 6.10 repos, so check passes by skipping if those are available updates, and the check fails only if updates are tfm-rubygem-katello<4.1 and python3-pulp-2to3-migration<0.12
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 (Satellite 6.10 Satellite Maintenance Release), 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-2021:4697
Description of problem: for satellite upgrade, required package "tfm-rubygem-katello python3-pulp-2to3-migration" update failed with ruby version dependency. Version-Release number of selected component (if applicable): 6.10 Snap20 How reproducible: always Steps to Reproduce: 1. Prepare the base version of the satellite using the latest z-stream 6.9.6 2. Run the pulp migration. 3. update the repository for 6.10 upgrade 4. Run the upgrade but it gets failed at "tfm-rubygem-katello,python3-pulp-2to3-migration" package update check. 5. update the packages but it gets failed in the installer phase due to the ruby version dependency issue. #foreman-maintain packages update -y tfm-rubygem-katello python3-pulp-2to3-migration Update package(s) tfm-rubygem-katello, python3-pulp-2to3-migration, --assumeyes: Loaded plugins: product-id, search-disabled-repos, subscription-manager Cleaning repos: maintenance6 rhel-7-server-ansible-2.9-rpms rhel-7-server-rpms : rhel-server-rhscl-7-rpms sat6 sat6tools7 Other repos take up 120 M of disk space (use --verbose for details) Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies ................ ............... Replaced: tfm-rubygem-pulp_2to3_migration_client.noarch 1:0.10.0-1.el7sat tfm-rubygem-puma-plugin-systemd.noarch 0:0.1.5-1.el7sat tfm-rubygem-rbovirt.noarch 0:0.1.7-4.el7sat Complete! [OK] -------------------------------------------------------------------------------- Procedures::Installer::Upgrade: 2021-09-28 03:11:16 [NOTICE] [root] Loading default values from puppet modules... 2021-09-28 03:11:23 [NOTICE] [root] ... finished /opt/rh/rh-ruby25/root/usr/bin/ruby: error while loading shared libraries: libruby.so.2.5: cannot open shared object file: No such file or directory Output of 'facter fqdn' is different from 'hostname -f' Actual results: "tfm-rubygem-katello,python3-pulp-2to3-migration" package failed with ruby version dependency issue. Expected results: the package should be updated successfully. Additional info: