<div>Hi Josh,</div>
<div> </div>
<div>Thanks for your response.  My repos look pretty much the same as yours except for the Distribution and Rpms. I do have "Remove Old = True" and "Num Old Packages = 1" configured, so I believe that accounts for the smaller number of RPMs.  Not sure if that would interfere with the distributions or not.<br>
</div>
<div>I am still running 2.1.3 so I'll assume that's why I'm getting the 404 errors on RHEL5 repodata - it does seem to be pulling down new packages, though (like the recent PHP updates, e.g).</div>
<div> </div>
<div>I'll keep an eye on the OL6 bug - we're not using it yet, but will be soon.<br></div>
<div>Thanks,</div>
<div>Christina</div>
<div> </div>
<div class="gmail_quote">On Mon, Dec 16, 2013 at 11:27 AM, Baird, Josh <span dir="ltr"><<a href="mailto:jbaird@follett.com" target="_blank">jbaird@follett.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Christina,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">For what it's worth, I sync the rhel6-server repo nightly (from <a href="http://cdn.redhat.com/" target="_blank">cdn.redhat.com</a>) and my distributions are working correctly:<u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Id:                  rhel5-server-x86_64<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Display Name:        rhel5-server-x86_64<u></u><u></u></span></p>
<div class="im">
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Description:         None<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Content Unit Counts:<u></u><u></u></span></p></div>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Distribution:           1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Erratum:                2856<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Package Category:       6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Package Group:          99<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Rpm:                    8172<u></u><u></u></span></p>
<div class="im">
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Yum Repo Metadata File: 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p></div>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Id:                  rhel6-server-x86_64<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Display Name:        rhel6-server-x86_64<u></u><u></u></span></p>
<div class="im">
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Description:         None<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Content Unit Counts:<u></u><u></u></span></p></div>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Distribution:           1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Erratum:                2243<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Package Category:       10<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Package Group:          202<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Rpm:                    8165<u></u><u></u></span></p>
<div class="im">
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">  Yum Repo Metadata File: 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p></div>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">I did notice that my distributions have not been updated to 6.5/5.10, but I have not actually verified and tested this yet:<u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">root@fc-d1pulp01:/var/lib/pulp/content/distribution$ ll<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">total 8<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">drwxrwxr-x 4 apache apache 4096 Nov 12 08:11 ks-Red Hat Enterprise Linux Server-5.9-x86_64<u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">drwxrwxr-x 3 apache apache 4096 Nov 20 18:12 ks-Red Hat Enterprise Linux-Server-6.4-x86_64<u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">There was a bug with the RHEL5 distribution on <a href="http://cdn.redhat.com/" target="_blank">cdn.redhat.com</a> that was causing syncs to fail, however this was recently fixed.  We are running Pulp 2.3.0-final.  Regarding Oracle Linux 6; syncing via Pulp to their repos is currently broken [1].  Hopefully, this will get fixed soon.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">[1] - <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1039597" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1039597</a><u></u><u></u></span></p>

<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">Josh<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="FONT-FAMILY:'Tahoma','sans-serif';FONT-SIZE:10pt">From:</span></b><span style="FONT-FAMILY:'Tahoma','sans-serif';FONT-SIZE:10pt"> <a href="mailto:pulp-list-bounces@redhat.com" target="_blank">pulp-list-bounces@redhat.com</a> [mailto:<a href="mailto:pulp-list-bounces@redhat.com" target="_blank">pulp-list-bounces@redhat.com</a>] <b>On Behalf Of </b>Christina Plummer<br>
<b>Sent:</b> Monday, December 16, 2013 11:12 AM<br><b>To:</b> Barnaby Court<br><b>Cc:</b> <a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a><br><b>Subject:</b> Re: [Pulp-list] Questions about "distributions" and "yum repo metadata files"<u></u><u></u></span></p>

