<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">Hello</div><div dir="ltr"><br></div><div dir="ltr">Thanks for the assistance.  The problem is more confusing than at first thought.</div><div dir="ltr"><br></div><div dir="ltr">If I go to <a href="http://xxxxxx/pulp/repos/rhel-6-server-rpms">http://xxxxxx/pulp/repos/rhel-6-server-rpms</a> in a browser I see the two links for ‘Packages’ and ‘repodata’.  </div><div dir="ltr"><br></div><div dir="ltr">What I did not previously notice is that if I examine either link, or click on them, the URL used is not correct. It is <a href="http://xxxxxxx/pulp/repos/repodata">http://xxxxxxx/pulp/repos/repodata</a> which returns a 404.</div><div dir="ltr">I tried manually entering <a href="http://xxxxxx/pulp/repos/rhel-6-server-rpms/repodata">http://xxxxxx/pulp/repos/rhel-6-server-rpms/repodata</a> and I get sensible information:</div><div dir="ltr"><br></div><div dir="ltr">21dc6f5f63a58ea0c1f5afc1089b954a840234a6-comps.xml</div><div dir="ltr">5c8c97d6bbe41e935c933967a2a5f652ac138442-filelists.xml.gz</div><div dir="ltr">8c5ebae207e15589b4dd0362930f6986337be2d7-updateinfo.xml.gz</div><div dir="ltr">other.xml.gz</div><div dir="ltr">primary.xml.gz</div><div dir="ltr">productid</div><div dir="ltr">repomd.xml</div><div dir="ltr"><br></div><div dir="ltr">Correspondingly if I use <a href="http://xxxxxx/pulp/repos/rhel-6-server-rpms/Packages">http://xxxxxx/pulp/repos/rhel-6-server-rpms/Packages</a> I get a similar sensible output.</div><div dir="ltr"><br></div><div dir="ltr">I tested further and find that this behaviour is the same for all the categories, rhel-6-server-extras-rpms, rhel-6-server-optional-rpms, and rhel-6-server-supp-rpms  and so on:  the URL for ‘Packages’ and ‘repodata’ is not correct.</div><div dir="ltr"><br></div><div dir="ltr">What is further confusing is that using the spacewalk application to sync packages from my pulp server does in fact work for the other categories, just not for the Base packages:</div><div dir="ltr"><br></div><div dir="ltr">On the spacewalk host using the sync command:</div><div dir="ltr"><br></div><div dir="ltr"><span class="Apple-tab-span" style="white-space:pre">     </span>1.<span class="Apple-tab-span" style="white-space:pre">  </span>For example the ‘Extras’ category:</div><div dir="ltr"><br></div><div dir="ltr"># spacewalk-repo-sync -c rhel6-server-extras-x86_64-pulp</div><div dir="ltr">20:48:54 ======================================</div><div dir="ltr">20:48:54 | Channel: rhel6-server-extras-x86_64-pulp</div><div dir="ltr">20:48:54 ======================================</div><div dir="ltr">20:48:54 Sync of channel started.</div><div dir="ltr">20:48:54 Repo URL: <a href="http://xxxxxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms">http://xxxxxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms</a></div><div dir="ltr">20:48:55 Packages in repo:                97</div><div dir="ltr">20:48:59 No new packages to sync.</div><div dir="ltr">20:48:59 Repo <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms">http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms</a> has comps file 7a747e6dc73c3ccef57c839995d90b6ef4c76092-comps.xml.</div><div dir="ltr">20:48:59 Repo <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms">http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms</a> has 54 errata.</div><div dir="ltr">20:49:02 Sync of channel completed in 0:00:07.</div><div dir="ltr">20:49:02 Total time: 0:00:07</div><div dir="ltr"><br></div><div dir="ltr">There are no new packages in this category but as is shown there is no error returned</div><div dir="ltr"><br></div><div dir="ltr"><span class="Apple-tab-span" style="white-space:pre">     </span>2.<span class="Apple-tab-span" style="white-space:pre">  </span> Using the base package:</div><div dir="ltr"><br></div><div dir="ltr"># spacewalk-repo-sync -c rhel6-x86_64-pulp</div><div dir="ltr">20:49:23 ======================================</div><div dir="ltr">20:49:23 | Channel: rhel6-x86_64-pulp</div><div dir="ltr">20:49:23 ======================================</div><div dir="ltr">20:49:23 Sync of channel started.</div><div dir="ltr">20:49:23 Repo URL: <a href="http://xxxxxxxxxxx/pulp/repos/rhel-6-server-rpms">http://xxxxxxxxxxx/pulp/repos/rhel-6-server-rpms</a></div><div dir="ltr">20:49:24 ERROR: requested datatype primary not available</div><div dir="ltr">20:49:24 Sync of channel completed in 0:00:00.</div><div dir="ltr">20:49:24 Total time: 0:00:00</div><div dir="ltr"><br></div><div dir="ltr">The different behaviour between the Base set and the Extras, Supp, Optional, etc is further confusing and unexplained.</div><div dir="ltr"><br></div><div dir="ltr">So the essence of the problem now is that the URL provided for ‘Packages’ and ‘repodata’ in each category is wrong and does not include the category name.</div><div dir="ltr"><br></div><div dir="ltr">Any ideas?</div><div dir="ltr"><br></div><div dir="ltr">Many thanks</div><div dir="ltr"><br></div><div dir="ltr">r.</div><div><br></div>On 26 Jul 2019, at 6:46 pm, Ina Panova <<a href="mailto:ipanova@redhat.com">ipanova@redhat.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hi Rolf,</div><div><br></div><div dir="ltr">if you go to <span class="gmail-m_-4409435926667979615s1" style="background-color:rgba(255,255,255,0)"> <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank">http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms</a>  can you share the repodata with us?</span></div><div><span class="gmail-m_-4409435926667979615s1" style="background-color:rgba(255,255,255,0)">The client seems to complain because of missing primary metadata file.</span><br></div><div dir="ltr"><br>--------<br>Regards,<br><br>Ina Panova<br>Senior Software Engineer| Pulp| Red Hat Inc.<br><br>"Do not go where the path may lead,<br> go instead where there is no path and leave a trail."<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 24, 2019 at 1:29 PM Rolf Loudon <<a href="mailto:kalischt@gmail.com">kalischt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Thanks<br><div><br></div><div>Pulp install is via RPM and is version 2.14.0-1</div><div><br></div><div>Yes, I am pointing the pulp create repo command to <a href="https://cdn.redhat.com/content/dist/rhel/server/6/6server/x86_64/os" target="_blank">https://cdn.redhat.com/content/dist/rhel/server/6/6server/x86_64/os</a></div><div>I have seen the downloads being transferred and seemingly via Akamai (which I presume RedHat uses).</div><div><br></div><div>R.</div><div><br><blockquote type="cite"><div>On 24 Jul 2019, at 9:17 pm, Dennis Kliban <<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a>> wrote:</div><br class="gmail-m_3258705396605121342Apple-interchange-newline"><div><div dir="ltr">What version of Pulp are you using? Is the repository you are syncing publicly available?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 24, 2019 at 2:52 AM Rolf Loudon <<a href="mailto:kalischt@gmail.com" target="_blank">kalischt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">Hello</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">I have created and synced a repository in pulp.  </span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">pulp-admin repo list shows it as follows:</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">Id:                  rhel-6-server-rpms</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span style="background-color:rgba(255,255,255,0)">Display Name:</span><span style="background-color:rgba(255,255,255,0)">        </span><span style="background-color:rgba(255,255,255,0)">None</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">Description:         None</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">Content Unit Counts: </span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">  Erratum:                4324</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">  Package Category:       10</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">  Package Group:          202</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">  Rpm:                    20785</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">  Yum Repo Metadata File: 1</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">I have a (old) spacewalk server on which I defined the above repo as a repository source. However when I try to sync the repo into spacewalk I get this:<br>
</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">06:44:11 Sync of channel started.</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">06:44:11 Repo URL: <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank">http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms</a></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">06:44:11 ERROR: requested datatype primary not available</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">06:44:11 Sync of channel completed in 0:00:00.</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">06:44:11 Total time: 0:00:00</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">To eliminate spacewalk as the source of the problem I configured a server that has never before used the pulp repo in /etc/yum.repos.d/pulp.repo :</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">[rhel-base]</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">name=Red Hat Enterprise Linux Pulp $releasever - $basearch</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">baseurl=<a href="http://xxxxxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank">http://xxxxxxxxx/pulp/repos/rhel-6-server-rpms</a></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">enabled=1</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">When I run ‘yum repolist’ it fails in the same way:</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"># yum repolist</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">Loaded plugins: priorities, protectbase, refresh-packagekit, rhnplugin</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">This system is receiving updates from RHN Classic or Red Hat Satellite.</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">Error: requested datatype primary not available</span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br></span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">I have tried numerous times to recreate the repo in pulp and resync and so on.  <br>
<br>
Any assistance much appreciated. </span></p><p class="gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)">r.</span></p><div dir="ltr"></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" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>
</div></blockquote></div><br></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" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>
</div></blockquote></body></html>