<div dir="ltr">Thanks, i didn't get any problem with the client. My problem is a crash of taskomatic when it tries to create the Packages.gz files. <div style>My Ubuntu client get with apt-spacewalk all the repos but can get any Packages.gz and return some 404 Errors.</div>
<div style>I created 1 empty channel amd64-deb in spacewalk, and it works. Taskomatic creates the packages.gz, The ubuntu client get the information on spacewalk, and the file. But it remains empty and the other metadata are not created.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/16 Anton Pritchard-Meaker <span dir="ltr"><<a href="mailto:anton.pritchard-meaker@kit-digital.com" target="_blank">anton.pritchard-meaker@kit-digital.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’ve used this as part of my patching script:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://spacewalk.redhat.com/documentation/api/1.9/handlers/SystemHandler.html#createPackageProfile" target="_blank">http://spacewalk.redhat.com/documentation/api/1.9/handlers/SystemHandler.html#createPackageProfile</a><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Can get the system ID by name using:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://spacewalk.redhat.com/documentation/api/1.9/handlers/SystemHandler.html#searchByName" target="_blank">http://spacewalk.redhat.com/documentation/api/1.9/handlers/SystemHandler.html#searchByName</a><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hope that helps.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Anton<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>]
<b>On Behalf Of </b>Nick Tailor<br>
<b>Sent:</b> 12 April 2013 15:17<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Created stored profiles via spacewalk cli<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Yes,</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So these machines are already registered to space-walk.
</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">However, everytime I do patch, I create a clone channel. So I also need to create a new stored profile before I use the new channel to update patches
 to do restores in case of issues, to do this everytime one at at time is tedious from the gui.</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is there a cli way to created registered machines stored profiles?</span><span lang="EN-CA"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cheers</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#76b900">Nick Tailor</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56">Senior Linux Systems Administrator</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56">BCLC, 2940 Virtual Way, Vancouver B.C. V5M 0A6</span><span lang="EN-CA"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#76b900">T</span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:navy">
</span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56"><a href="tel:604%C2%A0228%203046" value="+16042283046" target="_blank">604 228 3046</a></span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:navy"> 
</span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#76b900">C</span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:navy">
</span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56"><a href="tel:778%20388%201397" value="+17783881397" target="_blank">778 388 1397</a></span><span lang="EN-CA"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="FR-CA" style="font-size:9.0pt;color:#414b56"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#414b56">Connect with us:</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1f497d"><a href="http://twitter.com/BCLC" target="_blank"><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56">Twitter @BCLC</span></a></span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56">|
</span><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1f497d"><a href="http://twitter.com/BCLCGameSense" target="_blank"><span lang="FR-CA" style="font-size:9.0pt;color:#414b56">Twitter @BCLCGameSense</span></a></span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56">
 | </span><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1f497d"><a href="http://youtube.com/user/BCLCPlayingItRight/videos" target="_blank"><span lang="FR-CA" style="font-size:9.0pt;color:#414b56">YouTube</span></a></span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56">
 | </span><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1f497d"><a href="http://blogs.bclc.com/" target="_blank"><span lang="FR-CA" style="font-size:9.0pt;color:#414b56">Blog</span></a></span><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#414b56">
 | </span><span lang="EN-US" style="font-family:"Arial","sans-serif";color:#1f497d"><a href="http://www.bclc.com/" target="_blank"><span lang="FR-CA" style="font-size:9.0pt;color:#414b56">bclc.com</span></a></span><span lang="EN-CA"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#76b900">Last year, more than $1 billion generated by BCLC gambling activities went back into health care, education and community groups across B.C.</span><span lang="EN-CA"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> [<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">mailto:spacewalk-list-bounces@redhat.com</a>]
<b>On Behalf Of </b>Paul Robert Marino<br>
<b>Sent:</b> April-11-13 3:37 PM<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Created stored profiles via spacewalk cli</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-CA"><br>
Well what do you mean by that?<br>
Do you mean creating a profile for a server that doesn't exist yet or do you mean creating a profile for a server already registered to spacewalk?<br>
Please clarify.<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#999999">-- Sent from my HP Pre3</span><span lang="EN-CA"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Verdana","sans-serif";color:navy"> </span><span lang="EN-CA"><u></u><u></u></span></p>
<div>
<div class="MsoNormal"><span lang="EN-CA" style="font-family:"Verdana","sans-serif";color:navy">
<hr size="2" width="75%" align="left">
</span></div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-CA" style="font-family:"Verdana","sans-serif";color:navy">On Apr 11, 2013 6:03 PM, Nick Tailor <<a href="mailto:HTailor@bclc.com" target="_blank">HTailor@bclc.com</a>> wrote:
</span><span lang="EN-CA"><u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-CA">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">Does anyone know if there is a way to create stored profiles via spacewalk command line?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">I have a bunch of servers to do and doing each one, one by one is a bit tedious.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">Cheers<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#76b900">Nick Tailor</span><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <u></u><u></u></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-CA">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif"">This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you
 have received this email in error, please notify the sender immediately and delete the email.</span><span lang="EN-CA">
<u></u><u></u></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-CA">
<hr size="3" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif"">This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you
 have received this email in error, please notify the sender immediately and delete the email.</span><span lang="EN-CA">
<u></u><u></u></span></p>
</div>
</div>

<br>_______________________________________________<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" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>