<div dir="ltr"><div><div>pulp_rpm does not currently support metalink so it's not capable of syncing from a metalink source. When you try to do that (the feed that isn't working) it treats it like a normal rpm remote repo and looks for the primary.xml file which it can't find and then bails.<br><br></div>pulp_rpm does support mirrorlist and is capable of following the mirror info from a URL (the second url, the one that works) to a specific mirror to find the primary.xml it needs. So that is why the second feed url works.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 22, 2018 at 12:37 PM, Ashish Humbe <span dir="ltr"><<a href="mailto:ahumbe@redhat.com" target="_blank">ahumbe@redhat.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"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">When we try to create and sync the mirrorlist URL on Sat6.3 with pulp-server-2.13.4.6-1 it fails <br><div><br></div><div># pulp-admin -u admin -p XXX  rpm repo create --repo-id mirror4 --feed "<a href="https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64" target="_blank">https://mirrors.fedoraproject<wbr>.org/metalink?repo=epel-7&<wbr>arch=x86_64</a>"<br></div><div><br></div><div><div># pulp-admin -u admin -p XXX rpm repo sync run --repo-id mirror4 </div><div>+-----------------------------<wbr>------------------------------<wbr>-----------+</div><div>                   Synchronizing Repository [mirror4]</div><div>+-----------------------------<wbr>------------------------------<wbr>-----------+</div><div>This command may be exited via ctrl+c without affecting the request.</div><div>Downloading metadata...</div><div>[\]</div><div>Task Failed</div><div>Malformed repository: "primary" metadata is not found in repomd.xml</div></div><div><br></div><div><br></div><div>If I create a repo with "<a href="http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-24&arch=x86_64" target="_blank">http://mirrors.fedorapro<wbr>ject.org/mirrorlist?repo=<wbr>fedora-24&arch=x86_64</a>" feed URL then it works properly. </div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is this issue due to any problem with the fedoraproject epel-7 repo or a pulp side issue (since with this URL yum works properly)? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Any pointers? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px">Ashish</div></div>
<br>______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-list</a><br></blockquote></div><br></div>