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"
  • subscription-manager-1.24.13-1.el7, introduced in Red Hat Enterprise Linux (RHEL) 7.7

Issue

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

Resolution

  • For Satellite Tools 6.4, this issue has been resolved with latest Satellite Tools 6.4.3 Async Bug Fix Update.
    Update the katello-agent and related packages to the latest version.
    Fixed versions:

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

  • For subscription-manager-1.24.13-1.el7, this is actively being worked on in RHBZ#1741183
    Should you encounter this issue, please feel free to open a support ticket.

Root Cause

  • For more details about the issue in Satellite Tools 6.4, please refer to RHBZ#1684690.
  • For more details about the issue in subscription-manager-1.24.13-1, please refer to RHBZ#1741183.

Diagnostic Steps

  • With katello-host-tools-3.3.5-3 from from Red Hat Satellite Tools 6.4, 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/<i>UID</i>/content_overrides
    GET /rhsm/consumers/<i>UID</i>/release
    

    Example from the command line:

    # yum repolist
    Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
    repo id                                                                           repo name                                                                                               tatus
    !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
    
  • With subscription-manager-1.24.13-1.el7, introduced in Red Hat Enterprise Linux (RHEL) 7.7, the problem only occurs if a transaction is executed; For example (choose any kind of transaction, like install, upgrade, downgrade and any package you like):

    # yum -y upgrade ksh
    Loaded plugins: changelog, enabled_repos_upload, langpacks, package_upload,
                  : product-id, search-disabled-repos, subscription-manager
    rhel-7-server-ansible-2.7-rpms                           | 2.3 kB     00:00     
    rhel-7-server-devtools-rpms                              | 2.3 kB     00:00     
    rhel-7-server-extras-rpms                                | 2.0 kB     00:00     
    rhel-7-server-optional-rpms                              | 1.8 kB     00:00     
    rhel-7-server-rpms                                       | 2.0 kB     00:00     
    rhel-7-server-satellite-tools-6.5-rpms                   | 2.1 kB     00:00     
    rhel-server-rhscl-7-rpms                                 | 2.0 kB     00:00     
    Resolving Dependencies
    --> Running transaction check
    ---> Package ksh.x86_64 0:20120801-137.el7 will be updated
    ---> Package ksh.x86_64 0:20120801-139.el7 will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package   Arch         Version                  Repository                Size
    ================================================================================
    Updating:
     ksh       x86_64       20120801-139.el7         rhel-7-server-rpms       885 k
    
    Transaction Summary
    ================================================================================
    Upgrade  1 Package
    
    Total download size: 885 k
    Downloading packages:
    ksh-20120801-139.el7.x86_64.rpm                            | 885 kB   00:00     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Updating   : ksh-20120801-139.el7.x86_64                                  1/2 
      Cleanup    : ksh-20120801-137.el7.x86_64                                  2/2 
    Uploading Package Profile
    Loaded plugins: langpacks, product-id, subscription-manager
    Loaded plugins: langpacks, product-id, subscription-manager
    Loaded plugins: langpacks, product-id, subscription-manager
    Loaded plugins: langpacks, product-id, subscription-manager
    Loaded plugins: langpacks, product-id, subscription-manager
    Loaded plugins: langpacks, product-id, subscription-manager
    Loaded plugins: langpacks, product-id, subscription-manager
      Verifying  : ksh-20120801-139.el7.x86_64                                  1/2 
      Verifying  : ksh-20120801-137.el7.x86_64                                  2/2 
    
    Updated:
      ksh.x86_64 0:20120801-139.el7                                                 
    
    Complete!
    Uploading Enabled Repositories Report
    Loaded plugins: langpacks, 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.

Comments