RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1809221 - Yum plugins are loaded multiple times after updating the host to the latest subscription-manager [rhel-7.7.z]
Summary: Yum plugins are loaded multiple times after updating the host to the latest s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.8
Hardware: All
OS: All
high
high
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On: 1741183
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-02 15:47 UTC by RAD team bot copy to z-stream
Modified: 2023-09-07 22:09 UTC (History)
22 users (show)

Fixed In Version: subscription-manager-1.24.13-4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1741183
Environment:
Last Closed: 2020-03-17 16:20:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2204 0 None closed 1741183: Yum loaded subscription-manager plugin multiple times 2021-01-21 20:28:23 UTC
Red Hat Bugzilla 1742208 0 urgent CLOSED package profile upload seems to be broken on RHEL7.7 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1743120 0 urgent CLOSED package profile upload seems to be broken on RHEL7.7 [rhel-7.7.z] 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Solution) 3667101 0 None None None 2020-03-02 15:47:46 UTC
Red Hat Product Errata RHBA-2020:0854 0 None None None 2020-03-17 16:20:15 UTC

Description RAD team bot copy to z-stream 2020-03-02 15:47:42 UTC
This bug has been copied from bug #1741183 and has been proposed to be backported to 7.7 z-stream (EUS).

Comment 5 Craig Donnelly 2020-03-03 20:02:22 UTC
Verifying on RHEL 7.7 GA + zstream updates, against Satellite 6.6 with subscription-manager-1.24.13-4.el7_7:

Configuration required:    package_profile_on_trans = [0]

===================================== Test without katello-agent installed

[root@dhcp-8-30-136 ~]# yum install zsh
Loaded plugins: product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                            | 2.0 kB  00:00:00     
rhel-7-server-satellite-tools-6.6-rpms                                                        | 2.1 kB  00:00:00     
(1/6): rhel-7-server-rpms/7Server/x86_64/group                                                | 773 kB  00:00:00     
(2/6): rhel-7-server-rpms/7Server/x86_64/updateinfo                                           | 3.5 MB  00:00:00     
(3/6): rhel-7-server-satellite-tools-6.6-rpms/x86_64/group                                    |  949 B  00:00:00     
(4/6): rhel-7-server-satellite-tools-6.6-rpms/x86_64/updateinfo                               | 6.6 kB  00:00:00     
(5/6): rhel-7-server-satellite-tools-6.6-rpms/x86_64/primary                                  |  20 kB  00:00:00     
(6/6): rhel-7-server-rpms/7Server/x86_64/primary                                              |  41 MB  00:00:00     
rhel-7-server-rpms                                                                                       26753/26753
rhel-7-server-satellite-tools-6.6-rpms                                                                         65/65
Resolving Dependencies
--> Running transaction check
---> Package zsh.x86_64 0:5.0.2-33.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package             Arch                   Version                         Repository                          Size
=====================================================================================================================
Installing:
 zsh                 x86_64                 5.0.2-33.el7                    rhel-7-server-rpms                 2.4 M

Transaction Summary
=====================================================================================================================
Install  1 Package

Total download size: 2.4 M
Installed size: 5.6 M
Is this ok [y/d/N]: y
Downloading packages:
zsh-5.0.2-33.el7.x86_64.rpm                                                                   | 2.4 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : zsh-5.0.2-33.el7.x86_64                                                                           1/1 
Loaded plugins: product-id, subscription-manager                                                                           <<<<---- 1 additional without katello-agent installed.
  Verifying  : zsh-5.0.2-33.el7.x86_64                                                                           1/1 

Installed:
  zsh.x86_64 0:5.0.2-33.el7                                                                                          

Complete!

====================================== Test with katello-agent installed (katello-agent-3.5.1-2.el7sat.noarch)

[root@dhcp-8-30-136 ~]# yum install katello-agent
Loaded plugins: product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms                                                                            | 2.0 kB  00:00:00     
Not using downloaded rhel-7-server-rpms/repomd.xml because it is older than what we have:
  Current   : Thu Feb 27 10:06:20 2020
  Downloaded: Wed Jan  8 17:06:35 2020
