Bug 1623262
| Summary: | yum plugins "product-id" and "subscription-manager" are not getting automatically enabled | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.6 | CC: | csnyder, jhnidek, khowell, lmiksik, salmy, skallesh |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.21.10-2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 10:37:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
John Sefler
2018-08-28 20:44:52 UTC
Verification:
[root@hp-dl360egen8-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.3.9-1
subscription management rules: 5.26
subscription-manager: 1.21.10-2.el7
[root@hp-dl360egen8-01 ~]# subscription-manager config --logging.default_log_level=DEBUG
[root@hp-dl360egen8-01 ~]# subscription-manager config --rhsm.auto_enable_yum_plugins=1
[root@hp-dl360egen8-01 ~]# sed -i s/1/0/g /etc/yum/pluginconf.d/product-id.conf
[root@hp-dl360egen8-01 ~]# sed -i s/1/0/g /etc/yum/pluginconf.d/subscription-manager.conf
[root@hp-dl360egen8-01 ~]# grep enabled /etc/yum/pluginconf.d/subscription-manager.conf
enabled=0
[root@hp-dl360egen8-01 ~]# grep enabled /etc/yum/pluginconf.d/product-id.conf
enabled=0
[root@hp-dl360egen8-01 ~]# subscription-manager register --serverurl=subscription.rhsm.stage.redhat.com:443/subscription
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: shwetha_tier1_test
Password:
The system has been registered with ID: 9dc30c2a-88d0-4a16-85f0-7dc7d422652a
The registered system name is: hp-dl360egen8-01.khw.lab.eng.bos.redhat.com
WARNING
The yum/dnf plugins: /etc/yum/pluginconf.d/subscription-manager.conf, /etc/yum/pluginconf.d/product-id.conf were automatically enabled for the benefit of Red Hat Subscription Management. If not desired, use "subscription-manager config --rhsm.auto_enable_yum_plugins=0" to block this behavior.
[root@hp-dl360egen8-01 ~]# grep enabled /etc/yum/pluginconf.d/product-id.conf
enabled=1
[root@hp-dl360egen8-01 ~]# grep enabled /etc/yum/pluginconf.d/subscription-manager.conf
enabled=1
2018-09-10 09:59:18,847 [DEBUG] subscription-manager:17248:MainThread @connection.py:888 - Server supports the following resources: {u'': u'/', u'guestids': u'/consumers/{consumer_uuid}/guestids', u'cdn': u'/cdn', u'content_overrides': u'/consumers/{consumer_uuid}/content_overrides', u'hypervisors': u'/hypervisors', u'serials': u'/serials', u'deleted_consumers': u'/deleted_consumers', u'consumers': u'/consumers', u'migrations': u'/migrations', u'content': u'/content', u'entitlements': u'/entitlements', u'events': u'/events', u'status': u'/status', u'jobs': u'/jobs', u'users': u'/users', u'subscriptions': u'/subscriptions', u'rules': u'/rules', u'distributor_versions': u'/distributor_versions', u'consumertypes': u'/consumertypes', u'statistics/generate': u'/statistics/generate', u'pools': u'/pools', u'atom': u'/atom', u'packages': u'/consumers/{consumer_uuid}/packages', u'owners': u'/owners', u'roles': u'/roles', u'admin': u'/admin', u'products': u'/products', u'activation_keys': u'/activation_keys', u'crl': u'/crl'}
2018-09-10 09:59:18,849 [DEBUG] subscription-manager:17248:MainThread @connection.py:497 - Loaded CA certificates from /etc/rhsm/ca/: redhat-uep.pem
2018-09-10 09:59:18,849 [DEBUG] subscription-manager:17248:MainThread @connection.py:545 - Making request: GET /subscription/status
2018-09-10 09:59:19,311 [INFO] subscription-manager:17248:MainThread @connection.py:588 - Response: status=200, requestUuid=9083df5e-0d41-4554-9d3a-830f5816752e, request="GET /subscription/status"
2018-09-10 09:59:19,312 [INFO] subscription-manager:17248:MainThread @managercli.py:357 - Server Versions: {'rules-version': u'5.26', 'candlepin': u'2.3.9-1', 'server-type': u'Red Hat Subscription Management'}
2018-09-10 09:59:19,313 [DEBUG] subscription-manager:17248:MainThread @repolib.py:195 - The rhsm.auto_enable_yum_plugins is enabled
2018-09-10 09:59:19,313 [DEBUG] subscription-manager:17248:MainThread @repolib.py:171 - dnf plugin: "/etc/dnf/plugins/subscription-manager.conf" already enabled. Nothing to do.
2018-09-10 09:59:19,314 [DEBUG] subscription-manager:17248:MainThread @repolib.py:171 - dnf plugin: "/etc/dnf/plugins/product-id.conf" already enabled. Nothing to do.
2018-09-10 09:59:19,315 [DEBUG] subscription-manager:17248:MainThread @repolib.py:171 - yum plugin: "/etc/yum/pluginconf.d/subscription-manager.conf" already enabled. Nothing to do.
2018-09-10 09:59:19,316 [DEBUG] subscription-manager:17248:MainThread @repolib.py:171 - yum plugin: "/etc/yum/pluginconf.d/product-id.conf" already enabled. Nothing to do.
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-2018:3153 |