Bug 746255 - Cannot disable base channel from rhn when issuing yum grouplist
Summary: Cannot disable base channel from rhn when issuing yum grouplist
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-rhn-plugin
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Suchý
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-14 14:48 UTC by Šimon Lukašík
Modified: 2011-11-24 13:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-24 13:54:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

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 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.


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