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

Remove old packages out of /usr/share/gems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 6.17.0, 6.18.0
    • Upgrades
    • False
    • Low
    • None
    • None
    • None
    • None

      Description of problem:

      When upgrading satellite, we keep the old gem files in /usr/share/gems/gems which leaves a lot of crud behind on the filesystem. 

      How reproducible:

      Install a satellite 6.15 or earlier and upgrade it to the latest version and see old directories from gems left behind. 

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. Install a 6.15 or earlier and upgrade it to the latest version

      2. Check /usr/share/gems/gems and see old versions of katello, foreman and plugins

      Actual behavior:
      [root@satpreview gems]# ls | grep katello
      hammer_cli_katello-1.17.0.pre.main
      katello-4.16.0.pre.master
      katello-4.17.0.pre.master

      Expected behavior:
      After an upgrade of a rubygem rpm we remove the old version since downgrades of satellite are not supported.

       

              Unassigned Unassigned
              rhn-support-chrobert Chris Roberts
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: