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.

Bug 746255

Summary: Cannot disable base channel from rhn when issuing yum grouplist
Product: Red Hat Enterprise Linux 6 Reporter: Šimon Lukašík <slukasik>
Component: yum-rhn-pluginAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: jpazdziora
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-24 13:54:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Šimon Lukašík 2011-10-14 14:48:31 UTC
Description of problem:


Version-Release number of selected component (if applicable):
yum-rhn-plugin-0.9.1-26.el6_1.1.noarch

How reproducible:
Non-deterministic. Strange, 2 in 3 tries fail.

Steps to Reproduce:
1. Register machine to rhel-x86_64-server-6 (either to RHN or RHNS)
2. Add some child channels
3. # yum repolist
4. # yum --disablerepo=rhel-x86_64-server-6 grouplist
5. # yum --disablerepo=rhel-x86_64-server-6 grouplist
  
Actual results:
# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
repo id                                     repo name                    status
rhel-x86_64-server-6                        Red Hat Enterprise Linux Ser 5,423
rhel-x86_64-server-hpn-fastrack-6           RHEL High Performance Networ     0
rhel-x86_64-server-hpn-fastrack-6-debuginfo RHEL HPN FasTrack Debuginfo      0
rhel-x86_64-server-sjis-6                   RHEL SJIS (v. 6 for 64-bit x     6
rhel-x86_64-server-sjis-6-debuginfo         RHEL SJIS Debuginfo (v.6 for     4
repolist: 5,433
# yum --disablerepo=rhel-x86_64-server-6 grouplist
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Setting up Group Process
Error: No group data available for configured repositories
# yum --disablerepo=rhel-x86_64-server-6 grouplist
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.


Error getting repository data for rhel-x86_64-server-6, repository not found


Expected results:
Should always be the same:
Error: No group data available for configured repositories

Additional info:

Comment 2 Šimon Lukašík 2011-10-14 15:06:33 UTC
Not a regression, will not likely get to rhel6.2. Setting for rhel6.3.0.

Comment 3 Jan Pazdziora (Red Hat) 2011-11-24 10:45:21 UTC
I was unable to reproduce the issue with RHEL 6.2 (to be) installation:

# rpm -q yum-rhn-plugin
yum-rhn-plugin-0.9.1-36.el6.noarch
# yum repolist
Loaded plugins: rhnplugin
repo id                              repo name                            status
rhel-i386-server-6                   Red Hat Enterprise Linux Server (v.  5,047
rhel-i386-server-optional-6          RHEL Server Optional (v. 6 for 32-bi 2,970
rhel-i386-server-optional-fastrack-6 RHEL Server Optional FasTrack (v. 6     79
rhn-tools-rhel-i386-server-6         RHN Tools for RHEL (v. 6 for 32-bit     51
repolist: 8,147
# yum --disablerepo=rhel-i386-server-6 grouplist
Loaded plugins: rhnplugin
Setting up Group Process
Available Groups:
   Internet Applications
   Office Suite and Productivity
Done
# yum --disablerepo=rhel-i386-server-6 grouplist
Loaded plugins: rhnplugin
Setting up Group Process
Available Groups:
   Internet Applications
   Office Suite and Productivity
Done
# yum grouplist
Loaded plugins: rhnplugin
Setting up Group Process
Installed Groups:
   Base
   E-mail server
   Graphical Administration Tools
   Hardware monitoring utilities
   Legacy UNIX compatibility
   Networking Tools
   Performance Tools
   Perl Support
Available Groups:
   Additional Development
   Backup Client
   Backup Server
   CIFS file server
[...]

Is the problem still present on your machine when you upgrade to RHEL 6.2?

Comment 4 Šimon Lukašík 2011-11-24 13:47:05 UTC
I can reproduce the bug with:
    yum-rhn-plugin   0.9.1-26.el6_1.1
    rhn-client-tools 1.0.0-61.el6

I cannot reproduce the bug with latest RHEL6.2 packages:
    yum-rhn-plugin   0.9.1-36.el6
    rhn-client-tools 1.0.0-73.el6

Thus, the bugzilla can be closed as current release once the rhel6.2 is released.