<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I managed to make it work, thanks to @bmbouter from the irc pulp
channel for pointing to the right link (<a
class="moz-txt-link-freetext"
href="https://pulp-rpm.readthedocs.org/en/latest/user-guide/recipes.html#mirror-a-remote-repository"><a class="moz-txt-link-freetext" href="https://pulp-rpm.readthedocs.org/en/latest/user-guide/recipes.html#mirror-a-remote-repository">https://pulp-rpm.readthedocs.org/en/latest/user-guide/recipes.html#mirror-a-remote-repository</a></a>)<br>
<br>
There is some inconsistency in URL generation from my point of view,
or at least is not standardized. For troubleshooting purposes I
created the foreman repo as per the link exercise and managed to
access to:<br>
<br>
<a class="reference external"
href="https://localhost/pulp/repos/foreman/">https://localhost/pulp/repos/foreman/</a><br>
<br>
the other repos became "available" but in different location:<br>
<br>
<a class="moz-txt-link-freetext"
href="https://localhost/pulp/repos/repos/pulp/pulp/demo_repos/zoo/">https://localhost/pulp/repos/repos/pulp/pulp/demo_repos/zoo/</a><br>
<br>
and the key modifier was:<br>
<pre>--relative-url=</pre>
<br>
At the creation repo moment, if you specify "--relative-url=" then
Pulp works perfect, but if don't it takes the trailing URL from:<br>
<br>
<pre>--feed=</pre>
<br>
which, I think, should not happen.<br>
<br>
<strike>Related to this, I think that ideally the definitive URL
should be shown when:</strike><strike><br>
</strike><strike><br>
</strike>
<pre><strike>pulp-admin rpm repo list</strike></pre>
<strike><br>
</strike><strike>or another command.</strike> <br>
<br>
To know the proper URL was by:<br>
<br>
<pre>$ pulp-admin rpm repo list --repo-id=zoo <b><span style="background-color:#aff;">--details</span></b></pre>
<pre>+----------------------------------------------------------------------+</pre>
<pre> RPM Repositories</pre>
<pre>+----------------------------------------------------------------------+</pre>
<pre>Id: zoo</pre>
<pre>Display Name: None</pre>
<pre>Description: None</pre>
<pre>Content Unit Counts: </pre>
<pre> Erratum: 4</pre>
<pre> Package Category: 1</pre>
<pre> Package Group: 2</pre>
<pre> Rpm: 32</pre>
<pre>Notes: </pre>
<pre>Scratchpad: </pre>
<pre> Checksum Type: sha256</pre>
<pre>Importers: </pre>
<pre> Config: </pre>
<pre> Feed: <a class="moz-txt-link-freetext" href="https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/">https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/</a></pre>
<pre> Id: yum_importer</pre>
<pre> Importer Type Id: yum_importer</pre>
<pre> Last Sync: 2016-03-26T16:55:35Z</pre>
<pre> Repo Id: zoo</pre>
<pre> Scratchpad: </pre>
<pre> Previous Skip List: </pre>
<pre> Repomd Revision: 1331832478</pre>
<pre>Distributors: </pre>
<pre> Auto Publish: True</pre>
<pre> Config: </pre>
<pre> Checksum Type: sha256</pre>
<pre> Http: True</pre>
<pre> Https: True</pre>
<pre><b> </b><b><span style="background-color:#aff;"> Relative URL: repos/pulp/pulp/demo_repos/zoo/</span></b></pre>
<pre> Distributor Type Id: yum_distributor</pre>
<pre> Id: yum_distributor</pre>
<pre> Last Publish: 2016-03-26T17:05:47Z</pre>
<pre> Repo Id: zoo</pre>
<pre> Scratchpad: </pre>
<pre> Auto Publish: False</pre>
<pre> Config: </pre>
<pre> Http: True</pre>
<pre> Https: True</pre>
<pre><b><span style="background-color:#aff;"> Relative URL: repos/pulp/pulp/demo_repos/zoo/</span></b></pre>
<pre> Distributor Type Id: export_distributor</pre>
<pre> Id: export_distributor</pre>
<pre> Last Publish: None</pre>
<pre> Repo Id: zoo</pre>
<pre> Scratchpad:</pre>
<br>
Probably I am not the only one facing this issue, then I think it
could be better documented in troubleshooting section of docs,
filing feature request :D<br>
<br>
Thanks!<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/27/2016 06:11 AM, Michael Hrivnak
wrote:<br>
</div>
<blockquote
cite="mid:CAHLG0FA_qXdAx2Am5sCtNLQWTePbsGWczn9znNV4pdP8vE8DjA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Make sure you have a trailing slash. I get these differing
results:</div>
<div><br>
</div>
<div>
<div>$ curl -k -I <a moz-do-not-send="true"
href="https://localhost/pulp/repos/">https://localhost/pulp/repos/</a></div>
<div>HTTP/1.1 200 OK</div>
</div>
<div><br>
</div>
<div>
<div>$ curl -k -I <a moz-do-not-send="true"
href="https://localhost/pulp/repos">https://localhost/pulp/repos</a></div>
<div>HTTP/1.1 404 Not Found</div>
</div>
<div><br>
</div>
<div>Michael</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Mar 26, 2016 at 3:06 PM, Kodiak
Firesmith <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:kfiresmith@gmail.com" target="_blank">kfiresmith@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Start with all of the *_log files in
/var/log/httpd/. There will be clues, and possibly some
access denied messages. </p>
<div class="gmail_quote">
<div>
<div class="h5">On Mar 26, 2016 2:57 PM, "Alejandro
Cortina" <<a moz-do-not-send="true"
href="mailto:alejandro.cortina2@gmail.com"
target="_blank">alejandro.cortina2@gmail.com</a>>
wrote:<br type="attribution">
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div dir="ltr">Hi everyone,
<div><br>
</div>
<div>I am new to pulp and longtime sysadmin. I am
using the official install documentation for the
server and everything goes fine for CentOS7. I
can create repos and sync them, but when trying
to browse them I get:</div>
<div><br>
</div>
<div>
<h1 style="color:rgb(0,0,0);font-family:Times">Not
Found</h1>
<p
style="color:rgb(0,0,0);font-family:Times;font-size:medium">The
requested URL /pulp/repos was not found on
this server.</p>
</div>
<div><br>
</div>
<div>Since I will use ansible I don't need to use
pulp-consumer, but I cannot find any
documentation related to clients without
pulp-consumer setup.</div>
<div><br>
</div>
<div>Please, help!</div>
<div><br>
</div>
<div>Can someone please point me in the right
direction?</div>
<div><br>
</div>
<div>Thank you!</div>
<div><br>
</div>
<div>Alex</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Pulp-list mailing list<br>
<a moz-do-not-send="true"
href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/pulp-list"
rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>
</blockquote>
</div>
<br>
_______________________________________________<br>
Pulp-list mailing list<br>
<a moz-do-not-send="true" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/pulp-list"
rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>