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

Removal of katello-agent triggers removal of katello-host-tools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • 6.7.0
    • Documentation
    • Moderate
    • None

      Description of problem:
      In order to migration from katello-agent to katello-host-tools, customers will need to uninstall katello-agent.
      While uninstalling the katello-agent, the katello-host-tools will be removed as a dependency.

      Version-Release number of selected component (if applicable):
      Red Hat Satellite 6.7 (did not yet test on 6.8, but assume the problem will remain the same)
      Red Hat Satellite Tools 6.7 (did not yet test on 6.8, but assume the problem will remain the same)

      Repo @satellite-tools-6.7-for-rhel-8-x86_64-rpms

      How reproducible:

      Steps to Reproduce:
      Prerequisites: katello-agent installed from satellite-tools repository

      1. on RHEL 7 client - no issue (but not cleaning all as well)
      [root@rhel7-katello-test ~]# rpm -qi katello-agent
      Name : katello-agent
      Version : 3.5.1
      Release : 2.el7sat
      Architecture: noarch
      Install Date: Fri 29 Jan 2021 11:29:10 AM UTC
      Group : Development/Languages
      Size : 121165
      License : LGPLv2
      Signature : RSA/SHA256, Wed 09 Oct 2019 02:36:51 PM UTC, Key ID 199e2f91fd431d51
      Source RPM : katello-host-tools-3.5.1-2.el7sat.src.rpm
      Build Date : Tue 20 Aug 2019 01:59:00 PM UTC
      Build Host : x86-034.build.eng.bos.redhat.com
      Relocations : (not relocatable)
      Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
      Vendor : Red Hat, Inc.
      URL : https://github.com/Katello/katello-agent
      Summary : The Katello Agent
      Description :
      Provides plugin for gofer, which allows communicating with Katello server
      and execute scheduled actions.
      [root@rhel7-katello-test ~]# rpm -qi katello-host-tools
      Name : katello-host-tools
      Version : 3.5.1
      Release : 2.el7sat
      Architecture: noarch
      Install Date: Fri 29 Jan 2021 11:29:08 AM UTC
      Group : Development/Languages
      Size : 43641
      License : LGPLv2
      Signature : RSA/SHA256, Wed 09 Oct 2019 02:36:50 PM UTC, Key ID 199e2f91fd431d51
      Source RPM : katello-host-tools-3.5.1-2.el7sat.src.rpm
      Build Date : Tue 20 Aug 2019 01:59:00 PM UTC
      Build Host : x86-034.build.eng.bos.redhat.com
      Relocations : (not relocatable)
      Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
      Vendor : Red Hat, Inc.
      URL : https://github.com/Katello/katello-agent
      Summary : A set of commands and yum plugins that support a Katello host
      Description :
      A set of commands and yum plugins that support a Katello host including faster package profile uploading and bound repository reporting. This is required for errata and package applicability reporting.
      [root@rhel7-katello-test ~]# yum remove katello-agent
      Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
      Resolving Dependencies
      --> Running transaction check
      ---> Package katello-agent.noarch 0:3.5.1-2.el7sat will be erased
      --> Finished Dependency Resolution

      Dependencies Resolved

      ===================================================================================================================================================================================================================
      Package Arch Version Repository Size
      ===================================================================================================================================================================================================================
      Removing:
      katello-agent noarch 3.5.1-2.el7sat @rhel-7-server-satellite-tools-6.7-rpms 118 k

      Transaction Summary
      ===================================================================================================================================================================================================================
      Remove 1 Package

      Installed size: 118 k
      Is this ok [y/N]: n
      Exiting on user command

      2. on RHEL 8 client - katello-host-tools will be removed alongside the unused packages
      [root@rhel8-katello-test ~]# rpm -qi katello-agent
      Name : katello-agent
      Version : 3.5.1
      Release : 2.el8sat
      Architecture: noarch
      Install Date: Fri 29 Jan 2021 11:27:22 AM UTC
      Group : Development/Languages
      Size : 110354
      License : LGPLv2
      Signature : RSA/SHA256, Thu 03 Oct 2019 03:46:53 PM UTC, Key ID 199e2f91fd431d51
      Source RPM : katello-host-tools-3.5.1-2.el8sat.src.rpm
      Build Date : Tue 20 Aug 2019 01:39:40 PM UTC
      Build Host : ppc-044.build.eng.bos.redhat.com
      Relocations : (not relocatable)
      Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
      Vendor : Red Hat, Inc.
      URL : https://github.com/Katello/katello-agent
      Summary : The Katello Agent
      Description :
      Provides plugin for gofer, which allows communicating with Katello server
      and execute scheduled actions.
      [root@rhel8-katello-test ~]# rpm -qi katello-host-tools
      Name : katello-host-tools
      Version : 3.5.1
      Release : 2.el8sat
      Architecture: noarch
      Install Date: Fri 29 Jan 2021 11:27:20 AM UTC
      Group : Development/Languages
      Size : 35261
      License : LGPLv2
      Signature : RSA/SHA256, Thu 03 Oct 2019 03:46:53 PM UTC, Key ID 199e2f91fd431d51
      Source RPM : katello-host-tools-3.5.1-2.el8sat.src.rpm
      Build Date : Tue 20 Aug 2019 01:39:40 PM UTC
      Build Host : ppc-044.build.eng.bos.redhat.com
      Relocations : (not relocatable)
      Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
      Vendor : Red Hat, Inc.
      URL : https://github.com/Katello/katello-agent
      Summary : A set of commands and yum plugins that support a Katello host
      Description :
      A set of commands and yum plugins that support a Katello host including faster package profile uploading and bound repository reporting. This is required for errata and package applicability reporting.
      [root@rhel8-katello-test ~]# dnf remove katello-agent
      Updating Subscription Management repositories.
      Dependencies resolved.
      ===================================================================================================================================================================================================================
      Package Architecture Version Repository Size
      ===================================================================================================================================================================================================================
      Removing:
      katello-agent noarch 3.5.1-2.el8sat @satellite-tools-6.7-for-rhel-8-x86_64-rpms 108 k
      Removing unused dependencies:
      gofer noarch 2.12.5-7.el8sat @satellite-tools-6.7-for-rhel-8-x86_64-rpms 31 k
      katello-host-tools noarch 3.5.1-2.el8sat @satellite-tools-6.7-for-rhel-8-x86_64-rpms 34 k
      python3-gofer noarch 2.12.5-7.el8sat @satellite-tools-6.7-for-rhel-8-x86_64-rpms 622 k
      python3-gofer-proton noarch 2.12.5-7.el8sat @satellite-tools-6.7-for-rhel-8-x86_64-rpms 65 k
      python3-pip noarch 9.0.3-16.el8 @rhel-8-for-x86_64-appstream-rpms 2.8 k
      python3-qpid-proton x86_64 0.28.0-3.el8 @satellite-tools-6.7-for-rhel-8-x86_64-rpms 2.0 M
      python3-setuptools noarch 39.2.0-5.el8 @rhel-8-for-x86_64-baseos-rpms 450 k
      python36 x86_64 3.6.8-2.module+el8.1.0+3334+5cb623d7 @rhel-8-for-x86_64-appstream-rpms 13 k
      qpid-proton-c x86_64 0.28.0-3.el8 @satellite-tools-6.7-for-rhel-8-x86_64-rpms 683 k

      Transaction Summary
      ===================================================================================================================================================================================================================
      Remove 10 Packages

      Freed space: 4.0 M
      Is this ok [y/N]:

      Actual results:
      when katello-agent is removed, katello-host-tools should not be removed

      Expected results:
      When the packages for katello-agent are removed, katello-host-tools should remain installed on the system

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-jscheibe Johannes Scheiber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: