<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you for the suggestion. Sorry for the long delay in replying.  We did try and re-publish the repo with the force full command but it made no difference.<div class=""><br class=""></div><div class="">We have found a workaround for our repository management and we now do not need to use pulp for it in this case.  So I don’t have a need to pursue this request here, but thank you for the help.</div><div class=""><br class=""></div><div class="">As far as we got before trying another idea is that</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">in /var/lib/pulp/published/yum/master/yum_distributor/ <channel name>/</div><p style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </p><div class="">We saw this for a failing channel:</div><div class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">rhel-6-server-rpms]# ls -l */repodata/*</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache  1188540 Jul 30 06:11 1564465100.45/repodata/245ba6fe28e4a180b78cdd87f479af63cee47f4e-comps.xml</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache 45078695 Jul 30 06:03 1564465100.45/repodata/7fac8b0fefc059c50f4cc311f158eef6a9b34fd5-filelists.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache  3878183 Jul 30 06:10 1564465100.45/repodata/c45aa9b5d1d34e37f2e3797a3c73936d7c4db8be-updateinfo.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache 57733120 Jul 30 06:03 1564465100.45/repodata/other.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache 40497152 Jul 30 06:03 1564465100.45/repodata/primary.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache     2159 Jul 30 03:25 1564465100.45/repodata/productid</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache     1129 Jul 30 06:29 1564465100.45/repodata/repomd.xml</div><p style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </p><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">And for a working one:</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">rhel-6-server-extras-rpms]# ls -l */repodata/*</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache  24475 Jul 29 13:05 1564405504.35/repodata/48c121111734b4da32d6404a178195b1aff90ace-primary.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache    124 Jul 29 13:05 1564405504.35/repodata/7a747e6dc73c3ccef57c839995d90b6ef4c76092-comps.xml</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache  45585 Jul 29 13:05 1564405504.35/repodata/97b983d84b21cca6f485389cb81856474502924a-other.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache 674921 Jul 29 13:05 1564405504.35/repodata/bbf9e6b2768d5f57f2eb4c29b850aa3f33f40ac2-filelists.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache  37759 Jul 29 13:05 1564405504.35/repodata/db8a96a2d3d6c8a9d38a79e77fd1a2e81161cea6-updateinfo.xml.gz</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">-rw-r--r--. 1 apache apache   1813 Jul 29 13:05 1564405504.35/repodata/repomd.xml</div><p style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </p><div class="">But for the broken channel repomd.xml contains no reference to the primary or other xml files:</div><div class=""> </div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><?xml version="1.0" encoding="UTF-8"?></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><repomd xmlns="<a href="http://linux.duke.edu/metadata/repo" class="">http://linux.duke.edu/metadata/repo</a>" xmlns:rpm="<a href="http://linux.duke.edu/metadata/rpm" class="">http://linux.duke.edu/metadata/rpm</a>"><revision>1564465100</revision></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="updateinfo"><location href="repodata/c45aa9b5d1d34e37f2e3797a3c73936d7c4db8be-updateinfo.xml.gz" /><timestamp>1564467055</timestamp><size>3878183</size><checksum type="sha1">c45aa9b5d1d34e37f2e3797a3c73936d7c4db8be</checksum></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><open-size>19705102</open-size><open-checksum type="sha1">bbe90a0ff665d33c0a3e9302a397fd7f39ad6654</open-checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="group"><location href="repodata/245ba6fe28e4a180b78cdd87f479af63cee47f4e-comps.xml" /><timestamp>1564467062</timestamp><size>1188540</size><checksum type="sha1">245ba6fe28e4a180b78cdd87f479af63cee47f4e</checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="productid"><location href="repodata/productid" /><timestamp>1564457113</timestamp><size>2159</size><checksum type="sha1">625cf1b205833fcfb38a99c5ed94c3c25257379f</checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""></repomd></div><p style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </p><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">While the working one has the repomd data with the correct references:</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><?xml version="1.0" encoding="UTF-8"?></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><repomd xmlns="<a href="http://linux.duke.edu/metadata/repo" class="">http://linux.duke.edu/metadata/repo</a>" xmlns:rpm="<a href="http://linux.duke.edu/metadata/rpm" class="">http://linux.duke.edu/metadata/rpm</a>"><revision>1564405504</revision></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="filelists"><location href="repodata/bbf9e6b2768d5f57f2eb4c29b850aa3f33f40ac2-filelists.xml.gz" /><timestamp>1564405505</timestamp><size>674921</size><checksum type="sha1">bbf9e6b2768d5f57f2eb4c29b850aa3f33f40ac2</checksum><op</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">en-size>17892914</open-size><open-checksum type="sha1">15526bf2873fe3e6cac20664cfb7b011b2ad1541</open-checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="other"><location href="repodata/97b983d84b21cca6f485389cb81856474502924a-other.xml.gz" /><timestamp>1564405506</timestamp><size>45585</size><checksum type="sha1">97b983d84b21cca6f485389cb81856474502924a</checksum><open-size>2</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">42048</open-size><open-checksum type="sha1">6bc00f3aec0458704584b5b771271a22b4848de9</open-checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="primary"><location href="repodata/48c121111734b4da32d6404a178195b1aff90ace-primary.xml.gz" /><timestamp>1564405506</timestamp><size>24475</size><checksum type="sha1">48c121111734b4da32d6404a178195b1aff90ace</checksum><open-si</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">ze>244509</open-size><open-checksum type="sha1">23cb6df373205139fb3bf474f1ea3acb34007347</open-checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="updateinfo"><location href="repodata/db8a96a2d3d6c8a9d38a79e77fd1a2e81161cea6-updateinfo.xml.gz" /><timestamp>1564405508</timestamp><size>37759</size><checksum type="sha1">db8a96a2d3d6c8a9d38a79e77fd1a2e81161cea6</checksum><o</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">pen-size>217172</open-size><open-checksum type="sha1">49a1157c12b1764b387e3b83f0a2ee5413d63fc8</open-checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><data type="group"><location href="repodata/7a747e6dc73c3ccef57c839995d90b6ef4c76092-comps.xml" /><timestamp>1564405508</timestamp><size>124</size><checksum type="sha1">7a747e6dc73c3ccef57c839995d90b6ef4c76092</checksum></data></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""></repomd></div><p style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </p><p style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </p><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">We are seeing the following error when some of the sync jobs are running:</div><p style="margin: 0px; font-stretch: normal; line-height: normal;" class=""> </p><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904) Finalizing failed</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:36 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904) Traceback (most recent call last):</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)   File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 265, in process</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)     self.finalize()</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py", line 472, in finalize</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)     self.file_lists_context.checksum)</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)   File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/metadata/repomd.py", line 132, in add_metadata_file_metadata</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)     content = file_handle.read()</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)   File "/usr/lib64/python2.7/gzip.py", line 254, in read</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)     self._read(readsize)</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)   File "/usr/lib64/python2.7/gzip.py", line 313, in _read</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)     self._add_read_data( uncompress )</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)   File "/usr/lib64/python2.7/gzip.py", line 331, in _add_read_data</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904)     self.extrabuf = self.extrabuf[offset:] + data</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Jul 30 02:19:37 our-host pulp: pulp.plugins.util.publish_step:ERROR: [f22fccad] (12990-15904) MemoryError</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">As I say we’ve solved our issue another way but am including the investigations as far as we got in the event it is useful elsewhere.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Regards</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">r.</div><div><br class=""><blockquote type="cite" class=""><div class=""><font color="#000000" class="">On 31 Jul 2019, at 2:03 am, Ina Panova <<a href="mailto:ipanova@redhat.com" class="">ipanova@redhat.com</a>> wrote:</font></div><font color="#000000" class=""><br class="Apple-interchange-newline"></font><div class=""><div dir="ltr" class=""><div class=""><font color="#000000" class="">Try to re-publish the repo with foce-full flag and see if the symlinks got fixed.</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">Also check /var/lib/pulp/published, there you can find created repodata and symlinks pointing to the content.<br class=""></font></div><div class=""><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><font color="#000000" class=""><br class=""><br class="">--------<br class="">Regards,<br class=""><br class="">Ina Panova<br class="">Senior Software Engineer| Pulp| Red Hat Inc.<br class=""><br class="">"Do not go where the path may lead,<br class=""> go instead where there is no path and leave a trail."<br class=""></font></div></div></div></div></div><font color="#000000" class=""><br class=""></font></div></div><font color="#000000" class=""><br class=""></font><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><font color="#000000" class="">On Sun, Jul 28, 2019 at 11:20 PM Rolf Loudon <<a href="mailto:kalischt@gmail.com" class="">kalischt@gmail.com</a>> wrote:<br class=""></font></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" class=""><div dir="ltr" class=""></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><div dir="ltr" class=""><font color="#000000" class="">Hello</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">Thanks for the assistance.  The problem is more confusing than at first thought.</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">If I go to <a href="http://xxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank" class="">http://xxxxxx/pulp/repos/rhel-6-server-rpms</a> in a browser I see the two links for ‘Packages’ and ‘repodata’.  </font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">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" target="_blank" class="">http://xxxxxxx/pulp/repos/repodata</a> which returns a 404.</font></div><div dir="ltr" class=""><font color="#000000" class="">I tried manually entering <a href="http://xxxxxx/pulp/repos/rhel-6-server-rpms/repodata" target="_blank" class="">http://xxxxxx/pulp/repos/rhel-6-server-rpms/repodata</a> and I get sensible information:</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">21dc6f5f63a58ea0c1f5afc1089b954a840234a6-comps.xml</font></div><div dir="ltr" class=""><font color="#000000" class="">5c8c97d6bbe41e935c933967a2a5f652ac138442-filelists.xml.gz</font></div><div dir="ltr" class=""><font color="#000000" class="">8c5ebae207e15589b4dd0362930f6986337be2d7-updateinfo.xml.gz</font></div><div dir="ltr" class=""><font color="#000000" class="">other.xml.gz</font></div><div dir="ltr" class=""><font color="#000000" class="">primary.xml.gz</font></div><div dir="ltr" class=""><font color="#000000" class="">productid</font></div><div dir="ltr" class=""><font color="#000000" class="">repomd.xml</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">Correspondingly if I use <a href="http://xxxxxx/pulp/repos/rhel-6-server-rpms/Packages" target="_blank" class="">http://xxxxxx/pulp/repos/rhel-6-server-rpms/Packages</a> I get a similar sensible output.</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">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.</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">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:</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">On the spacewalk host using the sync command:</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181Apple-tab-span" style="white-space:pre-wrap"> </span>1.<span class="gmail-m_675931457545478181Apple-tab-span" style="white-space:pre-wrap">   </span>For example the ‘Extras’ category:</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class=""># spacewalk-repo-sync -c rhel6-server-extras-x86_64-pulp</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:54 ======================================</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:54 | Channel: rhel6-server-extras-x86_64-pulp</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:54 ======================================</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:54 Sync of channel started.</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:54 Repo URL: <a href="http://xxxxxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms" target="_blank" class="">http://xxxxxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms</a></font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:55 Packages in repo:                97</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:59 No new packages to sync.</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:59 Repo <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms" target="_blank" class="">http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms</a> has comps file 7a747e6dc73c3ccef57c839995d90b6ef4c76092-comps.xml.</font></div><div dir="ltr" class=""><font color="#000000" class="">20:48:59 Repo <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms" target="_blank" class="">http://xxxxxxxxxx/pulp/repos/rhel-6-server-extras-rpms</a> has 54 errata.</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:02 Sync of channel completed in 0:00:07.</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:02 Total time: 0:00:07</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">There are no new packages in this category but as is shown there is no error returned</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181Apple-tab-span" style="white-space:pre-wrap">     </span>2.<span class="gmail-m_675931457545478181Apple-tab-span" style="white-space:pre-wrap">   </span> Using the base package:</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class=""># spacewalk-repo-sync -c rhel6-x86_64-pulp</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:23 ======================================</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:23 | Channel: rhel6-x86_64-pulp</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:23 ======================================</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:23 Sync of channel started.</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:23 Repo URL: <a href="http://xxxxxxxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank" class="">http://xxxxxxxxxxx/pulp/repos/rhel-6-server-rpms</a></font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:24 ERROR: requested datatype primary not available</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:24 Sync of channel completed in 0:00:00.</font></div><div dir="ltr" class=""><font color="#000000" class="">20:49:24 Total time: 0:00:00</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">The different behaviour between the Base set and the Extras, Supp, Optional, etc is further confusing and unexplained.</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">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.</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">Any ideas?</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">Many thanks</font></div><div dir="ltr" class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">r.</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><font color="#000000" class="">On 26 Jul 2019, at 6:46 pm, Ina Panova <<a href="mailto:ipanova@redhat.com" target="_blank" class="">ipanova@redhat.com</a>> wrote:<br class=""><br class=""></font></div><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><font color="#000000" class="">Hi Rolf,</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class="">if you go to <span class="gmail-m_675931457545478181gmail-m_-4409435926667979615s1" style="background-color:rgba(255,255,255,0)"> <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank" class="">http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms</a>  can you share the repodata with us?</span></font></div><div class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181gmail-m_-4409435926667979615s1" style="background-color:rgba(255,255,255,0)">The client seems to complain because of missing primary metadata file.</span><br class=""></font></div><div dir="ltr" class=""><font color="#000000" class=""><br class="">--------<br class="">Regards,<br class=""><br class="">Ina Panova<br class="">Senior Software Engineer| Pulp| Red Hat Inc.<br class=""><br class="">"Do not go where the path may lead,<br class=""> go instead where there is no path and leave a trail."<br class=""></font></div><div class=""><font color="#000000" class=""><br class=""></font></div></div><font color="#000000" class=""><br class=""></font><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><font color="#000000" class="">On Wed, Jul 24, 2019 at 1:29 PM Rolf Loudon <<a href="mailto:kalischt@gmail.com" target="_blank" class="">kalischt@gmail.com</a>> wrote:<br class=""></font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><font color="#000000" class="">Thanks<br class=""></font><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">Pulp install is via RPM and is version 2.14.0-1</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">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" class="">https://cdn.redhat.com/content/dist/rhel/server/6/6server/x86_64/os</a></font></div><div class=""><font color="#000000" class="">I have seen the downloads being transferred and seemingly via Akamai (which I presume RedHat uses).</font></div><div class=""><font color="#000000" class=""><br class=""></font></div><div class=""><font color="#000000" class="">R.</font></div><div class=""><font color="#000000" class=""><br class=""></font><blockquote type="cite" class=""><div class=""><font color="#000000" class="">On 24 Jul 2019, at 9:17 pm, Dennis Kliban <<a href="mailto:dkliban@redhat.com" target="_blank" class="">dkliban@redhat.com</a>> wrote:</font></div><font color="#000000" class=""><br class="gmail-m_675931457545478181gmail-m_3258705396605121342Apple-interchange-newline"></font><div class=""><div dir="ltr" class=""><font color="#000000" class="">What version of Pulp are you using? Is the repository you are syncing publicly available?<br class=""></font></div><font color="#000000" class=""><br class=""></font><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><font color="#000000" class="">On Wed, Jul 24, 2019 at 2:52 AM Rolf Loudon <<a href="mailto:kalischt@gmail.com" target="_blank" class="">kalischt@gmail.com</a>> wrote:<br class=""></font></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" class=""><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">Hello</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">I have created and synced a repository in pulp.  </font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">pulp-admin repo list shows it as follows:</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">Id:                  rhel-6-server-rpms</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><font color="#000000" class=""><span style="background-color:rgba(255,255,255,0)" class="">Display Name:</span><span style="background-color:rgba(255,255,255,0)" class="">        </span><span style="background-color:rgba(255,255,255,0)" class="">None</span></font></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">Description:         None</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">Content Unit Counts: </font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">  Erratum:                4324</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">  Package Category:       10</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">  Package Group:          202</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">  Rpm:                    20785</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">  Yum Repo Metadata File: 1</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br class=""></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">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 class="">
</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">06:44:11 Sync of channel started.</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">06:44:11 Repo URL: <a href="http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank" class="">http://xxxxxxxxxx/pulp/repos/rhel-6-server-rpms</a></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">06:44:11 ERROR: requested datatype primary not available</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">06:44:11 Sync of channel completed in 0:00:00.</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">06:44:11 Total time: 0:00:00</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br class=""></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">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 :</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br class=""></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">[rhel-base]</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">name=Red Hat Enterprise Linux Pulp $releasever - $basearch</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">baseurl=<a href="http://xxxxxxxxx/pulp/repos/rhel-6-server-rpms" target="_blank" class="">http://xxxxxxxxx/pulp/repos/rhel-6-server-rpms</a></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">enabled=1</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br class=""></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">When I run ‘yum repolist’ it fails in the same way:</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br class=""></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class=""># yum repolist</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">Loaded plugins: priorities, protectbase, refresh-packagekit, rhnplugin</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">This system is receiving updates from RHN Classic or Red Hat Satellite.</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">Error: requested datatype primary not available</font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p2"><span style="background-color:rgba(255,255,255,0)" class=""><font color="#000000" class=""><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1"></span><br class=""></font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">I have tried numerous times to recreate the repo in pulp and resync and so on.  <br class="">
<br class="">
Any assistance much appreciated. </font></span></p><p class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875p1"><span class="gmail-m_675931457545478181gmail-m_3258705396605121342gmail-m_-6964317563145775875s1" style="background-color:rgba(255,255,255,0)"><font color="#000000" class="">r.</font></span></p><div dir="ltr" class=""></div></div><font color="#000000" class="">_______________________________________________<br class="">
Pulp-list mailing list<br class="">
<a href="mailto:Pulp-list@redhat.com" target="_blank" class="">Pulp-list@redhat.com</a><br class="">
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman/listinfo/pulp-list</a></font></blockquote></div>
</div></blockquote></div><font color="#000000" class=""><br class=""></font></div><font color="#000000" class="">_______________________________________________<br class="">
Pulp-list mailing list<br class="">
<a href="mailto:Pulp-list@redhat.com" target="_blank" class="">Pulp-list@redhat.com</a><br class="">
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman/listinfo/pulp-list</a></font></blockquote></div>
</div></blockquote></div><font color="#000000" class="">_______________________________________________<br class="">
Pulp-list mailing list<br class="">
<a href="mailto:Pulp-list@redhat.com" target="_blank" class="">Pulp-list@redhat.com</a><br class="">
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman/listinfo/pulp-list</a></font></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>