Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
repoquery with "--search" parameter complains system is not registered with RHN Classic or RHN Satellite.
[root@localhost ~]# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
...
repo id repo name status
rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 11,114
...
repolist: 11,808
[root@localhost ~]# repoquery -a --plugins --search --pkgnarrow=updates
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
Without "--search" works.
[root@localhost ~]# repoquery -a --plugins --pkgnarrow=updates
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
bash-0:4.1.2-15.el6_4.x86_64
chkconfig-0:1.3.49.3-2.el6_4.1.x86_64
coreutils-0:8.4-19.el6_4.2.x86_64
...
Version-Release number of selected component (if applicable):
yum-utils-1.1.30-14.el6.noarch
How reproducible:
Always.
Steps to Reproduce:
1. Execute above commands.
2.
3.
Actual results:
See above
Expected results:
See above
Additional info:
In comment #0 I can see that even without "--search" it reports that "system is not registered with RHN Classic or RHN Satellite" so there's no difference.
What exactly should be fixed there?
Hi,
The system *is* registered with Red Hat Subscription Management.
So, I think if a system is registered with one of the system, there should be error.
Thank you
Hi,
Uninstalling yum-rhn-plugin fixed it.
[root@localhost ~]# yum remove yum-rhn-plugin
[root@localhost ~]# repoquery -a --plugins --search --pkgnarrow=updates
[root@localhost ~]#
no error.
Sorry if I wasted your time. I'm going to write a knowledge article about this, so this don't happen again.
Thank you.