[Spacewalk-list] API Call system.provisionVirtualGuest - Spacewalk 1.6

Peter Purvis peter.purvis999 at gmail.com
Thu Jan 26 23:21:43 UTC 2012


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}

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? 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120126/95557797/attachment.htm>


More information about the Spacewalk-list mailing list