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 1697563 - unexpected "Loaded plugins: product-id, subscription-manager" when attaching a pool
Summary: unexpected "Loaded plugins: product-id, subscription-manager" when attaching ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.7
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: rc
: ---
Assignee: Kevin Howell
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-08 17:05 UTC by John Sefler
Modified: 2019-08-06 12:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 12:57:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhsm.log from the second subscribed pool (88.78 KB, text/plain)
2019-04-08 17:05 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2083 0 None closed 1697563: Suppress output when collecting profile 2020-04-02 14:27:56 UTC
Red Hat Product Errata RHBA-2019:2008 0 None None None 2019-08-06 12:57:48 UTC

Description John Sefler 2019-04-08 17:05:56 UTC
Created attachment 1553675 [details]
rhsm.log from the second subscribed pool

Description of problem:

Occassionally while attaching a subscription, the stdout of subscription-manager attach is including an extra line of info "Loaded plugins: product-id, subscription-manager"  This info typically comes from a yum plugin.  Strangely it is showing up when calling subscription-manager attach.


Version-Release number of selected component (if applicable):
[root@hp-sl4540gen8-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.3.16-1
subscription management rules: 5.35
subscription-manager: 1.24.3-1.el7
[root@hp-sl4540gen8-01 ~]# rpm -q dnf yum
package dnf is not installed
yum-3.4.3-162.el7.noarch


How reproducible:
Not always

Steps to Reproduce:
After registering to a stage account with SKUs RH00004 and RH0802940....

[root@hp-sl4540gen8-01 ~]# subscription-manager list --consumed
No consumed subscription pools were found.
[root@hp-sl4540gen8-01 ~]# 
[root@hp-sl4540gen8-01 ~]# subscription-manager subscribe --pool=8a99f9a86885be6c01689c8af6362b43
Successfully attached a subscription for: Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)
[root@hp-sl4540gen8-01 ~]# 
[root@hp-sl4540gen8-01 ~]# subscription-manager subscribe --pool=8a99f9a86885be6c01689c8ad14a2b1e
Loaded plugins: product-id, subscription-manager   <============ LOOK HERE
Successfully attached a subscription for: Red Hat Enterprise Linux Academic Desktop, Self-support (2 sockets) with Smart Management


Actual results:
 notice "Loaded plugins: product-id, subscription-manager" on the second call to attach a subscription

Expected results:
 do not expect to see this loaded plugins output which I believe is coming from yum


Additional info:

Comment 3 Chris Snyder 2019-04-08 20:54:18 UTC
I think this issue is related to the following in RHEL 8. The solution may be the same.

bug 1663804

Comment 6 Rehana 2019-05-31 09:14:42 UTC
Reproducing the failure:
======================
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.3.17-1
subscription management rules: 5.35
subscription-manager: 1.24.3-1.el7

# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_test_****
Password: 
The system has been registered with ID: c1c01f15-316a-4ff6-9f80-ecae8e096105
The registered system name is: kvm-02-guest13.rhts.eng.brq.redhat.com

# subscription-manager attach --pool=8a99f9a169d976ae0169e34635ce30fb
Successfully attached a subscription for: Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)

Now attach the second pool :

# subscription-manager attach --pool=8a99f9aa6a74615f016a77720b82072c
Loaded plugins: product-id, subscription-manager
Successfully attached a subscription for: Red Hat Enterprise Linux Developer Workstation, Enterprise
^^ Notice the 'Loaded plugins: message

Comment 7 Rehana 2019-05-31 10:10:06 UTC
Verifying the bug on : 
====================
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.3.17-1
subscription management rules: 5.35
subscription-manager: 1.24.8-1.el7

# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_test***
Password: 
The system has been registered with ID: 16b93470-305c-4dbb-80b7-21045148de94
The registered system name is: kvm-02-guest14.rhts.eng.brq.redhat.com

# subscription-manager attach --pool=8a99f9a169d976ae0169e34635ce30fb
Successfully attached a subscription for: Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)

# subscription-manager attach --pool=8a99f9aa6a74615f016a77720b82072c
Successfully attached a subscription for: Red Hat Enterprise Linux Developer Workstation, Enterprise

# rpm -qa subscription-manager --changelog | grep 1697563
- 1697563: Suppress output when collecting profile (khowell)

Message "Loaded plugins: product-id, subscription-manager" no longer appear during the second auto-attach request.

Based on the above observations , moving the bug to verified

Comment 9 errata-xmlrpc 2019-08-06 12:57:25 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-2019:2008


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