https://pulp.plan.io/https://pulp.plan.io/favicon.ico2016-09-22T14:03:38ZPulpRPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=146512016-09-22T14:03:38Zjsherril@redhat.comjsherril@redhat.com
<ul></ul><p>To add some more information:</p>
<ul>
<li>This repository is backed by a file:// repo pointing at the file system. The repository synced with no issue</li>
<li>Pulp doesn't seem to be 'saving' the tar rpm that is being fetched. It seems to get the redirect every time.</li>
<li>The user has an on_demand centos 7 kickstart repo that is working fine, here's a curl from it (but the rpm is already downloaded):</li>
</ul>
<pre><code>$ curl -vvvv -L http://katello.ipa.domain.lab/pulp/repos/domain_Group/Library/custom/centos/c7/tar-1.26-29.el7.x86_64.rpm > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 172.16.246.31...
* Connected to katello.ipa.domain.lab (172.16.246.31) port 80 (#0)
> GET /pulp/repos/domain_Group/Library/custom/centos/c7/tar-1.26-29.el7.x86_64.rpm HTTP/1.1
> Host: katello.ipa.domain.lab
> User-Agent: curl/7.47.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 22 Sep 2016 13:55:33 GMT
< Server: Apache/2.4.6 (CentOS)
< Last-Modified: Wed, 14 Sep 2016 18:07:17 GMT
< ETag: "d2c34-53c7b997bfc46"
< Content-Length: 863284
< Content-Type: application/x-rpm
<
{ [14261 bytes data]
100 843k 100 843k 0 0 35.7M 0 --:--:-- --:--:-- --:--:-- 37.4M
* Connection #0 to host katello.ipa.domain.lab left intact
</code></pre>
<p>The user is going to try to change to an http-based repo and see if that changes things.</p> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=146522016-09-22T15:22:24Zjsherril@redhat.comjsherril@redhat.com
<ul><li><strong>Subject</strong> changed from <i>Can't kickstart against an on_demand repo</i> to <i>Can't kickstart against an on_demand file:// repo </i></li></ul><p>The user confirmed that it works fine when they recreated the repo via http://</p> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=146672016-09-23T15:58:38Zpcreechpcreech@redhat.com
<ul><li><strong>Severity</strong> changed from <i>2. Medium</i> to <i>3. High</i></li><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li></ul> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=164102016-12-12T04:20:38Zmhrivnakmhrivnak@redhat.com
<ul></ul><p>The design of on-demand downloading depends on the use of HTTP. There may be an opportunity to make things fail more gracefully when a user tries file:///, but we are not able to support on-demand content access via a file:/// URL.</p>
<p>I'm not actually sure why anaconda failed the way it did. Can anyone shed more light on what it was doing, and how it got to those errors? Obviously it was trying http for some requests.</p> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=164222016-12-12T14:14:55Zjsherril@redhat.comjsherril@redhat.com
<ul></ul><p>Is it documented anywhere that pulp doesn't support on_demand (or i assume background?) with file:// repos? Should this be a validation within pulp to prevent this type of repo from being created?</p> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=167512017-01-05T19:43:03Zjortel@redhat.comjortel@redhat.com
<ul></ul><p><a href="mailto:jsherril@redhat.com" class="email">jsherril@redhat.com</a> wrote:</p>
<blockquote>
<p>Is it documented anywhere that pulp doesn't support on_demand (or i assume background?) with file:// repos? Should this be a validation within pulp to prevent this type of repo from being created?</p>
</blockquote>
<p>The limitation on http URLs does not seem to be documented. Probably a good idea to both document this and enforce with validation.</p> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=168082017-01-09T17:24:48Zmhrivnakmhrivnak@redhat.com
<ul></ul><p>This is related to, but not a blocker for, this issue: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1378514" class="external">https://bugzilla.redhat.com/show_bug.cgi?id=1378514</a></p> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=374392019-04-12T20:18:09Zbmbouterbmbouter@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - WONTFIX</i></li></ul><p>Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the <a href="https://www.redhat.com/mailman/listinfo/pulp-dev" class="external">developer mailing list</a>.</p> RPM Support - Issue #2276: Can't kickstart against an on_demand file:// repo https://pulp.plan.io/issues/2276?journal_id=386272019-04-15T20:24:43Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>