<div dir="ltr">Hi Javier, <div><br></div><div>I got the URI from a registered VM using the zypper lr --uri command.  Should I grab it from somewhere else or modify it in anyway?</div><div><br></div><div>If I choose 'sync now' in the channel in spacewalk console, there are no errors and it says the sync completes in 2 seconds.</div><div><br></div><div>Attempting to sync from cli, /usr/bin/spacewalk-repo-sync --channel <span style="color:rgb(80,0,80);font-size:12.8px">sles12-sp2-pool --type yum is when I receive the error:</span></div><div><span style="color:rgb(80,0,80);font-size:12.8px"><br></span></div><div><div><font color="#500050"><span style="font-size:12.8px">12:57:32 ERROR: failure: repodata/repomd.xml from SUSE_Products_SLE-SERVER_12-SP2_x86_64_product_api_key: [Errno 256] No more mirrors to try.</span></font></div><div><font color="#500050"><span style="font-size:12.8px"><a href="https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP2/x86_64/product?api_key/repodata/repomd.xml">https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP2/x86_64/product?api_key/repodata/repomd.xml</a>: [Errno -1] Error importing repomd.xml for SUSE_Products_SLE-SERVER_12-SP2_x86_64_product_api_key: Damaged repomd.xml file</span></font></div><div style="color:rgb(80,0,80);font-size:12.8px"><br></div></div><div style="color:rgb(80,0,80);font-size:12.8px">Thank you, </div><div style="color:rgb(80,0,80);font-size:12.8px"><br></div><div style="color:rgb(80,0,80);font-size:12.8px">James </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 10:34 AM, Flores, Javier (D4\INF\IT ID) <span dir="ltr"><<a href="mailto:Javier.Flores@gmz.migros.ch" target="_blank">Javier.Flores@gmz.migros.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE-CH" link="blue" vlink="purple">
<div class="m_-3055369841957563032WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Hi James,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">I have Spacewalk 2.6 running on CentOS since December and syncing SLES 12 channels works.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">How did you get the URI with the long key? Did you register a VM directly to Suse and copied the URL from the zypper repos of that VM?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">The only issue I had after upgrading to Spacewalk 2.6 was this:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="https://www.redhat.com/archives/spacewalk-list/2016-December/msg00012.html" target="_blank">https://www.redhat.com/<wbr>archives/spacewalk-list/2016-<wbr>December/msg00012.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Javier<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.<wbr>com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-<wbr>bounces@redhat.com</a>]
<b>Im Auftrag von </b>James Miller<br>
<b>Gesendet:</b> Freitag, 17. Februar 2017 15:50<br>
<b>An:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Betreff:</b> [Spacewalk-list] Spacewalk and SLES12 repo sync<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hello, <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Has anyone been able to successfully sync SLES12 repo's in Spacewalk 2.6 (running on Centos 7)?  I'm attempting to use the URI from command  zypper lr --uri for each repository, but end up with errors.  Long key replaced with _api_key below.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">09:40:26 ==============================<wbr>========<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">09:40:26 | Channel: sles12-sp2-pool<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">09:40:26 ==============================<wbr>========<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">09:40:26 Sync of channel started.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">09:40:26 Repo URL: <a href="https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP2/x86_64/product?_api_key" target="_blank">
https://updates.suse.com/SUSE/<wbr>Products/SLE-SERVER/12-SP2/<wbr>x86_64/product?_api_key</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">09:40:29 ERROR: failure: repodata/repomd.xml from SUSE_Products_SLE-SERVER_12-<wbr>SP2_x86_64_product_api_key_: [Errno 256] No more mirrors to try.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP2/x86_64/product?_api_key/repodata/repomd.xml" target="_blank">https://updates.suse.com/SUSE/<wbr>Products/SLE-SERVER/12-SP2/<wbr>x86_64/product?_api_key/<wbr>repodata/repomd.xml</a>: [Errno -1] Error importing
 repomd.xml for SUSE_Products_SLE-SERVER_12-<wbr>SP2_x86_64_product_api_key_: Damaged repomd.xml file<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">09:40:29 Sync of channel completed in 0:00:03.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks, <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">James<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

<br>______________________________<wbr>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/spacewalk-<wbr>list</a><br></blockquote></div><br></div>