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 2061688 - old rubygems (from 6.7 and older) installed and prevent EL7 to EL8 upgrade
Summary: old rubygems (from 6.7 and older) installed and prevent EL7 to EL8 upgrade
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.11.0
Assignee: Evgeni Golov
QA Contact: sganar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-08 10:27 UTC by Evgeni Golov
Modified: 2022-07-05 14:34 UTC (History)
4 users (show)

Fixed In Version: satellite-7.0.0-0.7.beta
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:34:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:34:36 UTC

Description Evgeni Golov 2022-03-08 10:27:05 UTC
Description of problem:
Ohai,

pmoravec++ has a nice old and upgraded setup, where he spotted a few old rubygems that are installed and thus prevent the upgrade from RHEL7 to RHEL8 to happen properly.

The initial culprit was rubygem-thor, but looking at the system there are more packages that can be removed:

 rubygem-ansi                                               noarch                                1.4.3-3.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                123 k
 rubygem-bundler                                            noarch                                1.7.8-3.el7                                                   @rhel-7-server-rpms                                              420 k
 rubygem-bundler_ext                                        noarch                                0.4.1-3.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                8.3 k
 rubygem-concurrent-ruby                                    noarch                                1:1.1.4-2.el7sat                                              @rhel-7-server-satellite-6.7-rpms                                677 k
 rubygem-ffi                                                x86_64                                1.4.0-3.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                9.3 M
 rubygem-gssapi                                             noarch                                1.1.2-4.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                 38 k
 rubygem-hashie                                             noarch                                2.0.5-5.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                 42 k
 rubygem-jwt                                                noarch                                1.2.1-1.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                6.4 k
 rubygem-little-plugger                                     noarch                                1.1.3-22.el7sat                                               @rhel-7-server-satellite-6.7-rpms                                 15 k
 rubygem-logging                                            noarch                                2.2.2-4.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                179 k
 rubygem-mime-types                                         noarch                                1.19-7.el7sat                                                 @rhel-7-server-satellite-6.7-rpms                                104 k
 rubygem-multi_json                                         noarch                                1.12.2-2.el7sat                                               @rhel-7-server-satellite-6.7-rpms                                 32 k
 rubygem-net-http-persistent                                noarch                                2.8-5.el7                                                     @rhel-7-server-rpms                                               48 k
 rubygem-net-ssh                                            noarch                                4.2.0-1.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                356 k
 rubygem-netrc                                              noarch                                0.7.7-9.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                7.4 k
 rubygem-openscap                                           noarch                                0.4.7-2.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                 60 k
 rubygem-powerbar                                           noarch                                2.0.1-2.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                 13 k
 rubygem-rack                                               noarch                                1:1.6.12-1.el7sat                                             @rhel-7-server-satellite-6.8-rpms                                277 k
 rubygem-rb-inotify                                         noarch                                0.9.7-2.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                 24 k
 rubygem-rest-client                                        noarch                                1.6.7-7.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                 42 k
 rubygem-rkerberos                                          x86_64                                0.1.5-15.el7sat                                               @rhel-7-server-satellite-6.7-rpms                                 65 k
 rubygem-rsec                                               noarch                                0.4.3-2.el7sat                                                @rhel-7-server-satellite-6.7-rpms                                 30 k
 rubygem-rubyipmi                                           noarch                                0.10.0-4.el7sat                                               @rhel-7-server-satellite-6.7-rpms                                 84 k
 rubygem-thor                                               noarch                                0.19.1-1.el7                                                  @rhel-7-server-rpms                                              162 k
 rubygem-tilt                                               noarch                                1.3.7-2.git.0.3b416c9.el7sat                                  @rhel-7-server-satellite-6.7-rpms                                 72 k


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Brad Buckingham 2022-03-08 14:44:07 UTC
Moving to POST based upon the associated MR.

Comment 4 sganar 2022-05-09 09:13:57 UTC
Verified.

Tested on Satellite 6.11.0 Snap 19

Steps followed: 
1. Get a 6.7 Satellite 
2. Upgrade Satellite 6.7 till 6.11
3. Upgrade Satellite 6.11 RHEL 7 to Satellite 6.11 RHEL 8

Observation: 
Upgrade from el7 to el8 is successful without any error and the above mentioned packages are removed.

Comment 7 errata-xmlrpc 2022-07-05 14:34:21 UTC
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 (Moderate: Satellite 6.11 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/RHSA-2022:5498


Note You need to log in before you can comment on or make changes to this bug.