<span style>Thanks for the response Tomas.</span><div style><br></div><div style>Realised it was talking about the virtual host rather than the guest, added the spacewalk-koan and koan packages to the appropriate repository and it works.</div>
<div style><br></div><div style>My next issue is the command is working, a package installation is completed but for the installation itself rhn_check shows the following and my mailbox is getting spammed heavily!</div><div style>
<br></div><div style><div>    Could not retrieve action item from server <RetryServer for {spacewalk.fqdn}/XMLRPC></div><div>    Error code: 1While running 'queue.get': caught</div><div>    exceptions.TypeError : cannot marshal None unless allow_none is enabled</div>
</div><div style><br></div><div style>Any ideas? Can provide the full dump if necessary.<br></div><div class="yj6qo ajU" style><div id=":1f0" class="ajR" tabindex="0" style="background-color:rgb(241,241,241);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(221,221,221);border-right-color:rgb(221,221,221);border-bottom-color:rgb(221,221,221);border-left-color:rgb(221,221,221);clear:both;line-height:6px;outline-style:none;outline-width:initial;outline-color:initial;width:20px">
<img class="ajT" src="images/cleardot.gif" style="background-image: url(https://ssl.gstatic.com/ui/v1/icons/mail/ellipsis.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 8px; opacity: 0.3; width: 20px; background-position: initial initial; background-repeat: no-repeat no-repeat; "></div>
</div><div class="adL" style><br></div><div class="adL" style><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im" style="color:rgb(80,0,80)"><div><br><br><br></div>If I remember well, this message is displayed, when spacewalk-koan isn't<br>found. It needs to be in one of the channels the system is currently<br>subscribed to or in any child channel (of the current base ch.) the server can<br>
be subscribed to - in that case the server would be subscribed to such a child<br>channel automatically.<br><br>Last time I just created a child channel with spacewalk-koan packages and it<br>worked for me.<br><div><br><br>
</div></div><div class="im" style="color:rgb(80,0,80)">No, the API creates cobbler system record for you.<br><br>The other option would be to try it over WebUI.<br><br>Regards,<br>Tomas</div></blockquote></div></div><br><br>
<div class="gmail_quote">On 27 January 2012 10:18, Tomas Lestach <span dir="ltr"><<a href="mailto:tlestach@redhat.com">tlestach@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thursday 26 of January 2012 23:21:43 Peter Purvis wrote:<br>
> I'm attempting to create a new virtual system using the following xmlrpc<br>
> command in ruby:<br>
><br>
>     spacewalk.call("system.provisionVirtualGuest",token, {kvm-host-id}, "<br>
> <a href="http://test.example.com" target="_blank">test.example.com</a>" ,"CentOS-5-5-x86_64-kvm")<br>
><br>
> I get the following error:<br>
><br>
>      Could not find the needed Spacewalk provisioning packages given this<br>
> system's current base channel and desired target channel: {0}<br>
<br>
<br>
</div>If I remember well, this message is displayed, when spacewalk-koan isn't<br>
found. It needs to be in one of the channels the system is currently<br>
subscribed to or in any child channel (of the current base ch.) the server can<br>
be subscribed to - in that case the server would be subscribed to such a child<br>
channel automatically.<br>
<br>
Last time I just created a child channel with spacewalk-koan packages and it<br>
worked for me.<br>
<div class="im"><br>
><br>
> The base channel and the target channel have both koan and spacewalk-koan<br>
> in the repo now that I have rhnpush'ed them in.<br>
><br>
> a. Do I need this system to be in the cobbler database or in spacewalk<br>
> before it can be provisioned?<br>
<br>
</div>No, the API creates cobbler system record for you.<br>
<br>
The other option would be to try it over WebUI.<br>
<br>
Regards,<br>
Tomas<br>
<span class="HOEnZb"><font color="#888888">--<br>
Tomas Lestach<br>
RHN Satellite Engineering, Red Hat<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> If so, how can I do that for a brand new<br>
> system, all I can find is system.createSystemRecord which requires the<br>
> systemID of an existing spacewalk system, not something I have in this<br>
> instance.<br>
> b. Is there something I'm missing here? Can I not just throw a new system<br>
> at spacewalk with a guestname only? If so, what is the process to add a<br>
> system to spacewalk and have it provisioned on a virtual host.<br>
><br>
> Thanks for any help!<br>
<br>
</div></div></blockquote></div><br>