On Mon, 21 Jun 2010 13:37:54 +0100, Matt Wallace <lists(a)truthisfreedom.org.uk>
wrote:
Hi all,
For various reasons I'm rewriting a lot of what koan does in Ruby. I
have to use Ruby to provision my virtual machines from cobbler and
shelling out to Koan is not what I want to do.
I've got the system to pull the system definition from cobbler using the
XMLRPC::get_system_for_koan() call and I'm defining and provisioning the
VMs as well as the storage and this works, however they won't PXE boot.
What do you mean by, "won't PXE boot"? Do they not even attempt to PXE
boot, do they attempt and never get a dhcp reply, or are they having
trouble with downloading the kernel and initrd from tftp?
Also, what virt technology are you using?
The VMs are defined by XML and are set to use the network as their
boot
medium, they can receive an IP Address but they do not get a file
provided by cobbler despite the MAC Address matching the definition in
Cobbler.
Which file? The kernel/initrd over tftp or the kickstart over http?
If I use Koan, it works fine, however the XML Files that Koan saves
to
disk only have a HDD boot option, not a network one!
Yes, koan downloads the kernel and initrd and hands it off to
virt-installer, which then boots them with the proper command line
arguments.
Are you going through libvirtd to do provisioning or are you interacting
directly with the virtualization provider?
--
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME