Rhel channel import to spacewalk can be done using spacewalk-repo-sync. Here is an example.<div><br></div><div>






<p style="margin:0in;font-family:"Courier New";font-size:9.0pt" lang="en-US">spacewalk-repo-sync
--channel rhel-6-server-rpms --url <a href="http://10.0.0.150/mrepo/redhat-6-x86_64/RPMS.updates">http://mrepo.server/mrepo/redhat-6-x86_64/RPMS.</a>os
--type yum</p><div><br></div><div><br></div>Cheers,</div><div>Sam</div><div><span></span><br>On Monday 30 May 2016,  <<a href="mailto:ranjith.pr@accenture.com">ranjith.pr@accenture.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-IN" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">Hi Team,<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">We have successfully created Spacewalk server in Centos server and created channels for Centos OS 6 and 7.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">However, while creating channel  for RHEL through Mrepo , when we creating system id , we are getting below error <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black"></span><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">[root@XXXXX /]# gensystemid -u XXXXXXX-p XXXXX --release=6Server --arch=x86_64 /var/satellite/mrepo/rhel6s-x86_64/rhel-x86_64-server-6-x86_64</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">Traceback (most recent call last):</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">  File "/usr/bin/gensystemid", line 285, in <module></span><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">    main()</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">  File "/usr/bin/gensystemid", line 252, in main</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">    except rpclib.Fault, f:</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:black">AttributeError: 'module' object has no attribute 'Fault'
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
<u></u> <u></u></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm;text-autospace:none">
Could you please help us to resolve this issue . <u></u><u></u></p>
<p class="MsoNormal"><span style="color:#0070c0"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks&Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Ranjith.P.R<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Infrastructure Services,</span><span lang="EN-US">India Delivery Centre<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Accenture Services Pvt Ltd,Bangalore.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Desk: +91 80 41860423|Mobile: +91 8553031355<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="color:black">Upcoming PTO – May 23-25<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#4472c4"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by
 you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of
 internal compliance with Accenture policy. <br>
______________________________________________________________________________________<br>
<br>
<a href="http://www.accenture.com" target="_blank">www.accenture.com</a><br>
</font>
</div>

</blockquote></div><br><br>-- <br><div dir="ltr"><div><div dir="ltr">

<p><b><i><span style="color:gray;font-size:10pt">Cheer</span><span style="color:gray">s,</span></i></b><i><span style="color:gray"></span></i></p>
<p><b><span style="color:gray;font-size:10pt">Sam</span></b></p><p><strong><font color="#38761d" style="background-color:rgb(255,255,255)">LinkedIN: <a href="https://in.linkedin.com/in/samironmallick" target="_blank">https://in.linkedin.com/in/samironmallick</a></font></strong><br><b><i><span style="background:white;color:black;font-family:Arial;font-size:9pt"></span></i></b><span style="font-size:9pt"></span>

</p></div></div></div><br>