rhel-7-server-satellite-tools-6.6-rpms                                                        | 2.1 kB  00:00:00     
(1/3): rhel-7-server-satellite-tools-6.6-rpms/x86_64/group                                    |  949 B  00:00:00     
(2/3): rhel-7-server-satellite-tools-6.6-rpms/x86_64/updateinfo                               | 6.6 kB  00:00:00     
(3/3): rhel-7-server-satellite-tools-6.6-rpms/x86_64/primary                                  |  20 kB  00:00:00     
rhel-7-server-satellite-tools-6.6-rpms                                                                         65/65
Resolving Dependencies
--> Running transaction check
---> Package katello-agent.noarch 0:3.5.1-2.el7sat will be installed
--> Processing Dependency: katello-host-tools = 3.5.1-2.el7sat for package: katello-agent-3.5.1-2.el7sat.noarch
--> Processing Dependency: python-gofer-proton >= 2.5 for package: katello-agent-3.5.1-2.el7sat.noarch
--> Processing Dependency: gofer >= 2.12.5 for package: katello-agent-3.5.1-2.el7sat.noarch
--> Running transaction check
---> Package gofer.noarch 0:2.12.5-5.el7sat will be installed
--> Processing Dependency: python-gofer = 2.12.5 for package: gofer-2.12.5-5.el7sat.noarch
---> Package katello-host-tools.noarch 0:3.5.1-2.el7sat will be installed
--> Processing Dependency: katello-host-tools-fact-plugin for package: katello-host-tools-3.5.1-2.el7sat.noarch
---> Package python-gofer-proton.noarch 0:2.12.5-5.el7sat will be installed
--> Processing Dependency: python-qpid-proton >= 0.9-5 for package: python-gofer-proton-2.12.5-5.el7sat.noarch
--> Running transaction check
---> Package katello-host-tools-fact-plugin.noarch 0:3.5.1-2.el7sat will be installed
---> Package python-gofer.noarch 0:2.12.5-5.el7sat will be installed
---> Package python-qpid-proton.x86_64 0:0.28.0-2.el7 will be installed
--> Processing Dependency: qpid-proton-c(x86-64) = 0.28.0-2.el7 for package: python-qpid-proton-0.28.0-2.el7.x86_64
--> Processing Dependency: libqpid-proton-core.so.10()(64bit) for package: python-qpid-proton-0.28.0-2.el7.x86_64
--> Running transaction check
---> Package qpid-proton-c.x86_64 0:0.28.0-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                            Arch       Version              Repository                                  Size
=====================================================================================================================
Installing:
 katello-agent                      noarch     3.5.1-2.el7sat       rhel-7-server-satellite-tools-6.6-rpms      41 k
Installing for dependencies:
 gofer                              noarch     2.12.5-5.el7sat      rhel-7-server-satellite-tools-6.6-rpms      52 k
 katello-host-tools                 noarch     3.5.1-2.el7sat       rhel-7-server-satellite-tools-6.6-rpms      33 k
 katello-host-tools-fact-plugin     noarch     3.5.1-2.el7sat       rhel-7-server-satellite-tools-6.6-rpms      16 k
 python-gofer                       noarch     2.12.5-5.el7sat      rhel-7-server-satellite-tools-6.6-rpms     194 k
 python-gofer-proton                noarch     2.12.5-5.el7sat      rhel-7-server-satellite-tools-6.6-rpms      58 k
 python-qpid-proton                 x86_64     0.28.0-2.el7         rhel-7-server-satellite-tools-6.6-rpms     210 k
 qpid-proton-c                      x86_64     0.28.0-2.el7         rhel-7-server-satellite-tools-6.6-rpms     186 k

Transaction Summary
=====================================================================================================================
Install  1 Package (+7 Dependent packages)

