<div dir="ltr"><div><div>Hi Paul,<br><br></div>Hmm... not sure.  I am still running pulp-2.1.3, so perhaps things are organized differently in 2.2.0 (since the yum-importer is "all new" according to the release notes[1]).  On my version, I see some code relating to comps in /usr/lib/python-2.6/site-packages/pulp_rpm/yum_plugin/comps_util.py.<br>
<br></div>Does "pulp-admin rpm repo list" show your rhel-x86_64-server-6 repository as having any "Package Groups"?  E.g. here is mine:<br><br>Id:                  live-rhel-5-x86_64-os<br>Display Name:        live-rhel-5-x86_64-os<br>
Description:         None<br>Content Unit Counts:<br>  Distribution:           1<br>  Erratum:                2857<br>  Package Category:       6<br>  Package Group:          99<br>  Rpm:                    3450<br>  Yum Repo Metadata File: 1<br>
<br><div><br></div><div>Hopefully a developer or someone running 2.2 can chime in.<br></div><div><br>Christina<br><br>[1] <a href="http://pulp-rpm-user-guide.readthedocs.org/en/latest/release-notes/2.2.x.html">http://pulp-rpm-user-guide.readthedocs.org/en/latest/release-notes/2.2.x.html</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 11:49 AM, Paul Jochum <span dir="ltr"><<a href="mailto:paul.jochum@alcatel-lucent.com" target="_blank">paul.jochum@alcatel-lucent.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Christina:<br>
<br>
    Thanks for looking at this.  I looked at my directory:<br>
<br>
$ pwd<br>
/var/lib/pulp/working/repos/<u></u>rhel-x86_64-server-6/<u></u>importers/yum_importer<br>
$ ls<br>
$<br>
(i.e., it was empty)<br>
<br>
I even tried<br>
<br>
$ ls /var/lib/pulp/working/repos/*/<u></u>importers/yum_importer<br>
<br>
and the associated directories were all empty<br>
<br>
Any idea on how to get them populated?<br>
<br>
thanks,<br>
<br>
Paul<div class="im"><br>
<br>
On 12/03/2013 04:03 PM, Christina Plummer wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Paul,<br>
<br>
Your syncs should already include them.  I have a RHEL5 and a RHEL6 repo setup in Pulp to sync from Red Hat CDN.  Here's where I found the *comps*.xml files.<br>
<br>
For RHEL5, they were in 2 places on my Pulp server:<br>
/var/lib/pulp/working/repos/<<u></u>my-rhel5-repo>/importers/yum_<u></u>importer/<my-rhel5-repo>/<u></u>Server/repodata/ (which actually just contains links to /var/lib/pulp/content/<u></u>distribution/...)<br>

and<br>
/var/lib/pulp/working/repos/<<u></u>my-rhel5-repo>/importers/yum_<u></u>importer/<my-rhel5-repo>/<u></u>repodata/<br>
<br>
For RHEL6, they were only in 1 place on my Pulp server:<br>
/var/lib/pulp/working/repos/<<u></u>my-rhel6-repo>/importers/yum_<u></u>importer/<my-rhel6-repo>/<u></u>repodata/<br>
<br>
Not sure why it's different - maybe something upstream?<br>
As far as Pulp goes, I'm not totally clear on the whole "distribution" thing.  It looks I got a RHEL 5.9 distribution created when I created my repo, but my latest sync did not create a RHEL 5.10 distribution.  I noticed the version of the comps-rhel-x86_64-server-5.xml file under "repodata" contained 3 lines that were not present in the RHEL 5.9 distribution version under "Server/repodata":<br>

<br>
$ diff /var/lib/pulp/working/repos/<u></u>live-rhel-5-x86_64-os/<u></u>importers/yum_importer/live-<u></u>rhel-5-x86_64-os/Server/<u></u>repodata/<u></u>8700492668c730742984ec61666e4f<u></u>3499c07713-comps-rhel5-server-<u></u>core.xml /var/lib/pulp/working/repos/<u></u>live-rhel-5-x86_64-os/<u></u>importers/yum_importer/live-<u></u>rhel-5-x86_64-os/repodata/<u></u>c4e4a37f4f4a2c78e2cf2fd1b8e2fe<u></u>b79e46bdc0-comps-rhel-x86_64-<u></u>server-5.xml<br>

822a823<br>
>       <packagereq type='default'>redhat-support-<u></u>tool</packagereq><br>
7600a7602,7603<br>
>       <packagereq type='optional'>mysql51</<u></u>packagereq><br>
>       <packagereq type='optional'>mysql55</<u></u>packagereq><br>
<br>
<br>
HTH,<br>
Christina<br>
<br>
<br></div><div class="im">
On Tue, Dec 3, 2013 at 9:34 AM, Paul Jochum <<a href="mailto:paul.jochum@alcatel-lucent.com" target="_blank">paul.jochum@alcatel-lucent.<u></u>com</a> <mailto:<a href="mailto:paul.jochum@alcatel-lucent.com" target="_blank">paul.jochum@alcatel-<u></u>lucent.com</a>>> wrote:<br>

<br>
    Hi All:<br>
<br>
        I have a working pulp 2.2.0 setup, and it is synced with a<br>
    number of different RHEL 5 and 6 repos from RedHat (Server, debug,<br>
    eus, etc.).  Under RHEL5, I can find the *comps-rhel5-server*.xml<br>
    files.  This file has the definitions for the different software<br>
    groupings that kickstart/anaconda uses (i.e. base, workstation).<br>
<br>
        So, my question is, where I can find this for RHEL6 (or,<br>
    what/how do I change my Sync's to include them).<br>
<br>
    Thanks in advance,<br>
<br>
    Paul<br>
<br>
    ______________________________<u></u>_________________<br>
    Pulp-list mailing list<br></div>
    <a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a> <mailto:<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a>><br>
    <a href="https://www.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://www.redhat.com/<u></u>mailman/listinfo/pulp-list</a><br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>