Thanks for the response Tomas. 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.
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! Could not retrieve action item from server <RetryServer for {spacewalk.fqdn}/XMLRPC> Error code: 1While running 'queue.get': caught exceptions.TypeError : cannot marshal None unless allow_none is enabled Any ideas? Can provide the full dump if necessary. > > > If I remember well, this message is displayed, when spacewalk-koan isn't > found. It needs to be in one of the channels the system is currently > subscribed to or in any child channel (of the current base ch.) the server > can > be subscribed to - in that case the server would be subscribed to such a > child > channel automatically. > > Last time I just created a child channel with spacewalk-koan packages and > it > worked for me. > > > No, the API creates cobbler system record for you. > > The other option would be to try it over WebUI. > > Regards, > Tomas > On 27 January 2012 10:18, Tomas Lestach <tlest...@redhat.com> wrote: > On Thursday 26 of January 2012 23:21:43 Peter Purvis wrote: > > I'm attempting to create a new virtual system using the following xmlrpc > > command in ruby: > > > > spacewalk.call("system.provisionVirtualGuest",token, {kvm-host-id}, " > > test.example.com" ,"CentOS-5-5-x86_64-kvm") > > > > I get the following error: > > > > Could not find the needed Spacewalk provisioning packages given this > > system's current base channel and desired target channel: {0} > > > If I remember well, this message is displayed, when spacewalk-koan isn't > found. It needs to be in one of the channels the system is currently > subscribed to or in any child channel (of the current base ch.) the server > can > be subscribed to - in that case the server would be subscribed to such a > child > channel automatically. > > Last time I just created a child channel with spacewalk-koan packages and > it > worked for me. > > > > > The base channel and the target channel have both koan and spacewalk-koan > > in the repo now that I have rhnpush'ed them in. > > > > a. Do I need this system to be in the cobbler database or in spacewalk > > before it can be provisioned? > > No, the API creates cobbler system record for you. > > The other option would be to try it over WebUI. > > Regards, > Tomas > -- > Tomas Lestach > RHN Satellite Engineering, Red Hat > > > If so, how can I do that for a brand new > > system, all I can find is system.createSystemRecord which requires the > > systemID of an existing spacewalk system, not something I have in this > > instance. > > b. Is there something I'm missing here? Can I not just throw a new system > > at spacewalk with a guestname only? If so, what is the process to add a > > system to spacewalk and have it provisioned on a virtual host. > > > > Thanks for any help! > >
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list