<div>
<div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p style="MARGIN-BOTTOM:12pt" class="MsoNormal">Hi Barnaby,<u></u><u></u></p></div>
<div>
<p class="MsoNormal">Thanks a lot for your reply - I got swamped last week and didn't get an opportunity to circle back on this until today, so I apologize for the delay.<u></u><u></u></p></div>
<div>
<p class="MsoNormal">1. I am still trying to understand what a "distribution" is.  It sounds like what defines a distribution is the existence of an upstream treeinfo file - is that right?  Why would a repository created from install media not also be a distribution?  Is there just no method for importing boot images at this point?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2. When you say that distributions are required for kickstart - is that just if you need to use PXE to boot?  If you were booting in some other way, I can't think why the treeinfo, etc. would be required for install.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">3. Regarding the "Yum Metadata Files" - so those would only exist if the upstream repositority had a repomd/ directory - not a repodata/ ?  When I create a new repo and publish it, there is (of course) a repodata/ created - what is the difference between this and "Yum Metadata Files" as listed by Pulp?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">4. I don't see any treeinfo in the Oracle upstream repository, so that makes sense that I don't have a distribution there.  <u></u><u></u></p></div>
<div>
<p class="MsoNormal">5. I can't easily browse the Red Hat repositories, due to the certificates required - I would expect that the 5.10 and 6.5 distributions would be there now, but when I sync I am not getting them.  It also looks like I had 5.9 and 6.4 at one time (based on the files under /var/lib/pulp/content/distributions), but as you can see from my repolist output below, the 6.4 distribution is not being listed any more.  <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<p class="MsoNormal">I made a copy of everything (including the distribution) from my RHEL6 repo before I synced it on 12/2 (the last time it was synced before that was probably September).  The copied repo still shows the 6.4 distribution present.  But the one that is fed from RH no longer has that one - and 6.5 is not there either.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<p class="MsoNormal">Slightly differently, my RHEL5 repo seems to contain the 5.9 distribution, but 5.10 hasn't shown up.  My feed URLs are:<u></u><u></u></p></div>
<div>
<p class="MsoNormal"><a href="https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os</a><u></u><u></u></p></div>
<div>
<p class="MsoNormal"><a href="https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os</a><u></u><u></u></p></div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<p class="MsoNormal">I did get some 404 errors when I tried to sync RHEL5 again this morning on these files, though it showed "Tree Files: 6/6 items":<u></u><u></u></p></div>
<div>
<p class="MsoNormal"><a href="https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/908500781155e417f50c845157ee922d22008961-primary.sqlite.bz2" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/908500781155e417f50c845157ee922d22008961-primary.sqlite.bz2</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/4ec225f636e39c137f8330c4ac2618f0020e85d6-other.xml.gz" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/4ec225f636e39c137f8330c4ac2618f0020e85d6-other.xml.gz</a><br>
<a href="https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/53939e47b5c6e5e960f18fc7c209d60ce37ccc01-other.sqlite.bz2" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/53939e47b5c6e5e960f18fc7c209d60ce37ccc01-other.sqlite.bz2</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/d984304da8889ba9e906d8a0455418f4b7edc206-primary.xml.gz" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/d984304da8889ba9e906d8a0455418f4b7edc206-primary.xml.gz</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/101ecad62a146f3ab4e06ca16104cdb90b225a48-filelists.xml.gz" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/Server/repodata/101ecad62a146f3ab4e06ca16104cdb90b225a48-filelists.xml.gz</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<p class="MsoNormal">The RHEL6 repo didn't have any errors on the sync but still no distribution - is showed 0/0 items for Tree Files.<u></u><u></u></p></div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<p class="MsoNormal">Please let me know if I can provide more information that would be helpful.<u></u><u></u></p></div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p></div>
<div>
<p class="MsoNormal">Christina<u></u><u></u></p></div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<div>
<p class="MsoNormal">On Wed, Dec 11, 2013 at 2:04 PM, Barnaby Court <<a href="mailto:bcourt@redhat.com" target="_blank">bcourt@redhat.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Hi Chris,<br><br>You have a few questions in here so I'll try to hit all of them.  V2 definitely supports distributions.  Distributions are required for kickstart.  I'm not sure why you would be seeing the listing for a distribution type if there is no treeinfo file in the upstream repository.  If you have a treeinfo file in the upstream repository you should have a distribution created in your repository in pulp.  Copying the distribution from one repo to another should work.  Creating a distribution by hand and uploading to a repository in pulp is not currently supported.  However, if the upstream repository has a distribution it should be synced automatically and can then be copied from one pulp-repo to another.<br>
<br>API information about distributions can be found at: <a href="http://pulp-rpm-dev-guide.readthedocs.org/en/latest/yum-plugins.html#distribution" target="_blank">http://pulp-rpm-dev-guide.readthedocs.org/en/latest/yum-plugins.html#distribution</a><br>
<br>The yum repo metadata files (generally) are the files in the /repomd/ subdirectory of a repository.  They contain information about the repository ant its contents.<br><br>My primary concern would be if you are syncing a repo that has a treeinfo or .treeinfo file upstream and you are not getting a distribution in your pulp repo.  RHEL 6.4 absolutely does have a treeinfo included in the CDN and we use it for testing regularly.  If you are running into trouble there I definitely want to know about it.<br>
<br>Regards,<br><br>Barnaby<u></u><u></u></p>
<div>
<div>
<p style="MARGIN-BOTTOM:12pt" class="MsoNormal"><br>----- Original Message -----<br>From: "Christina Plummer" <<a href="mailto:cplummer@gmail.com" target="_blank">cplummer@gmail.com</a>><br>To: <a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a><br>
Sent: Wednesday, December 11, 2013 10:47:07 AM<br>Subject: [Pulp-list] Questions about "distributions" and "yum repo metadata     files"<br><br>Hello all,<br><br>I am using Pulp 2.1.3. I've created a few feeds synced from vendor repos (Oracle and Red Hat), and then have been creating clones (copies) of those repos to use as a stable "patch set" for each release by copying each of the content types. I've noticed that the repos synced from Red Hat display content types of "Distribution" and "Yum Repo Metadata File", while the ones from Oracle do not. Also, I've noticed that the RHEL5 repo actually contains a Distribution, while the RHEL6 repo shows the content type but with a count of 0:<br>
<br>Id: live-rhel-6-x86_64-os<br>Display Name: live-rhel-6-x86_64-os<br>Description: None<br>Content Unit Counts:<br>Distribution: 0<br>Erratum: 2228<br>Package Category: 10<br>Package Group: 201<br>Rpm: 3788<br>Yum Repo Metadata File: 1<br>
<br>I found these files:<br>/var/lib/pulp/content/distribution/ks-Red Hat Enterprise Linux Server-5.9-x86_64/treeinfo<br>/var/lib/pulp/content/distribution/ks-Red Hat Enterprise Linux-Server-6.4-x86_64/treeinfo<br><br>I found this documentation from Pulp v1 discussing Distributions:<br>
<a href="http://www.pulpproject.org/ug/UGDistributions.html" target="_blank">http://www.pulpproject.org/ug/UGDistributions.html</a><br><a href="https://fedorahosted.org/pulp/wiki/UGRepo" target="_blank">https://fedorahosted.org/pulp/wiki/UGRepo</a><br>
<br>But I couldn't find any reference to Distributions or Yum Repo Metadata Files in the Pulp v2 documentation at all.<br><br>Is there a good explanation of these somewhere? Do I need the distribution in order to kickstart? If I wanted to create one in each of my cloned repos for the distros that were missing from the vendor feeds, how would I do that?<br>
<br>Also, what is the yum repo metadata file?<br><br>Thanks for any assistance in understanding.<br><br>Christina<u></u><u></u></p></div></div>
<p class="MsoNormal">_______________________________________________<br>Pulp-list mailing list<br><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/mailman/listinfo/pulp-list</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br>