<div dir="ltr"><div>Hello,</div><div><br></div><div>I'm trying to sync Jenkins YUM repo but it gets stuck on the repo content download forever. The repo was created with this command:</div><div><br></div>$ pulp-admin rpm repo create --repo-id=jenkins --feed=<a href="http://pkg.jenkins.io/redhat">http://pkg.jenkins.io/redhat</a><br><div><br></div><div>When I tried to investigate what could possibly be wrong, I have found out that the RPMs referred by the primary repomd file is actually redirected to another URL on which the repodata is not available:</div><div><br></div><div># Check if repomd.xml exists (yes, it exists)</div><div><div>$ curl -I <a href="http://pkg.jenkins.io/redhat/repodata/repomd.xml">http://pkg.jenkins.io/redhat/repodata/repomd.xml</a></div><div>HTTP/1.1 200 OK</div><div>Date: Thu, 07 Jul 2016 21:56:41 GMT</div><div>Server: Apache/2.4.7 (Ubuntu)</div><div>Last-Modified: Wed, 06 Jul 2016 03:17:37 GMT</div><div>ETag: "bb0-536ef02eb92c1"</div><div>Accept-Ranges: bytes</div><div>Content-Length: 2992</div><div>Content-Type: application/xml</div></div><div><br></div><div># Check where the RPM redirects (<a href="http://pkg.jenkins.io">http://pkg.jenkins.io</a> -> <a href="http://mirrors.jenkins.io">http://mirrors.jenkins.io</a>)<br></div><div><div>$ curl -I <a href="http://pkg.jenkins.io/redhat/jenkins-2.9-1.1.src.rpm">http://pkg.jenkins.io/redhat/jenkins-2.9-1.1.src.rpm</a></div><div>HTTP/1.1 302 Found</div><div>Date: Thu, 07 Jul 2016 21:57:12 GMT</div><div>Server: Apache/2.4.7 (Ubuntu)</div><div>Location: <a href="http://mirrors.jenkins.io/redhat/jenkins-2.9-1.1.src.rpm">http://mirrors.jenkins.io/redhat/jenkins-2.9-1.1.src.rpm</a></div><div>Content-Type: text/html; charset=iso-8859-1</div></div><div><br></div><div># Check if the repomd.xml exists in the new location (no -> can not make the new location as the new feed)</div><div><div>$ curl -I <a href="http://mirrors.jenkins.io/redhat/repodata/repomd.xml">http://mirrors.jenkins.io/redhat/repodata/repomd.xml</a></div><div>HTTP/1.1 404 Not Found</div><div>Date: Thu, 07 Jul 2016 21:58:06 GMT</div><div>Server: Apache/2.4.7 (Ubuntu)</div><div>Content-Type: text/html; charset=iso-8859-1</div></div><div><br></div><div>Please could somebody confirm that there is actually a problem with such RPM redirection during the repo sync? If that's true, could it be fixed?</div><div><br></div><div>Best regards,</div><div>Jiri</div></div>