Red Hat Bugzilla – Bug 585233
Add comps to dump and sync
Last modified: 2010-08-19 04:24:53 EDT
+++ This bug was initially created as a clone of Bug #249376 +++
Description of problem:
The bug 247156 deals with the problem that group operations do not work with
yum. It is due to the lack of comps*.xml information in the satellite-sync
protocol, which means that the table rhnChannelComps does not get popupated. For
the bug 247156, we've decided that we will hardcode the most common RHEL 5
mappings of channel labels to comps*.xml files.
I have filed bug 249141 against hosted, to include the comps information in the
channel dumps / satellite-sync protocol. Once the hosted is fixed, we need to
process that information on the Satellite side.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run satellite-sync -c rhel-i386-client-5.
2. Check the content of the table rhnChannelComps.
Observe that there is no record in rhnChannelComps for this channel.
Table rhnChannelComps should get populated.
Since we are going to fix bug 247156 by a workaround in the code, yum
groupupdate is not a good indicator of whether this bug was or was not fixed.
OTOH, if you comment out the workaround changes brought by bug 247156, you
should still see yum groupupdate work.
--- Additional comment from firstname.lastname@example.org on 2009-02-24 17:47:58 EST ---
ok from initial investigation, Hosted is actually not sending down any comps info from rhnChannelComps. All it tell us is whether the channel has_comps or not as a boolean. So I need to manually construct the info and insert it into our satellite db (at the sync time of course). bug#249141 isnt actually doing much for satellite looks like.
Sync of comps from hosted and channel dumps and export of domps to channel dumps added in Spacewalk master, commits c5dd4785600533cce8d5f1d2fa542e1f87e7e7c8 to aacba837cde78607f55e9ee0ded38f6d1406d945.
Additional fix for Spacewalk in cf83cfefb393c76d446cd040196683fa1825e4d6, and inter-satellite-sync feature in commits 6d6835b658eef134671c92151fd1e0e8cfb45545 and 00e24786bcf3347455edb32139bdae8dfbd37b3c.
Additional fixes in Spacewalk master.
The package which contains them is spacewalk-backend-1.1.11-1.
Spacewalk 1.1 has been released.