Bug 247156 - RFE: yum grouplist and friends
Summary: RFE: yum grouplist and friends
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API (Show other bugs)
(Show other bugs)
Version: 420
Hardware: All Linux
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Brandon Perkins
Depends On:
TreeView+ depends on / blocked
Reported: 2007-07-05 17:39 UTC by Thorsten Scherf
Modified: 2010-10-12 20:47 UTC (History)
3 users (show)

Fixed In Version: sat501
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-29 15:32:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Thorsten Scherf 2007-07-05 17:39:33 UTC
Description of problem:
yum grouplist does not work when running against rhn satellite. when will this
code get into satellite?

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Brandon Perkins 2007-07-06 20:09:57 UTC
This works in hosted, but not against satellite...not sure how this was missed.

Comment 2 Brandon Perkins 2007-07-06 20:15:18 UTC
Reassigning to Shannon.

Comment 3 Brandon Perkins 2007-07-06 20:43:17 UTC
More info...

=== error_log ===
Exception exceptions.ValueError: 'I/O operation on closed file' in <bound method
File.__del__ of <rhn.transports.File instance at 0xb75b040c>> ignored

=== access_log === - - [06/Jul/2007:16:41:24 -0400] "POST /XMLRPC HTTP/1.1" 200 901
"-" "rhn.rpclib.py/$Revision: 102540 $" - - [06/Jul/2007:16:41:24 -0400] "POST /XMLRPC HTTP/1.1" 200 1256
"-" "rhn.rpclib.py/$Revision: 102540 $" - - [06/Jul/2007:16:41:24 -0400] "GET
/XMLRPC/GET-REQ/rhel-i386-server-5/repodata/repomd.xml HTTP/1.1" 200 1239 "-"

Comment 6 Jan Pazdziora 2007-07-18 16:53:23 UTC
It looks like hosted supports group* operations because it known about the comps
file, which gets pushed to the rhn.redhat.com by releng.

adelton | jbowes: I'm working on comps support for Satellite.
adelton | jbowes: Could you confirm to me that the comps file is never (not even
on hosted) generated from the database, but is just a file on the filesystem?
jbowes  | adelton: correct
adelton | jbowes: So to add the support to the Satellite, I'd better fix
satellite-sync to get it from hosted and store somewhere (and the existing logic
in the Satellite should kick in just fine, right)?
adelton | jbowes: (existing logic to serve it to yum)
jbowes  | adelton: right
adelton | jbowes: Soooo ....
adelton | jbowes: What's the best place to store it? Where do you store it in
adelton | jbowes: /var/satellite/comps?
jbowes  | adelton: it jsut gets uploaded like the isos, so anywhere releng wants
to put it

Comment 15 Jan Pazdziora 2007-07-23 19:08:07 UTC
(In reply to comment #7)
> figure out how to support this in the Satellite? It looks like the comps file is
> in the /var/satellite/rhn/kickstart tree ... but that only gets populated with
> RHN Tools child channels, not with the parent channel. So it won't work 100 per

This is not correct. The kickstart tree comes with the parent directory, and it
contains comps*.xml for all the standard RHEL child channels (see comment #12).

However, for additional child channels we probably won't get the comps*.xml at all.

Comment 20 Jan Pazdziora 2007-07-25 08:44:46 UTC
Fix committed to SVN, branch RELEASE-5.0, revision 118568, and trunk, revision

Comment 21 Jan Pazdziora 2007-07-27 09:55:35 UTC
Added try ... except IOError to SVN, revisions 118665 and 118666.

Comment 22 Jan Pazdziora 2007-08-02 20:36:38 UTC
Moving ON_QA because:

Satellite 5.0.1-1 and Proxy 5.0.1-1 are now available on webqa hosted
channels.  Satellite 5.0.1-1 ISOs are now available.

Comment 23 John Ha 2007-08-02 21:05:59 UTC
Does this issue need an entry in the Satellite 501 release notes? Something
along the lines of the following? Let me know if it needs to go into the notes.

 The 'yum grouplist' command now properly lists groups when run on a machine
 registered to Red Hat Network Satellite.

Comment 24 Jan Pazdziora 2007-08-03 13:29:58 UTC
(In reply to comment #23)
>  The 'yum grouplist' command now properly lists groups when run on a machine
>  registered to Red Hat Network Satellite.

  Yum's group operations now work correctly on a machine registered to RHEL 5
  channels on Red Hat Network Satellite.

We did a nasty hack to only enable the group functionality for RHEL 5 channels,
and all group operations should now work, not just grouplist.

Comment 25 Brandon Perkins 2007-08-03 18:50:45 UTC
Verified with the understanding of the hardcoding/limitations for 5.0.x. 
Related bug entries look to cover those cases well, so I'm happy to mark this
verified for 5.0.1.

Comment 26 Brandon Perkins 2007-08-23 01:27:50 UTC
Release Pending.

Comment 28 Thorsten Scherf 2008-04-10 06:57:42 UTC
which release has the fix included?

Comment 29 Thorsten Scherf 2008-04-10 06:59:36 UTC
talking about 4.2 releases.

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