Bug 1809221
| Summary: | Yum plugins are loaded multiple times after updating the host to the latest subscription-manager [rhel-7.7.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | RAD team bot copy to z-stream <autobot-eus-copy> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.8 | CC: | ajoseph, cdonnell, csnyder, dgross, hyu, ilazkano, jhnidek, jsefler, lmiksik, molasaga, mvanderw, ofalk, pdwyer, peter.vreman, rcarrier, rdrazny, redakkan, rlavande, sadas, skallesh, wpoteat, yann.lopez |
| Target Milestone: | rc | Keywords: | Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.24.13-4 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1741183 | Environment: | |
| Last Closed: | 2020-03-17 16:20:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1741183 | ||
| Bug Blocks: | |||
|
Description
RAD team bot copy to z-stream
2020-03-02 15:47:42 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. 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 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 |