Total download size: 790 k
Installed size: 2.7 M
Is this ok [y/d/N]: y
Downloading packages:
(1/8): gofer-2.12.5-5.el7sat.noarch.rpm                                                       |  52 kB  00:00:00     
(2/8): katello-agent-3.5.1-2.el7sat.noarch.rpm                                                |  41 kB  00:00:00     
(3/8): katello-host-tools-fact-plugin-3.5.1-2.el7sat.noarch.rpm                               |  16 kB  00:00:00     
(4/8): katello-host-tools-3.5.1-2.el7sat.noarch.rpm                                           |  33 kB  00:00:00     
(5/8): python-gofer-2.12.5-5.el7sat.noarch.rpm                                                | 194 kB  00:00:00     
(6/8): python-gofer-proton-2.12.5-5.el7sat.noarch.rpm                                         |  58 kB  00:00:00     
(7/8): python-qpid-proton-0.28.0-2.el7.x86_64.rpm                                             | 210 kB  00:00:00     
(8/8): qpid-proton-c-0.28.0-2.el7.x86_64.rpm                                                  | 186 kB  00:00:00     
---------------------------------------------------------------------------------------------------------------------
Total                                                                                1.3 MB/s | 790 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : python-gofer-2.12.5-5.el7sat.noarch                                                               1/8 
  Installing : gofer-2.12.5-5.el7sat.noarch                                                                      2/8 
  Installing : katello-host-tools-fact-plugin-3.5.1-2.el7sat.noarch                                              3/8 
  Installing : katello-host-tools-3.5.1-2.el7sat.noarch                                                          4/8 
  Installing : qpid-proton-c-0.28.0-2.el7.x86_64                                                                 5/8 
  Installing : python-qpid-proton-0.28.0-2.el7.x86_64                                                            6/8 
  Installing : python-gofer-proton-2.12.5-5.el7sat.noarch                                                        7/8 
  Installing : katello-agent-3.5.1-2.el7sat.noarch                                                               8/8 
Created symlink from /etc/systemd/system/multi-user.target.wants/goferd.service to /usr/lib/systemd/system/goferd.service.
Loaded plugins: product-id, subscription-manager                                                                             <<<<<<----- 2 additional with katello-agent installed.
Loaded plugins: product-id, subscription-manager                                                                             <<<<<<   (during install, and all subsequent actions)
  Verifying  : gofer-2.12.5-5.el7sat.noarch                                                                      1/8 
  Verifying  : python-gofer-2.12.5-5.el7sat.noarch                                                               2/8 
  Verifying  : qpid-proton-c-0.28.0-2.el7.x86_64                                                                 3/8 
  Verifying  : python-qpid-proton-0.28.0-2.el7.x86_64                                                            4/8 
  Verifying  : katello-host-tools-3.5.1-2.el7sat.noarch                                                          5/8 
  Verifying  : katello-host-tools-fact-plugin-3.5.1-2.el7sat.noarch                                              6/8 
  Verifying  : python-gofer-proton-2.12.5-5.el7sat.noarch                                                        7/8 
  Verifying  : katello-agent-3.5.1-2.el7sat.noarch                                                               8/8 

Installed:
  katello-agent.noarch 0:3.5.1-2.el7sat                                                                              

Dependency Installed:
  gofer.noarch 0:2.12.5-5.el7sat                                  katello-host-tools.noarch 0:3.5.1-2.el7sat         
  katello-host-tools-fact-plugin.noarch 0:3.5.1-2.el7sat          python-gofer.noarch 0:2.12.5-5.el7sat              
  python-gofer-proton.noarch 0:2.12.5-5.el7sat                    python-qpid-proton.x86_64 0:0.28.0-2.el7           
  qpid-proton-c.x86_64 0:0.28.0-2.el7                            

Complete!

============================================== Additional test with katello-agent installed (non-self-targeting)

[root@dhcp-8-30-136 ~]# yum remove zsh
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package zsh.x86_64 0:5.0.2-33.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package             Arch                   Version                        Repository                           Size
=====================================================================================================================
Removing:
 zsh                 x86_64                 5.0.2-33.el7                   @rhel-7-server-rpms                 5.6 M

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

