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 1282961 - Plugin "search-disabled-repos" requires API 2.7. Supported API is 2.6.
Summary: Plugin "search-disabled-repos" requires API 2.7. Supported API is 2.6.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.8
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: Shwetha Kallesh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-17 22:23 UTC by John Sefler
Modified: 2019-11-14 07:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:38:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0797 0 normal SHIPPED_LIVE python-rhsm and subscription-manager bug fix and enhancement update 2017-01-06 16:31:50 UTC

Description John Sefler 2015-11-17 22:23:05 UTC
Description of problem:
On RHEL6, the search-disabled-repos plugin provided by subscription-manager does not run.

This bug likely depends on RFE Bug 1197245 and RFE Bug 1268376.
If these RFEs are not completed on RHEL6, then the search-disabled-repos plugin should probably be disabled on RHEL6. 


Version-Release number of selected component (if applicable):
[root@jsefler-6 ~]# rpm -q --whatprovides /etc/yum/pluginconf.d/search-disabled-repos.conf 
subscription-manager-1.16.4-1.git.22.ca2fc3c.el6.x86_64


How reproducible:


Steps to Reproduce:
[root@jsefler-6 ~]# yum --quiet repolist --disableplugin=rhnplugin
Plugin "search-disabled-repos" requires API 2.7. Supported API is 2.6.
[root@jsefler-6 ~]# 

Actual results:
above

Expected results:
a working search-disabled-repos plugin

Additional info:

Comment 1 William Poteat 2016-01-15 16:00:55 UTC
Ran this against the current nightly build of RHEL 6.8. The message does not appear and everything seems normal. I'd bet this is due to the fix for Bug 1268376.

Note that Fedora 21 still shows this issue, but I'd bet the API will not get updated as Fedora is going to dnf.

subscription-manager.spec will reflect the yum version in RHEL 6.8.

Comment 2 William Poteat 2016-01-18 19:09:34 UTC
master commit 88f7183a7f0ab2955995e238cc221af5f4eadc3e

Comment 3 Chris Snyder 2016-01-19 18:56:44 UTC
The fix for this BZ is in upstream master and will be included in the next build available on the errata for RHEL 6.8. As such, I'm moving this BZ to the modified state.

Comment 5 Shwetha Kallesh 2016-01-20 09:01:27 UTC
Marking bug as verified



[root@hp-dl320egen8-01 ~]# rpm -q --whatprovides /etc/yum/pluginconf.d/search-disabled-repos.conf 
subscription-manager-1.16.8-1.el6.x86_64

[root@hp-dl320egen8-01 ~]# yum --quiet repolist --disableplugin=rhnplugin


[root@hp-dl320egen8-01 ~]# cat /etc/yum/pluginconf.d/search-disabled-repos.conf
[main]
enabled=1

# With notify_only=1 this plugin does not modify yum's behaviour.
# Setting notify_only to 0 will enable yum to try to automatically resolve
# dependency errors by temporarily enabling disabled repos and searching
# for missing dependencies. If that helps resolve dependencies, yum will
# suggest to permanently enable the repositories that have helped find
# missing dependencies.
# IMPORTANT: running yum with --assumeyes (or assumeyes config option)
# will make yum automatically and without prompting the user temporarily
# enable all repositories, and if it helps resolve dependencies yum will
# permanently enable the repos that helped without prompting the user.
notify_only=0

# Repositories matching the patterns listed in ignored_repos will not be enabled by the plugin
ignored_repos=*debug-rpms *source-rpms *beta-rpms

[root@hp-dl320egen8-01 yum.repos.d]# yum install ghostscript-devel
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ghostscript-devel.x86_64 0:8.70-21.el6 will be installed
--> Processing Dependency: ghostscript = 8.70-21.el6 for package: ghostscript-devel-8.70-21.el6.x86_64
--> Processing Dependency: libijs-0.35.so()(64bit) for package: ghostscript-devel-8.70-21.el6.x86_64
--> Processing Dependency: libgs.so.8()(64bit) for package: ghostscript-devel-8.70-21.el6.x86_64
--> Finished Dependency Resolution
Error: Package: ghostscript-devel-8.70-21.el6.x86_64 (rhel-6-server-optional-rpms)
           Requires: libgs.so.8()(64bit)
Error: Package: ghostscript-devel-8.70-21.el6.x86_64 (rhel-6-server-optional-rpms)
           Requires: ghostscript = 8.70-21.el6
Error: Package: ghostscript-devel-8.70-21.el6.x86_64 (rhel-6-server-optional-rpms)
           Requires: libijs-0.35.so()(64bit)
**********************************************************************
Dependency resolving failed due to missing dependencies.
Some repositories on your system are disabled, but yum can enable them
and search for missing dependencies. This will require downloading
metadata for disabled repositories and may take some time and traffic.
**********************************************************************

Enable all repositories and try again? [y/N]: n
Error: Package: ghostscript-devel-8.70-21.el6.x86_64 (rhel-6-server-optional-rpms)
           Requires: libgs.so.8()(64bit)
Error: Package: ghostscript-devel-8.70-21.el6.x86_64 (rhel-6-server-optional-rpms)
           Requires: ghostscript = 8.70-21.el6
Error: Package: ghostscript-devel-8.70-21.el6.x86_64 (rhel-6-server-optional-rpms)
           Requires: libijs-0.35.so()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 7 errata-xmlrpc 2016-05-10 20:38:09 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://rhn.redhat.com/errata/RHBA-2016-0797.html


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