<div dir="ltr"><div><div>I did it like this:<br>pulp-admin rpm repo create --repo-id=CentOSBase-UAT<br>pulp-admin rpm repo copy all --from-repo-id=CentOSBase-DEV --to-repo-id=CentOSBase-UAT<br>This command may be exited via ctrl+c without affecting the request.<br>
<br>[-]<br>Waiting to begin...<br><br>[\]<br>Running...<br><br>Summary:<br>  package_group: 213<br>  package_category: 14<br>  rpm: 6367<br><br></div>But when I register to this new CentOSBase-UAT repo I have the following issue:<br>
<br><a href="https://pulpserver01sand/pulp/repos/CentOSBase-UAT/repodata/repomd.xml">https://pulpserver01sand/pulp/repos/CentOSBase-UAT/repodata/repomd.xml</a>: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"<br>
Trying other mirror.<br>Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentOSBase-UAT. Please verify its path and try again<br><br><br></div>Kind regards<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2014-03-18 10:27 GMT+01:00 Koen Vanoppen <span dir="ltr"><<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Just one more question... When I create the repo to wich content needs to be copied to, say from dev to UAT.<br></div>How to I create the UAT repo? Does it need special options or do I just pulp-admin repo create --repo-id=CentOSBase-UAT?<br>

<br></div>Kind regards,<br><br>Koen<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-17 14:50 GMT+01:00 Koen Vanoppen <span dir="ltr"><<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Alright! Thanks!!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-17 13:51 GMT+01:00 Barnaby Court <span dir="ltr"><<a href="mailto:bcourt@redhat.com" target="_blank">bcourt@redhat.com</a>></span>:<div>

<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Koen,<br>
<br>
This can be done without creating multiple copies of the RPMs.  In Pulp v2.x we use a single copy of the RPM on disk and create sym links for all the places where it is needed.  The "pulp-admin rpm repo copy" command in v2 makes extensive use of this.  What it is actually copying is metadata in the database and not the RPMs themselves.  Regards,<br>



<br>
Barnaby Court<br>
<div><br>
----- Original Message -----<br>
From: "Koen Vanoppen" <<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>><br>
To: <a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a><br>
Sent: Monday, March 17, 2014 4:49:58 AM<br>
Subject: [Pulp-list] pulp repos<br>
<br>
Dear all,<br>
<br>
At our company we would like to create our own repositories. These will incude repos from the internet and local repos from local created programs and databases.<br>
<br>
For the moment we have the following setup:<br>
<br>
Internet repos-->Local mirroring server(spartacus)-->pulpserver.<br>
<br>
On the pulpserver we created repositories from spartacus (this one get synced weekly).<br>
<br>
Now we like to to create a setup were we have 4 categories and each categorie get's synced on other times from the repo that is above him<br>
<br>
</div>    1. Test<br>
    2. Dev<br>
    3. UAT<br>
    4. PROD<br>
<div><br>
<br>
<br>
<br>
<br>
I have created the test repo (this is the one that comes directly from our local mirror spartacus-server), so the next step would be Dev and from dev to uat and so on. Is this possible to do without creating multiple copies of all the rpms? I found that there was a clone command in pulp v1, but we are using pulp v2 (pulp-server-2.2.0-1.el6.noarch).<br>



<br>
<br>
<br>
<br>
Kind regards,<br>
<br>
<br>
<br>
<br>
koen<br>
<br>
</div>_______________________________________________<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><br>
</blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>