<div dir="ltr"><div>Dear Barnaby,</div><div><br></div><div>I have received couple of assistance from consultants and found the issue.I will test it now.</div><div><br></div><div>Basically I have 2 issues in my testing</div><div><br></div><div>1. Instead of rhel repo ,I am pointed to centos which is wrong and wont help for redhat Linux clients.</div><div><br></div><div>2. I have missed the serve http option (--serve-http true) while copy the repo.</div><div><br></div><div>Thanks,</div><div>BVIJAY</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 3:37 AM, Vijayabalan Balakrishnan <span dir="ltr"><<a href="mailto:bvijaycom@gmail.com" target="_blank">bvijaycom@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have copied pasted the commands from correct POC server.</div><span><div><br></div><div><strong><u>Create the master repo with origin feed</u></strong></div><div><strong><u><br></u></strong></div></span><div># pulp-admin rpm repo create --repo-id master_rhel6_st_repo --retain-old-count 2 --serve-http true --relative-url master_rhel6_st_repo --feed <a href="http://mirror.centos.org/centos/7/updates/x86_64/" target="_blank">http://mirror.centos.org/centos/7/updates/x86_64/</a></div><span><div><br></div><div><strong><u>Sync and download all the rpms from origin</u></strong></div><div><br></div></span><div># pulp-admin rpm repo sync run --repo-id master_rhel6_st_repo</div><div><br></div><div>Now i have created new empty repo </div><span><div><br></div><div># pulp-admin rpm repo create --repo-id=pulp-snapshot</div><div><br></div><div>Taking snapshot/copy from master repo.</div><div><br></div></span><div># pulp-admin rpm repo copy rpm --from-repo-id=master_rhel6_st_repo --to-repo-id=pulp-snapshot</div><span><div><br></div><div>Now even i have published manually through following command also this repository is not showing via http ...</div><div><br></div><div># pulp-admin rpm repo publish run --repo-id pulp-snapshot</div><div><br></div><div><br></div><div><div>I have executed several times the above command and still if i access the following url this pulp-snapshot is not showing...</div><div><br></div><div><strong>Pulp Server = 192.168.1.1 </strong></div><div><strong></strong><br></div><div><a href="http://192.168.1.1/pulp/repos/" target="_blank">http://192.168.1.1/pulp/repos/</a></div><p><br>In this url i am seeing the master repository only </p><div><a href="http://192.168.1.1/pulp/repos/master_rhel6_st_repo" target="_blank">http://192.168.1.1/pulp/repos/master_rhel6_st_repo</a></div><div><br></div><p>but <a href="http://192.168.1.1/pulp/repos/pulp-snapshot" target="_blank">http://192.168.1.1/pulp/repos/pulp-snapshot</a> is not coming ?</p><p>Any idea ?</p></div><div><br></div></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 3:18 AM, Barnaby Court <span dir="ltr"><<a href="mailto:bcourt@redhat.com" target="_blank">bcourt@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Hi, I'm not sure but it looks like a misname of the repos.  In your first command you created a repo with the id master_rhel6_st_repo but then you performed a sync on origin_master_centos6_st_repo.  You then copied content from origin_master_centos6_st_repo->1Q2015-dev-rhel6 even though you looked at the repo details for pulp-snapshot to validate the transfer.  Could you dpaste the full shell session from creation of the repos through the final publish & repo list?<br>
<br>
-Barnaby<br>
<div><div><br>
----- Original Message -----<br>
From: "Vijayabalan Balakrishnan" <<a href="mailto:bvijaycom@gmail.com" target="_blank">bvijaycom@gmail.com</a>><br>
To: <a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a><br>
Sent: Thursday, February 19, 2015 3:19:57 PM<br>
Subject: [Pulp-list] Issue in Target repository republish after a copy<br>
<br>
<br>
In my POC environment after i copy the repository even if i publish also not accessible via http. is it a bug ?<br>
<br>
Help needed ...<br>
<br>
<br>
Create the master repo with origin feed<br>
<br>
<br>
# pulp-admin rpm repo create --repo-id master_rhel6_st_repo --retain-old-count 2 --serve-http true --relative-url epel-6 --feed <a href="http://mirror.centos.org/centos/7/updates/x86_64/" target="_blank">http://mirror.centos.org/centos/7/updates/x86_64/</a><br>
<br>
Sync and download all the rpms from origin<br>
<br>
# pulp-admin rpm repo sync run --repo-id origin_master_centos6_st_repo<br>
<br>
Now i am created new empty repo<br>
<br>
# pulp-admin rpm repo create --repo-id=pulp-snapshot<br>
<br>
Taking snapshot/copy from master repo.<br>
<br>
# pulp-admin rpm repo copy rpm --from-repo-id=origin_master_centos6_st_repo --to-repo-id=1Q2015-dev-rhel6<br>
<br>
Now even i have published manually through following command also this repository is not showing via http ...<br>
<br>
# pulp-admin rpm repo publish run --repo-id pulp-snapshot<br>
<br>
I have executed several times the above command and still if i access the following url this pulp-snapshot is not showing...<br>
<br>
Pulp Server = 192.168.1.1<br>
<br>
<a href="http://192.168.1.1/pulp/repos/" target="_blank">http://192.168.1.1/pulp/repos/</a><br>
<br>
<br>
<br>
In this url i am seeing the master repository only<br>
<a href="http://192.168.1.1/pulp/repos/master_rhel6_st_repo" target="_blank">http://192.168.1.1/pulp/repos/master_rhel6_st_repo</a><br>
<br>
<br>
<br>
but <a href="http://192.168.1.1/pulp/repos/pulp-snapshot" target="_blank">http://192.168.1.1/pulp/repos/pulp-snapshot</a> is not coming ?<br>
<br>
Any idea ?<br>
<br>
</div></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><br></div>
</div></div></blockquote></div><br></div>