[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Questions about "distributions" and "yum repo metadata files"

Hi Chris,

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.  

API information about distributions can be found at: http://pulp-rpm-dev-guide.readthedocs.org/en/latest/yum-plugins.html#distribution

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.  

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.  



----- Original Message -----
From: "Christina Plummer" <cplummer gmail com>
To: pulp-list redhat com
Sent: Wednesday, December 11, 2013 10:47:07 AM
Subject: [Pulp-list] Questions about "distributions" and "yum repo metadata	files"

Hello all, 

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: 

Id: live-rhel-6-x86_64-os 
Display Name: live-rhel-6-x86_64-os 
Description: None 
Content Unit Counts: 
Distribution: 0 
Erratum: 2228 
Package Category: 10 
Package Group: 201 
Rpm: 3788 
Yum Repo Metadata File: 1 

I found these files: 
/var/lib/pulp/content/distribution/ks-Red Hat Enterprise Linux Server-5.9-x86_64/treeinfo 
/var/lib/pulp/content/distribution/ks-Red Hat Enterprise Linux-Server-6.4-x86_64/treeinfo 

I found this documentation from Pulp v1 discussing Distributions: 

But I couldn't find any reference to Distributions or Yum Repo Metadata Files in the Pulp v2 documentation at all. 

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? 

Also, what is the yum repo metadata file? 

Thanks for any assistance in understanding. 


Pulp-list mailing list
Pulp-list redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]