Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-25152

Incorrect rubygem-foreman_maintain installed on Satellite which causes inability to see next versions for upgrading

XMLWordPrintable

    • Moderate
    • No

      Description of problem:
      -----------------------
      Incorrect version of package, `rubygem-foreman_maintain` installed will provide the following output when executing, `satellite-maintain upgrade list-versions` on satellite server:

      Checking for new version of satellite-maintain...
      Nothing to update, can't find new version of satellite-maintain.

      Version-Release number of selected component (if applicable):
      -------------------------------------------------------------
      rubygem-foreman_maintain (Not version specific, but specific to the requirements of the Satellite version)

      How reproducible:
      -----------------
      100%

      Steps to Reproduce:
      -------------------
      1. Have a Satellite on version X (6.12) needing to upgrade to version Y (6.13)
      2. Have any version repository `satellite-maintenance-6.-for-rhel-8-x86_64-rpms` enabled Y+1 (6.14 | 6.15)
      3. Execute `satellite-maintain upgrade list-versions` and rubygem-foreman_maintain will update to the highest available version
      4. Execute `satellite-maintain upgrade list-versions` once more:

      Checking for new version of satellite-maintain...
      Nothing to update, can't find new version of satellite-maintain.

      Actual results:
      ---------------

      Checking for new version of satellite-maintain...
      Nothing to update, can't find new version of satellite-maintain.

      Expected results:
      -----------------

      Proper version should be displayed. For Satellite 6.12: 6.12.z and 6.13 options should be present.

      Work Around:
      ------------

      1. Understand the current version of Satellite and repositories enabled.

      1. rpm -q satellite
      2. subscription-manager repos --list-enabled

      2. Execute, `yum downgrade rubygem-foreman_maintain` if the current satellite repository version is enabled which provides the required rubygem-foreman_maintain version.

      3. Execute `satellite-maintain upgrade list-versions` and verify proper output is presented.

      4. Follow the rest of the upgrade documentation.

            ehelms@redhat.com Eric Helms
            rhn-support-bkielhol Benjamin Kielhold
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: