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 1513487 - Subscription-manager-gui - yum plugins are not automatically enabled and user is not informed
Summary: Subscription-manager-gui - yum plugins are not automatically enabled and use...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.5
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-15 14:09 UTC by Shwetha Kallesh
Modified: 2017-11-27 21:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-27 21:18:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1319927 0 medium CLOSED [RFE] subscription-manager should automatically enable yum plugins 2021-02-22 00:41:40 UTC

Internal Links: 1319927

Description Shwetha Kallesh 2017-11-15 14:09:39 UTC
Description of problem:

Subscription-manager-gui -  yum plugins are not automatically enabled and user is not informed

Version-Release number of selected component (if applicable):

[root@dhcp35-121 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.0.43-1
subscription management rules: 5.26
subscription-manager: 1.20.5-1.el7

How reproducible:


Steps to Reproduce:
1.Launch GUI 

Disable yum plugin:
2.[root@dhcp35-121 ~]# sed -i s/enabled=./enabled=0/g /etc/yum/pluginconf.d/subscription-manager.conf

Verify if the plugin is disabled:
3.[root@dhcp35-121 ~]# grep enabled /etc/yum/pluginconf.d/subscription-manager.conf
enabled=0

4. Try to register the system via GUI

5.Verify if the plugin is enabled:
[root@dhcp35-121 ~]# grep enabled /etc/yum/pluginconf.d/subscription-manager.conf
enabled=0

Actual results:

[root@dhcp35-121 ~]# grep enabled /etc/yum/pluginconf.d/subscription-manager.conf
enabled=0


Expected results:

[root@dhcp35-121 ~]# grep enabled /etc/yum/pluginconf.d/subscription-manager.conf
enabled=1


Additional info:

rhsm log doesnot have any information about automatically enabling the yum plugin

2017-11-15 19:30:00,472 [INFO] subscription-manager-gui:19185:ValidateServerThread @connection.py:836 - Connection built: http_proxy=auto-services.usersys.redhat.com:3128 host=subscription.rhsm.stage.redhat.com port=443 handler=/subscription auth=none
2017-11-15 19:30:02,585 [INFO] subscription-manager-gui:19185:ValidateServerThread @connection.py:556 - Response: status=200, requestUuid=1f21fe7b-5da2-41aa-9bce-e0c1a15e2c6c, request="GET /subscription/status/"
2017-11-15 19:30:24,011 [INFO] subscription-manager-gui:19185:GetOwnerListThread @connection.py:836 - Connection built: http_proxy=auto-services.usersys.redhat.com:3128 host=subscription.rhsm.stage.redhat.com port=443 handler=/subscription auth=basic username=shwetha_tier1_test
2017-11-15 19:30:27,382 [INFO] subscription-manager-gui:19185:GetOwnerListThread @connection.py:556 - Response: status=200, requestUuid=dbd35a02-1cd6-4de5-9ed7-14de82213106, request="GET /subscription/users/shwetha_tier1_test/owners"
2017-11-15 19:30:29,461 [INFO] subscription-manager-gui:19185:GetEnvironmentListThread @connection.py:556 - Response: status=200, request="GET /subscription/"
2017-11-15 19:30:29,537 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @dmiinfo.py:75 - Using dmidecode dump file: /dev/mem
2017-11-15 19:30:35,320 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @connection.py:556 - Response: status=200, requestUuid=ef82b136-ee9e-4cdc-b1d2-158485559ab9, request="POST /subscription/consumers?owner=11343157"
2017-11-15 19:30:35,321 [ERROR] subscription-manager-gui:19185:RegisterConsumerThread @identity.py:145 - Reload of consumer identity cert /etc/pki/consumer/cert.pem raised an exception with msg: [Errno 2] No such file or directory: '/etc/pki/consumer/key.pem'
2017-11-15 19:30:35,324 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @managerlib.py:71 - Consumer created: dhcp35-121.lab.eng.blr.redhat.com (e96dc450-996e-4cf9-9a44-bc28907b711e)
2017-11-15 19:30:35,326 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @connection.py:836 - Connection built: http_proxy=auto-services.usersys.redhat.com:3128 host=subscription.rhsm.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=True
2017-11-15 19:30:37,487 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @connection.py:556 - Response: status=200, requestUuid=5d6f7c2f-0e21-45f8-9365-47739f1d4919, request="GET /subscription/consumers/e96dc450-996e-4cf9-9a44-bc28907b711e/compliance"
2017-11-15 19:30:37,494 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
2017-11-15 19:30:39,561 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @connection.py:556 - Response: status=200, request="GET /subscription/"
2017-11-15 19:30:41,946 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @connection.py:556 - Response: status=200, requestUuid=cf49137b-69d2-48bc-9127-a5ec792796f5, request="GET /subscription/consumers/e96dc450-996e-4cf9-9a44-bc28907b711e"
2017-11-15 19:30:44,321 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @connection.py:556 - Response: status=200, requestUuid=ab8e1982-e9f1-4745-a31b-97843fa4b5d8, request="GET /subscription/consumers/e96dc450-996e-4cf9-9a44-bc28907b711e"
2017-11-15 19:30:46,725 [INFO] subscription-manager-gui:19185:RegisterConsumerThread @connection.py:556 - Response: status=200, requestUuid=a2826533-a785-45b0-a8b2-8c0a2163426c, request="GET /subscription/consumers/e96dc450-996e-4cf9-9a44-bc28907b711e"
2017-11-15 19:30:47,188 [INFO] rhsmd:20978:MainThread @rhsmd:279 - rhsmd started
2017-11-15 19:30:47,302 [INFO] rhsmd:20978:MainThread @connection.py:836 - Connection built: http_proxy=auto-services.usersys.redhat.com:3128 host=subscription.rhsm.stage.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=True
2017-11-15 19:30:49,384 [INFO] rhsmd:20978:MainThread @connection.py:556 - Response: status=200, requestUuid=ed65bdb8-fe65-48fe-bbf4-bd43bea255d4, request="GET /subscription/consumers/e96dc450-996e-4cf9-9a44-bc28907b711e/compliance"
2017-11-15 19:30:49,395 [INFO] rhsmd:20978:MainThread @cert_sorter.py:205 - Product status: valid_products= partial_products= expired_products= unentitled_producs=69 future_products= valid_until=None
2017-11-15 19:30:50,085 [INFO] subscription-manager-gui:19185:UpdatePackageProfileThread @connection.py:556 - Response: status=204, request="PUT /subscription/consumers/e96dc450-996e-4cf9-9a44-bc28907b711e/packages"


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