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

satellite-maintain upgrade check does not compare enabled repos for satellite or capsule with installed packages

XMLWordPrintable

    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      Description of problem:

      satellite-maintain upgrade check --target-version 6.8.z

      step Checking repositories enabled on the system

      does not compare enabled repository, capsule or satellite to actually installed packages. If capsule repo is enabled on satellite, instead of satellite repository, installer successfully continues and fails later on

      Error: Important rpm package satellite is not installed!
      Install satellite rpm to ensure system consistency.

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

      How reproducible:
      100%^

      Steps to Reproduce:
      1. on satellite server
      #subscription-manager repos --disable='rhel-7-server-satellite-6.8-rpms'
      2. #subscription-manager repos --enable='rhel-7-server-satellite-capsule-6.8-rpms'
      3.foreman-maintain upgrade check --target-version 6.8.z

      Actual results:

      satellite-maintain sees capsule repo as legitimate if it is enabled on satellite and vice versa leading to upgrade failure on

      Error: Important rpm package satellite is not installed!
      Install satellite rpm to ensure system consistency.

      Expected results:

      check for installed packages (satellite.noarch, satellite-capsule.noarch) before verifying the repositories

      Additional info:

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Griffin Sullivan Griffin Sullivan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: