<html><head>





<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style></head>
<body style="margin-bottom:45px">
    <div style="font-size: 10pt;"><div dir="ltr" style="margin-top:0;margin-bottom:0;">We are talking about 2 problems. </div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">1. Your server doesn't sync the remote repository.</div><div dir="ltr" style="margin-top:0;margin-bottom:0;">2. Your server is not creating repository meta data. </div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">You have to fix problem 1 first. If that works, you can think about fixing problem 2.</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">From what you are telling.... You're trying to fix problem 2. I'm taking about problem 1 all the time. </div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">Again... First fix number 1.</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">Regards </div><div dir="ltr" style="margin-top:0;margin-bottom:0;">Robert </div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div></div><div style="font-size: 10pt;"><div id="LGEmailHeader" dir="ltr" style="margin-top:0;margin-bottom:0;"><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">------ Originalnachricht------</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Von: </b>Daryl Rose<darylrose@outlook.com></darylrose@outlook.com></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Datum: </b>Mo., 19. Dez. 2016 20:14</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>An: </b><a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>;</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Cc: </b></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Betreff:</b>Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div></div><div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr"><p dir="ltr">Sorry about the reply.  Normally when I reply, it does go to the group, not just to the individual who sent the reply, but for whatever reason, I have to specify the mailing list when replying to your emails.</p><p dir="ltr"><br></p><p dir="ltr">The path that the error is referring to is:<span></span></p><div dir="ltr"><br></div><div dir="ltr">/var/cache/rhn/reposync/content_dist_rhel_server_6_$releasever_$basearch_os/repomd.xml</div><div dir="ltr"><br></div><div dir="ltr">or </div><div dir="ltr"><br></div><div dir="ltr"><span>/var/cache/rhn/reposync/content_dist_rhel_server_6_6Server_x86_64_os_/<span style="font-family: Calibri, Arial, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">repomd.xml</span></span><br></div><div dir="ltr"><br></div>As I stated in the past, repomd.xml and additional content is not created when spacewalk-repo-sync runs.  I've been able to prove that spacewalk-repo-sync creates this directory because I've removed it multiple times and the directory is created and a sub-directory called "packages", but that is it.  None of the keys are created, and repomd.xml is not created.  <br><br>spacewalk-repo-sync is a python script.  I don't know anything about python and I don't know how to trace the script.  I've tried "<i>phthon -m reposync --trace spacewalk-repo-sync"</i>, but that doesn't work.  I would really like to see what is happening when the script tries to execute the reposync module, but I get "reposync module doesn't exists".   <div dir="ltr"><br></div><div dir="ltr">Maybe if I can see what is going on in the spacewalk-repo-sync script, then I can figure out what is causing my issue.</div><div dir="ltr"><br></div><div dir="ltr">Thanks</div><div dir="ltr"><br></div><div dir="ltr">Daryl</div><div dir="ltr"><div style="color: rgb(0, 0, 0);" dir="ltr"><hr tabindex="-1" style="display:inline-block; width:98%"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Robert Paschedag <a href="mailto:<robert.paschedag@web.de"><robert.paschedag@web.de< a="">></robert.paschedag@web.de<></a><br><b>Sent:</b> Monday, December 19, 2016 11:35 AM<br><b>To:</b> Daryl Rose<br><b>Cc:</b><a href="mailto: spacewalk-list@redhat.com"> spacewalk-list@redhat.com</a><br><b>Subject:</b> AW: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</font><div dir="ltr"> </div></div><div dir="ltr"><div style="font-size:10pt" dir="ltr"><div dir="ltr" style="margin-top:0; margin-bottom:0">Please, answer to "all" so the list gets informed, too.</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div><div dir="ltr" style="margin-top:0; margin-bottom:0">And there is no path mentioned anywhere! Is there no path in the logs that the script tries to connect to? Like<a href="HTTP://ftp.redhat.com/some/path/repomd.xml" id="LPlnk306327" previewremoved="true">HTTP://ftp.redhat.com/some/path/repomd.xml</a></div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div><div dir="ltr" style="margin-top:0; margin-bottom:0">I don't care the name of the repository or path on your local machine.... The download URL is the thing that matters...</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div><div dir="ltr" style="margin-top:0; margin-bottom:0">Regards </div><div dir="ltr" style="margin-top:0; margin-bottom:0">Robert</div></div><div style="font-size:10pt" dir="ltr"><div id="LGEmailHeader" dir="ltr" style="margin-top:0; margin-bottom:0"><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div><div dir="ltr" style="margin-top:0; margin-bottom:0">------ Originalnachricht------</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Von: </b>Daryl Rose </div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Datum: </b>Mo., 19. Dez. 2016 18:11</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>An: </b>Robert Paschedag;</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Cc: </b></div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Betreff:</b>Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div></div><div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif"><p dir="ltr">I tried both with and without variables.   This is an example of without the variables.  Same error:</p><p dir="ltr"><br></p><p dir="ltr"><span style="font-size:12pt">11:08:18 ERROR: Cannot retrieve repository metadata (repomd.xml) for repository: content_dist_rhel_server_6_6Server_x86_64_os_. Please verify its path and try again</span><br></p><p dir="ltr"><span><br></span></p><p dir="ltr"><span><span></span></span></p><div dir="ltr">[root reposync]# ls -l</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 19 11:08 content_dist_rhel_server_6_6Server_x86_64_os_</div><br><p dir="ltr"></p>Daryl<br><br><div dir="ltr" style="color:rgb(0,0,0)"><hr tabindex="-1" style="display:inline-block; width:98%"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Robert Paschedag<a href="mailto:<robert.paschedag@web.de">></a><br><b>Sent:</b> Monday, December 19, 2016 10:08 AM<br><b>To:</b> Daryl Rose;<a href="mailto: spacewalk-list@redhat.com"> spacewalk-list@redhat.com</a><br><b>Subject:</b> AW: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</font><div dir="ltr"> </div></div><div dir="ltr"><div dir="ltr" style="font-size:10pt"><div dir="ltr" style="margin-top:0; margin-bottom:0">Daryl,</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div><div dir="ltr" style="margin-top:0; margin-bottom:0">I don't think, that you can use the URL that is used by "yum" within spacewalk. Just because of these variables in it! I think this is why you get the "invalid path" errors. So just print also the paths within your logs just before the error occurs to verify. Then... Try to use the "resolved" URL within spacewalk. </div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div><div dir="ltr" style="margin-top:0; margin-bottom:0">Regards </div><div dir="ltr" style="margin-top:0; margin-bottom:0">Robert </div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div></div><div dir="ltr" style="font-size:10pt"><div id="LGEmailHeader" dir="ltr" style="margin-top:0; margin-bottom:0"><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div><div dir="ltr" style="margin-top:0; margin-bottom:0">------ Originalnachricht------</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Von: </b>Daryl Rose</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Datum: </b>Mo., 19. Dez. 2016 16:20</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>An: </b><a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>;</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Cc: </b></div><div dir="ltr" style="margin-top:0; margin-bottom:0"><b>Betreff:</b>Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</div><div dir="ltr" style="margin-top:0; margin-bottom:0"><br></div></div><div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif"><p dir="ltr">Robert,</p><p dir="ltr"><br></p><p dir="ltr">The URL came from the /etc/<span><a href="http://yum.re">yum.re</a>pos.d</span>/<a href="http://redhat.re">redhat.re</a>po.<a href="http://redhat.re">redhat.re</a>po, which is created when registering to Red Hat.   The path in question is created when I run the spacewalk-repo-sync command.  I've removed that particular path several times, modified the URL and every time I run the spacewalk-repo-sync command, the directory in question get recreated.</p><p dir="ltr"><br></p><p dir="ltr">I do know that there is a difference between the original reposync directory and the new reposync directory.</p><p dir="ltr"><br></p><p dir="ltr">This is the content of the reposync directory on the <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px">original server</span>:</p><p dir="ltr"><br></p><p dir="ltr"><span>[root]# cd /var/cache/rhn/reposync</span><br></p><p dir="ltr"></p><div dir="ltr">[root reposync]# ls -l</div><div dir="ltr">total 104</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Oct 12 11:18 centos-7-extra</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Nov  8 21:00 centos-7-updae</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Aug 24 12:10 centos_7_channel</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Aug 29 13:10 centos_7_plus</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Dec  9 14:03 <span style="color:rgb(255,0,0)">rhel-6-server-rpms</span></div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Aug 23 18:00 sles11-sp3-pool</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Aug 23 19:00 sles11-sp3-pool-x86</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Nov  8 18:01 sles11-sp3-update</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Dec  8 19:00 sles11-sp3-update-pool-x86</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Aug 23 20:00 sles11-sp4-pool</div><div dir="ltr">drwxr-xr-x. 3 root root 4096 Nov  8 20:00 sles11-sp4-update</div><br><p dir="ltr"></p><p dir="ltr"><br></p><p dir="ltr">This is the contents of the reposync directory on the new server: </p><p dir="ltr"><br></p><p dir="ltr"><span>[root]# cd /var/cache/rhn/reposync</span><br></p><p dir="ltr"></p><div dir="ltr">[root reposync]# ls -l</div><div dir="ltr">total 71328</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 17:00 centos_7_centosplus_x86_64_</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 18:00 centos_7_extras_x86_64_</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 17:30 centos_7_os_x86_64_</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 18:30 centos_7_updates_x86_64_</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 15 15:38 <span style="color:rgb(255,0,0)">content_dist_rhel_server_6_$releasever_$basearch_os</span></div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 20:30 repo_$RCE_SLES11-SP3-Pool_sle-11-i586</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 19:30 repo_$RCE_SLES11-SP3-Pool_sle-11-x86_64</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 21:00 repo_$RCE_SLES11-SP3-Updates_sle-11-i586</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 20:00 repo_$RCE_SLES11-SP3-Updates_sle-11-x86_64</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 21:30 repo_$RCE_SLES11-SP4-Pool_sle-11-x86_64</div><div dir="ltr">drwxr-xr-x. 3 root root     4096 Dec 18 22:00 repo_$RCE_SLES11-SP4-Updates_sle-11-x86_64</div><br><p dir="ltr"></p><p dir="ltr"></p><div dir="ltr"></div><p dir="ltr"></p><p dir="ltr">Notice the difference in the sub-directories?  The original server was SW v2.5, the new server is SW v2.6.  I'm assuming that the spacewalk-repo-sync command changed the way the sub-directories were created.  However these are created shouldn't make any difference, because they all work, except the Red Hat repo.  </p><p dir="ltr"><br></p><p dir="ltr">The path is correct.  The issue is that <span>repomd.xml and additional content is not created when the sub-directory "<span>content_dist_rhel_server_6_$releasever_$basearch_os" is created, and I have no idea how the contents is created.  </span></span></p><p dir="ltr"><br></p><p dir="ltr">The error message saying to check the path is not correct. The path is correct, its just the contents is not there.</p><p dir="ltr"><br></p><p dir="ltr">Daryl</p><p dir="ltr"><br></p><div dir="ltr" style="color:rgb(0,0,0)"><hr tabindex="-1" style="display:inline-block; width:98%"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b><a href="mailto: spacewalk-list-bounces@redhat.com"> spacewalk-list-bounces@redhat.com</a><a href="mailto:<spacewalk-list-bounces@redhat.com">> on behalf of Robert Paschedag</a><a href="mailto:<robert.paschedag@web.de">></a><br><b>Sent:</b> Friday, December 16, 2016 9:37 AM<br><b>To:</b><a href="mailto: spacewalk-list@redhat.com"> spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</font><div dir="ltr"> </div></div><div dir="ltr"><div dir="ltr">It says... The path is wrong. So what did you put into the URL line?????<div dir="ltr"><br></div><div dir="ltr"><br></div></div><div class="gmail_extra" dir="ltr"><br><div class="gmail_quote" dir="ltr">Am <a href="tel:16.12.2016 15">16.12.2016 15</a>:50 schrieb Daryl Rose<a href="mailto:<darylrose@outlook.com">>:</a><br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex"><div dir="ltr"><div dir="ltr" style="font-size:12pt; color:#000000; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"><p dir="ltr"><span style="font-size:12pt">So, today I decided to create a new RHEL 6 channel and repo and then run the "spacewalk-repo-sync" command and see if I can't get this repo to populate with packages from Red Hat.  The same error</span>occurred<span style="font-size:12pt">.</span><br></p><p dir="ltr"><span style="font-size:12pt"><br></span></p><p dir="ltr"><span style="font-size:12pt"><i></i><i>ERROR: Cannot retrieve repository metadata (repomd.xml) for repository: content_dist_rhel_server_6_6Server_x86_64_os_. Please verify its path and try again</i><br></span></p><p dir="ltr"><span style="font-size:12pt"><i><br></i></span></p><p dir="ltr"><span style="font-size:12pt">This tells me that there isn't anything corrupt.  I'm really think that I missed something in the configuration or setup of the new server. </span></p><p dir="ltr"><span style="font-size:12pt"><br></span></p><p dir="ltr"><span style="font-size:12pt">When I setup the original server, v2.3, I'm thinking there were some</span>additional<span style="font-size:12pt"> steps that I had to do once I registered the server to Red Hat.  I've been reviewing the installation instructions, but I don't see anything extra that I missed. In the SW, v2.6,</span><span style="font-size:12pt"> installation instructions, all I see is to make sure that the server is properly registered to the</span>appropriate<span style="font-size:12pt"> channel:</span></p><p dir="ltr"><span style="font-size:12pt"><br></span></p><p dir="ltr"><br></p><p dir="ltr"></p><div dir="ltr"><b>Red Hat Optional Server (Red Hat Enterprise Linux)</b></div><div dir="ltr"><br></div><div dir="ltr">When using Red Hat Enterprise Linux 6 or 7, make sure you are subscribed to the appropriate Red Hat Optional Server channel:</div><div dir="ltr"><br></div><div dir="ltr"><b>Red Hat Optional Server 6 , </b>OR</div><div dir="ltr"><b>Red Hat Optional Server 7</b></div><div dir="ltr"><br></div><br><p dir="ltr"></p><p dir="ltr">The server is properly registered and entitled.  I can run a yum repolist and see the repository.  I can issue the subscription-manager command and see that the server is subscribed and I can see what repos are enabled.  But for some reason, that is not getting passed onto the Spacewalk repo.</p><p dir="ltr"><br></p><p dir="ltr">I tried opening a ticket with Red Hat just so I could verify that everything was registered correctly, but since I don't have a satellite subscription, they closed the ticket without even answering my question.</p><p dir="ltr"><br></p><p dir="ltr">I've run out of idea's.  If someone can give me more suggestions, I'm willing to listen.</p><p dir="ltr"><br></p><p dir="ltr">Thanks</p><p dir="ltr"><br></p><p dir="ltr">Daryl</p><p dir="ltr"><br></p><p dir="ltr"><br></p><hr style="font-size:12pt; display:inline-block; width:98%"><div dir="ltr" style="color:rgb(0 ,0 ,0)"><div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b><a href="mailto: spacewalk-list-bounces@redhat.com"> spacewalk-list-bounces@redhat.com</a><a href="mailto:<spacewalk-list-bounces@redhat.com">> on behalf of Robert Paschedag</a><a href="mailto:<robert.paschedag@web.de">></a><br><b>Sent:</b> Friday, December 16, 2016 12:44 AM<br><b>To:</b><a href="mailto: spacewalk-list@redhat.com"> spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</font><div dir="ltr"> </div></div><div dir="ltr"><div dir="ltr">Oh... Just saw that the checksum error occurs when run on a "client"..<div dir="ltr"><br></div><div dir="ltr"><br></div></div><div dir="ltr"><br><div class="elided-text" dir="ltr">Am <a href="tel:15.12.2016 22">15.12.2016 22</a>:48 schrieb Daryl Rose<a href="mailto:<darylrose@outlook.com">>:</a><br><blockquote style="margin:0 0 0 0.8ex; border-left:1px #ccc solid; padding-left:1ex"><div dir="ltr"><div dir="ltr" style="font-size:12pt; color:#000000; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"><p dir="ltr">One more thought....</p><p dir="ltr"><br></p><p dir="ltr">What would happen if I were to delete the current RHEL channel and repository and recreate them?  What will happen to all of the packages and clients currently registered to the channel/repo?  I know that the packages will become orphan, but can I put them back into the new repo, or do I just have to remove them and re-download them from Red Hat?  How about the registered clients?   Do I have to re-register them, or if I keep the same activation key, the same channel/repo names, will they just pickup the change?</p><p dir="ltr"><br></p><p dir="ltr">Thanks</p><p dir="ltr"><br></p><p dir="ltr">Daryl</p><br><br><div dir="ltr" style="color:rgb(0 ,0 ,0)"><hr style="display:inline-block; width:98%"><div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b><a href="mailto: spacewalk-list-bounces@redhat.com"> spacewalk-list-bounces@redhat.com</a><a href="mailto:<spacewalk-list-bounces@redhat.com">> on behalf of Daryl Rose </a><a href="mailto:<darylrose@outlook.com">></a><br><b>Sent:</b> Thursday, December 15, 2016 2:59 PM<br><b>To:</b><a href="mailto: spacewalk-list@redhat.com"> spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</font><div dir="ltr"> </div></div><div dir="ltr"><div dir="ltr" style="font-size:12pt; color:#000000; font-family:'calibri' ,'arial' ,'helvetica' ,sans-serif"><p dir="ltr">Hello Chris,</p><p dir="ltr"><br></p><p dir="ltr">Thank you for the following steps.  I think this resolved this immanent issue, but the issue of not being able to sync from the parent Red Hat repository is still an issue.  </p><p dir="ltr"><br></p><p dir="ltr">Do you know how the contents of <i>./cache/rhn/reposync</i> are created?  As a work around, I copied the contents of<i>reposync</i>from the original server to the new server, and I'm able to sync from the Red Hat repository, but that is not a long term solution.  </p><p dir="ltr"><br></p><p dir="ltr">I thought that perhaps I had found a solution.  Yum can access the repository just fine so I copied the contents from<i>/var/cache/yum/x86_64/6Server/rhel-6-server-rpms</i> to the reposync directory.  It started off just fine, but eventually failing due to not being able to find some keys.  Actually the keys were generated, but they were of zero length and that won't work.</p><p dir="ltr"><br></p><p dir="ltr">It seems to be obvious that there is something else wrong with my installation, I just don't know what it is. If you, or anyone else have any thoughts are suggestion, I'm willing to take a look and give it a try.</p><p dir="ltr"><br></p><p dir="ltr">Thank you.</p><p dir="ltr"><br></p><p dir="ltr">Daryl</p><br><div dir="ltr" style="color:rgb(0 ,0 ,0)"><hr style="display:inline-block; width:98%"><div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b><a href="mailto: spacewalk-list-bounces@redhat.com"> spacewalk-list-bounces@redhat.com</a><a href="mailto:<spacewalk-list-bounces@redhat.com">> on behalf of Snyder, Chris </a><a href="mailto:<Chris.Snyder@csra.com">></a><br><b>Sent:</b> Wednesday, December 14, 2016 7:07 PM<br><b>To:</b><a href="mailto: spacewalk-list@redhat.com"> spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</font><div dir="ltr"> </div></div><div dir="ltr"><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d">The “metadata ….” Error indicates that your yum cache (provided by the Spacewalk server) is out of with what is actually available through the Spacewalk package database.  This can be because taskomatic isn’t running or there’s a problem somewhere.  Check your logs under /var/log/rhn/ for any issues with taskomatic or any other components.</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"> </span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d">However, I’ve run into this before and I do the following to get around it (NOTE: your paths will probably be different than mine):</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"> </span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'"># Blow away all cached metadata</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'">rm -fr /data/pkg/cache/rhn/repodata/</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"> </p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'"># restart spacewalk so empty repodata cache directory is recreated.</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'">spacewalk-service stop</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'">spacewalk-service start</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"> </p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'"># If not already, cache credentials for</span><span style="font-size:10pt; font-family:'courier new'">spacecmd (This assumes you have configured ~/.spacecmd/config previously)</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'">spacecmd softwarechannel_list</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"> </p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'"># Regenerate repo data for</span><span style="font-size:10pt; font-family:'courier new'">all channels</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'">for</span> <span style="font-size:10pt; font-family:'courier new'">i in `spacecmd softwarechannel_list`; do</span> <span style="font-size:10pt; font-family:'courier new'">spacecmd softwarechannel_regenerateyumcache $i; done</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"> </p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:10pt; font-family:'courier new'"># Waited a few minutes for</span><span style="font-size:10pt; font-family:'courier new'">data to regenerate</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"> </span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d">Once that’s done and the metadata caches are updated (you’ll see updated directories under the cache dir and you should see info in the taskomatic logs), go to each registered spacewalk client and run </span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"> </span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><code style="font-family:'courier new'"><span style="font-size:10pt">yum clean all</span></code><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"></span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"> </span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d">If this doesn’t work, I would have to say that you’ve got something else wrong somewhere else.</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"> </span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d">Good luck.</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:#1f497d"> </span></p><div dir="ltr"><div dir="ltr" style="border:none; border-top:solid #b5c4df 1pt; padding:3pt 0in 0in 0in"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:10pt; font-family:'tahoma'">From:</span></b><span style="font-size:10pt; font-family:'tahoma'"><a href="mailto: spacewalk-list-bounces@redhat.com"> spacewalk-list-bounces@redhat.com</a> [mailto<a href="mailto::spacewalk-list-bounces@redhat.com">:spacewalk-list-bounces@redhat.com</a>]<b>On Behalf Of </b>Daryl Rose<br><b>Sent:</b> Wednesday, December 14, 2016 5:58 PM<br><b>To:</b><a href="mailto: spacewalk-list@redhat.com"> spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span></p></div></div><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"> </p><div dir="ltr"><p dir="ltr"><span style="font-family:'calibri'; color:black">Hello everyone,</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">I have not received any replies from my previous posting, so I thought that I would post an update hoping someone would see it and reply.</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">This error seems to go deeper than just syncing from Red Hat.  Server that are currently registered to the Spacewalk server are not able to access the RHEL repository on SW.  If issuing the "yum update" command, we receive the error:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><i><span style="font-family:'calibri'; color:black">Error: failed to retrieve repodata/primary.xml.gz from rhel-6-server-rpms</span></i><span style="font-family:'calibri'; color:black"></span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><i><span style="font-family:'calibri'; color:black">error was [Errno -1] Metadata file does not match checksum</span></i><span style="font-family:'calibri'; color:black"></span></p></div><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">If I issue the "yum repolist" command, I only see "0" for packages. </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">So, this issue is larger that what I initially thought. Anyone have any thoughts or idea's?</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Daryl</span></p><div dir="ltr"><div align="center" dir="ltr" style="text-align:center; margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"></span><hr size="2" width="98%" align="center"></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:11pt; font-family:'calibri'; color:black">From:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a>> on behalf of Daryl Rose <<a href="mailto:darylrose@outlook.com" style="color:blue; text-decoration:underline">darylrose@outlook.com</a>><br><b>Sent:</b> Friday, December 9, 2016 2:56 PM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span><span style="font-family:'calibri'; color:black"></span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div></div><div dir="ltr"><div dir="ltr"><p dir="ltr"><span style="font-family:'calibri'; color:black">So,  I resurrected the old server from the grave and copied the contents of "/var/cach/rhn/reposync/rhel-6-server-rpms" to "/var/cach/rhn/reposync/content_dist_rhel_server_6_$releasever_$basearch_os" and ran a sync.  The sync worked.</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">The sync worked, but it caused a new error.  A team member registered a Red Hat server just after I made these changes.  The server registered, but  with the following error:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><i><span style="font-family:'calibri'; color:black">Bad id for repo: logstash 5.x, byte =   8</span></i><span style="font-family:'calibri'; color:black"></span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">I'm guessing that something within the data that I copied over does not align with the repository on SW?  </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Another thing that I noticed is that the directory structure in the old reposync directory is different than the new server.  For example:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">OLD:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">/var/cache/rhn/reposync/centos-7-extra</span></p><blockquote style="margin-left:30pt; margin-right:0in"><blockquote style="margin-left:30pt; margin-right:0in"><blockquote style="margin-left:30pt; margin-right:0in"><blockquote style="margin-left:30pt; margin-right:0in"><p dir="ltr"><span style="font-family:'calibri'; color:black">/centos-7-server-rpms</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">/centos-7-updae</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">/centos_7_channel</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">/centos_7_plus</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p></blockquote></blockquote></blockquote></blockquote><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">NEW: </span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">/var/cache/rhn/reposync/centos_7_centosplus_x86_64_</span></p></div><blockquote style="margin-left:30pt; margin-right:0in"><blockquote style="margin-left:30pt; margin-right:0in"><blockquote style="margin-left:30pt; margin-right:0in"><blockquote style="margin-left:30pt; margin-right:0in"><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">/centos_7_extras_x86_64_</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">/centos_7_os_x86_64_</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">/centos_7_updates_x86_64_</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div></blockquote></blockquote></blockquote></blockquote><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Is that a SW v2.3 vs. v2.6 change?  </span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Thanks</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Daryl</span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p><div dir="ltr"><div align="center" dir="ltr" style="text-align:center; margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"></span><hr size="2" width="98%" align="center"></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:11pt; font-family:'calibri'; color:black">From:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a>> on behalf of Daryl Rose <<a href="mailto:darylrose@outlook.com" style="color:blue; text-decoration:underline">darylrose@outlook.com</a>><br><b>Sent:</b> Thursday, December 8, 2016 10:32 AM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span><span style="font-family:'calibri'; color:black"></span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div></div><div dir="ltr"><div dir="ltr"><p dir="ltr"><span style="font-family:'calibri'; color:black">More questions:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">When I run "spacewalk-repo-sync --channel=rhel-6-server-rpms",  I get the error:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><i><span style="font-family:'calibri'; color:black">ERROR: Cannot retrieve repository metadata (repomd.xml) for repository: content_dist_rhel_server_6_$releasever_$basearch_os. Please verify its path and try again</span></i><span style="font-family:'calibri'; color:black"></span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"><br>What creates the content in "/var/cache/rhn/reposync/content_dist_rhel_server_6_$releasever_$basearch_os"?</span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">All of the other channels that I created all have "cachecookie, packages, primary.xml.gz, primary.xml.gz.sqlite, repomd.xml and updateinfo.xml.gz".  </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">There must be a process that creates this content, but what, I'm not sure.  How can I manually create this content?</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Thanks</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Daryl</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p><div dir="ltr"><div align="center" dir="ltr" style="text-align:center; margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"></span><hr size="2" width="98%" align="center"></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:11pt; font-family:'calibri'; color:black">From:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a>> on behalf of Daryl Rose <<a href="mailto:darylrose@outlook.com" style="color:blue; text-decoration:underline">darylrose@outlook.com</a>><br><b>Sent:</b> Thursday, December 8, 2016 9:26 AM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span><span style="font-family:'calibri'; color:black"></span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div></div><div dir="ltr"><div dir="ltr"><p dir="ltr"><span style="font-family:'calibri'; color:black">Quick update.</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Poking around on Red Hat I found a doc that suggested that I look at the  name in /etc/sysconfig/network and ensure that the hostname is FQDN and then run "spacewalk-hostname-rename".   Host name was not FQDN, so I renamed it, but because I use a signed cert, will running spacewalk-hostname-rename cause a problem with that cert?  </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Thanks</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Daryl</span></p><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p><div dir="ltr"><div align="center" dir="ltr" style="text-align:center; margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"></span><hr size="2" width="98%" align="center"></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:11pt; font-family:'calibri'; color:black">From:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a>> on behalf of Daryl Rose <<a href="mailto:darylrose@outlook.com" style="color:blue; text-decoration:underline">darylrose@outlook.com</a>><br><b>Sent:</b> Thursday, December 8, 2016 8:55 AM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span><span style="font-family:'calibri'; color:black"></span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div></div><div dir="ltr"><div dir="ltr"><p dir="ltr"><span style="font-family:'calibri'; color:black">Robert,</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Yes, the server is registered and has an active subscription with Red Hat.  As a matter of fact, I just now re-registered to make sure that all is good.   I can see from the command line subscription manager that the server is subscribed, and I confirmed that it is entitled.  </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">I use a "signed" cert so I'm wondering if the signed cert has something to do with this?  However, I found a troubleshooting document on Red Hat that verifies that I am entitled and using the certificate provided by Red Hat to communicate back to them.  </span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Thank you</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Daryl</span></p></div><div dir="ltr"><div align="center" dir="ltr" style="text-align:center; margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"></span><hr size="2" width="98%" align="center"></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:11pt; font-family:'calibri'; color:black">From:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a>> on behalf of Robert Paschedag <<a href="mailto:robert.paschedag@web.de" style="color:blue; text-decoration:underline">robert.paschedag@web.de</a>><br><b>Sent:</b> Wednesday, December 7, 2016 11:48 PM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span><span style="font-family:'calibri'; color:black"></span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div></div><div dir="ltr"><div dir="ltr"><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-size:11pt; font-family:'calibri'; color:black">I think you should check your entitlements. But I also don't know, how you could "manually" connect to the repo (with username/password or token inline in URL).<br><br>Is your server listed as entitled within your RedHat account?</span></p></div></div><div dir="ltr"><div align="center" dir="ltr" style="text-align:center; margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"></span><hr size="2" width="100%" align="center"></div><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:11pt; font-family:'calibri'; color:black">Von: </span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:darylrose@outlook.com" style="color:blue; text-decoration:underline">Daryl Rose</a></span><span style="font-family:'calibri'; color:black"><br></span><b><span style="font-size:11pt; font-family:'calibri'; color:black">Gesendet:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black">‎06.‎12.‎2016 17:26</span><span style="font-family:'calibri'; color:black"><br></span><b><span style="font-size:11pt; font-family:'calibri'; color:black">An: </span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:spacewalk-list@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list@redhat.com</a></span><span style="font-family:'calibri'; color:black"><br></span><b><span style="font-size:11pt; font-family:'calibri'; color:black">Betreff:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black">Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span><span style="font-family:'calibri'; color:black"></span></p></div><div dir="ltr"><p dir="ltr"><span style="font-family:'calibri'; color:black">I decided to try the sync from the command line.  This time I received an error:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><i><span style="font-family:'calibri'; color:black">ERROR: Cannot retrieve repository metadata (repomd.xml) for repository: content_dist_rhel_server_6_6Server_x86_64_os_. Please verify its path and try again</span></i><span style="font-family:'calibri'; color:black"></span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">The path came out of the <a href="http://redhat.re">redhat.re</a>po file that came from Red Hat when I registered the server.  Its the same path that was used on the previous server.  </span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Any suggestions?</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Thank you.</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black">Daryl</span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p><div dir="ltr"><div align="center" dir="ltr" style="text-align:center; margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"></span><hr size="2" width="98%" align="center"></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><b><span style="font-size:11pt; font-family:'calibri'; color:black">From:</span></b><span style="font-size:11pt; font-family:'calibri'; color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list-bounces@redhat.com</a>> on behalf of Daryl Rose <<a href="mailto:darylrose@outlook.com" style="color:blue; text-decoration:underline">darylrose@outlook.com</a>><br><b>Sent:</b> Monday, December 5, 2016 3:00 PM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" style="color:blue; text-decoration:underline">spacewalk-list@redhat.com</a><br><b>Subject:</b> [Spacewalk-list] RHEL 6.x repository not syncing from parent channel</span><span style="font-family:'calibri'; color:black"></span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p></div></div><div dir="ltr"><div dir="ltr"><p dir="ltr"><span style="font-family:'calibri'; color:black">I just realized that the last Red Hat errata for RHEL 6.x is from August.  I looked at the sync logs and it doesn't appear that anything is syncing at all from the RHEL channel.  </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">I just recently migrated to a physical server.  I successfully registered the server and attached an entitlement to the server.  If I run "yum update" on the server, it lists latest updates from the RHEL channel.  </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">This is what I see in the reposync log:</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><i><span style="font-family:'calibri'; color:black">2016/12/05 14:49:42 -05:00 Command: ['/usr/bin/spacewalk-repo-sync', '--channel', 'rhel-6-server-rpms', '--type', 'yum']</span></i><span style="font-family:'calibri'; color:black"></span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><i><span style="font-family:'calibri'; color:black">2016/12/05 14:49:42 -05:00 Sync of channel started.</span></i><span style="font-family:'calibri'; color:black"></span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><i><span style="font-family:'calibri'; color:black">2016/12/05 14:49:42 -05:00 Repo URL: https:</span></i><span style="font-family:'calibri'; color:black"></span></p></div><div dir="ltr"><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><i><span style="font-family:'calibri'; color:black">2016/12/05 14:49:42 -05:00 Sync of channel completed in 0:00:00.</span></i><span style="font-family:'calibri'; color:black"></span></p></div><p dir="ltr" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'times new roman' ,serif"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">If I haven't received any syncs since August, then this broke long before I migrated to the physical server.</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Any thoughts?</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p><p dir="ltr"><span style="font-family:'calibri'; color:black">Daryl</span></p><p dir="ltr"><span style="font-family:'calibri'; color:black"> </span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>


</body></html>