The "Loaded Plugins" output is repeated multiple times after a yum transaction

Solution Verified - Updated -

Environment

  • katello-host-tools-3.3.5-3 from "Red Hat Satellite Tools 6.4"

Issue

  • The "Loaded Plugins" output is repeated once for each enabled repository.

Resolution

katello-agent-3.3.5-5.el7sat.noarch.rpm
katello-host-tools-3.3.5-5.el7sat.noarch.rpm

Root Cause

Diagnostic Steps

  • This also results in additional API calls to the Satellite. For each enabled repository, there will be and additional three API calls to the Satellite resulting in (3 original API calls + 3-per-plugin-invocation * number_enabled_repos) API calls during a yum transaction.

    GET /rhsm/
    GET /rhsm/consumers/UID/content_overrides
    GET /rhsm/consumers/UID/release

# yum repolist
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
repo id                                                                           repo name                                                                                              status
!rhel-7-server-rhv-4-mgmt-agent-rpms/7Server/x86_64                               Red Hat Virtualization 4 Management Agents for RHEL 7 (RPMs)                                            1,460
!rhel-7-server-rpms/7Server/x86_64                                                Red Hat Enterprise Linux 7 Server (RPMs)                                                               20,922
!rhel-7-server-satellite-tools-6.4-rpms/x86_64                                    Red Hat Satellite Tools 6.4 (for RHEL 7 Server) (RPMs)                                                     63
!rhel-server-rhscl-7-rpms/7Server/x86_64                                          Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server                                10,479
repolist: 32,924
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
Loaded plugins: product-id, subscription-manager
Loaded plugins: product-id, subscription-manager
Loaded plugins: product-id, subscription-manager

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.