Installed size: 5.6 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : zsh-5.0.2-33.el7.x86_64                                                                           1/1 
Uploading Package Profile
Loaded plugins: product-id, subscription-manager                                                                      <<<<<<---- Still 2 additional (katello-agent installed)
  Verifying  : zsh-5.0.2-33.el7.x86_64                                                                           1/1 
rhel-7-server-rpms/7Server/x86_64                                                             | 2.0 kB  00:00:00     
rhel-7-server-satellite-tools-6.6-rpms/x86_64                                                 | 2.1 kB  00:00:00     

Removed:
  zsh.x86_64 0:5.0.2-33.el7                                                                                          

Complete!
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager                                                                      <<<<<<----


-----------
Verified as it improves from the original experience in BZ 1741183.
Without the new version, there is still one Loaded plugins line per enabled repository on the host.

Comment 6 Craig Donnelly 2020-03-04 16:54:38 UTC
Some of my comment when missing, so for clarification:

When using the GA release of subscription-manager with the config from above, there will be extra loading plugin lines per enabled-repo.

[root@dhcp-8-30-136 test]# rpm -q subscription-manager
subscription-manager-1.24.13-3.el7_7.x86_64

>>> See multiple prints below, before upgrading sub-man
[root@dhcp-8-30-136 test]# yum install zsh
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-ansible-2.8-rpms                                                                | 2.3 kB  00:00:00     
rhel-7-server-rpms                                                                            | 2.0 kB  00:00:00     
rhel-7-server-satellite-tools-6.5-rpms                                                        | 2.1 kB  00:00:00     
rhel-7-server-satellite-tools-6.6-rpms                                                        | 2.1 kB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package zsh.x86_64 0:5.0.2-33.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package             Arch                   Version                         Repository                          Size
=====================================================================================================================
Installing:
 zsh                 x86_64                 5.0.2-33.el7                    rhel-7-server-rpms                 2.4 M

Transaction Summary
=====================================================================================================================
Install  1 Package

Total download size: 2.4 M
Installed size: 5.6 M
Is this ok [y/d/N]: y
Downloading packages:
zsh-5.0.2-33.el7.x86_64.rpm                                                                   | 2.4 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : zsh-5.0.2-33.el7.x86_64                                                                           1/1 
Uploading Package Profile
Loaded plugins: product-id, subscription-manager
Loaded plugins: product-id, subscription-manager
Loaded plugins: product-id, subscription-manager
Loaded plugins: product-id, subscription-manager
  Verifying  : zsh-5.0.2-33.el7.x86_64                                                                           1/1 

Installed:
  zsh.x86_64 0:5.0.2-33.el7                                                                                          

Complete!
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager


>>>> Now with the errata:
[root@dhcp-8-30-136 ~]# rpm -q subscription-manager
subscription-manager-1.24.13-4.el7_7.x86_64
[root@dhcp-8-30-136 ~]# yum install zsh -y
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-ansible-2.8-rpms                                                                | 2.3 kB  00:00:00     
rhel-7-server-rpms                                                                            | 2.0 kB  00:00:00     
rhel-7-server-satellite-tools-6.5-rpms                                                        | 2.1 kB  00:00:00     
rhel-7-server-satellite-tools-6.6-rpms                                                        | 2.1 kB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package zsh.x86_64 0:5.0.2-33.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package             Arch                   Version                         Repository                          Size
=====================================================================================================================
Installing:
 zsh                 x86_64                 5.0.2-33.el7                    rhel-7-server-rpms                 2.4 M

Transaction Summary
=====================================================================================================================
Install  1 Package

Total download size: 2.4 M
Installed size: 5.6 M
Downloading packages:
zsh-5.0.2-33.el7.x86_64.rpm                                                                   | 2.4 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : zsh-5.0.2-33.el7.x86_64                                                                           1/1 
Uploading Package Profile
Loaded plugins: product-id, subscription-manager
  Verifying  : zsh-5.0.2-33.el7.x86_64                                                                           1/1 

Installed:
  zsh.x86_64 0:5.0.2-33.el7                                                                                          

Complete!
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager

Comment 8 errata-xmlrpc 2020-03-17 16:20:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0854


Note You need to log in before you can comment on or make changes to this bug.