<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hello Chris,</p>
<p><br>
</p>
<p>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><br>
</p>
<p>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><br>
</p>
<p>I thought that perhaps I had found a solution.  Yum can access the repository just fine so I copied the contents from
<span><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.</span></p>
<p><span><br>
</span></p>
<p><span>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.</span></p>
<p><span><br>
</span></p>
<p><span>Thank you.</span></p>
<p><span><br>
</span></p>
<p><span>Daryl</span></p>
<br>
<div 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> spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> on behalf of Snyder, Chris <Chris.Snyder@csra.com><br>
<b>Sent:</b> Wednesday, December 14, 2016 7:07 PM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</font>
<div> </div>
</div>
<div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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 style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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 style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New""># Blow away all cached metadata</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New"">rm -fr /data/pkg/cache/rhn/repodata/</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New""># restart spacewalk so empty repodata cache directory is recreated.</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New"">spacewalk-service stop</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New"">spacewalk-service start</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New""># If not already, cache credentials for</span>
<span style="font-size:10.0pt; font-family:"Courier New"">spacecmd (This assumes you have configured ~/.spacecmd/config previously)</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New"">spacecmd softwarechannel_list</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New""># Regenerate repo data for</span>
<span style="font-size:10.0pt; font-family:"Courier New"">all channels </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New"">for</span> <span style="font-size:10.0pt; font-family:"Courier New"">
i in `spacecmd softwarechannel_list`; do</span> <span style="font-size:10.0pt; font-family:"Courier New"">
spacecmd softwarechannel_regenerateyumcache $i; done</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:10.0pt; font-family:"Courier New""># Waited a few minutes for</span>
<span style="font-size:10.0pt; font-family:"Courier New"">data to regenerate</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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 style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p 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:10.0pt">yum clean all</span></code><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">If this doesn’t work, I would have to say that you’ve got something else wrong somewhere else.</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Good luck.</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com]
<b>On Behalf Of </b>Daryl Rose<br>
<b>Sent:</b> Wednesday, December 14, 2016 5:58 PM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span></p>
</div>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
 </p>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri","sans-serif"; color:black">Hello everyone,</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<i><span style="font-family:"Calibri","sans-serif"; color:black">Error: failed to retrieve repodata/primary.xml.gz from rhel-6-server-rpms</span></i><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<i><span style="font-family:"Calibri","sans-serif"; color:black">error was [Errno -1] Metadata file does not match checksum</span></i><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">If I issue the "yum repolist" command, I only see "0" for packages. </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">So, this issue is larger that what I initially thought. Anyone have any thoughts or idea's?</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">Daryl</span></p>
<div>
<div align="center" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black">
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
</div>
<div>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><i><span style="font-family:"Calibri","sans-serif"; color:black">Bad id for repo: logstash 5.x, byte =   8</span></i><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">OLD:</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">/var/cache/rhn/reposync/centos-7-extra</span></p>
<blockquote style="margin-left:30.0pt; margin-right:0in">
<blockquote style="margin-left:30.0pt; margin-right:0in">
<blockquote style="margin-left:30.0pt; margin-right:0in">
<blockquote style="margin-left:30.0pt; margin-right:0in">
<p><span style="font-family:"Calibri","sans-serif"; color:black">/centos-7-server-rpms</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">/centos-7-updae</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">/centos_7_channel</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">/centos_7_plus</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">NEW: </span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">/var/cache/rhn/reposync/centos_7_centosplus_x86_64_</span></p>
</div>
<blockquote style="margin-left:30.0pt; margin-right:0in">
<blockquote style="margin-left:30.0pt; margin-right:0in">
<blockquote style="margin-left:30.0pt; margin-right:0in">
<blockquote style="margin-left:30.0pt; margin-right:0in">
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">/centos_7_extras_x86_64_</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">/centos_7_os_x86_64_</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">/centos_7_updates_x86_64_</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Is that a SW v2.3 vs. v2.6 change?  
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Thanks</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Daryl</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<div>
<div align="center" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black">
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
</div>
<div>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri","sans-serif"; color:black">More questions:</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">When I run "spacewalk-repo-sync --channel=rhel-6-server-rpms",  I get the error:</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><i><span style="font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black"></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"><br>
What creates the content in "/var/cache/rhn/reposync/content_dist_rhel_server_6_$releasever_$basearch_os"?
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; 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>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; 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>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Thanks</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Daryl</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<div>
<div align="center" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black">
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
</div>
<div>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri","sans-serif"; color:black">Quick update.</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">Thanks</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">Daryl</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<div>
<div align="center" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black">
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
</div>
<div>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri","sans-serif"; color:black">Robert,</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Thank you</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Daryl</span></p>
</div>
<div>
<div align="center" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black">
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
</div>
<div>
<div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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>
<div align="center" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">
<hr size="2" width="100%" align="center">
</span></div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">Von:
</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black"><a href="mailto:darylrose@outlook.com" style="color: blue; text-decoration: underline;">Daryl Rose</a></span><span style="font-family:"Calibri","sans-serif"; color:black"><br>
</span><b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">Gesendet:
</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">‎06.‎12.‎2016 17:26</span><span style="font-family:"Calibri","sans-serif"; color:black"><br>
</span><b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">An:
</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black"><br>
</span><b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">Betreff:
</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">Re: [Spacewalk-list] RHEL 6.x repository not syncing from parentchannel</span><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
</div>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri","sans-serif"; color:black">I decided to try the sync from the command line.  This time I received an error:</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><i><span style="font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black"></span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">The path came out of the redhat.repo 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>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Any suggestions?</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Thank you.</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">Daryl</span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<div>
<div align="center" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black">
</span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
</div>
<div>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">This is what I see in the reposync log:</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<i><span style="font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black"></span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<i><span style="font-family:"Calibri","sans-serif"; color:black">2016/12/05 14:49:42 -05:00 Sync of channel started.</span></i><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<i><span style="font-family:"Calibri","sans-serif"; color:black">2016/12/05 14:49:42 -05:00 Repo URL: https:<rhel 6 rpm channel></span></i><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<i><span style="font-family:"Calibri","sans-serif"; 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","sans-serif"; color:black"></span></p>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">Any thoughts?</span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p><span style="font-family:"Calibri","sans-serif"; color:black">Daryl</span></p>
<p><span style="font-family:"Calibri","sans-serif"; 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>
</body>
</html>