Hi, You need to set either the KERNEL or the BOOTLOADER attribute in your VM template [1]; take a look at the error message:
Fri Oct 21 15:07:39 2011 [VMM][E]: No kernel or bootloader defined and no default provided. Fri Oct 21 15:07:39 2011 [VMM][E]: deploy_action, error generating deployment file: /var/lib/one/5/deployment.0 If I recall correctly, for a windows guest you need to use the hvmloader kernel. Regards. [1] http://opennebula.org/documentation:rel3.0:template -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org 2011/10/21 Clément Berthelot <ment...@gmail.com> > Hi guys, > > I have trouble creating a Windows XP VM with OnpenNebula 2.2. Here is the > VM Template: > NAME = vm1 > CPU = 1 > MEMORY = 512 > OS = [boot=hd] > DISK = [ source="/var/lib/one/images/winxp/disk1.raw ], clone=yes, > target=hda, readonly=no ] > NIC = [ network = "Public Network" ] > GRAPHICS = [ type="vnc", listen= "127.0.0.1", port="5" ] > > Disk1.raw is an hard drive I copied from a Xen VM with Windows XP on it. It > works perfectly as I managed to create others Xen VM from this disk, just > copying it. When i add the image in OpenNebula, I have the following error > (log): > > > ------------------------------------------------------------------------------------ > Fri Oct 21 15:01:41 2011 [DiM][I]: New VM state is ACTIVE. > Fri Oct 21 15:01:41 2011 [LCM][I]: New VM state is PROLOG. > Fri Oct 21 15:01:41 2011 [VM][I]: Virtual Machine has no context > Fri Oct 21 15:07:39 2011 [TM][I]: tm_clone.sh: > linux-i39e:/var/lib/one/images/winxp/disk1.raw 10.1.1.1: > /var/lib/one//5/images/disk.0 > Fri Oct 21 15:07:39 2011 [TM][I]: tm_clone.sh: DST: > /var/lib/one//5/images/disk.0 > Fri Oct 21 15:07:39 2011 [TM][I]: tm_clone.sh: Creating directory > /var/lib/one//5/images > Fri Oct 21 15:07:39 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh > 10.1.1.1 mkdir -p /var/lib/one//5/images". > Fri Oct 21 15:07:39 2011 [TM][I]: tm_clone.sh: Cloning > linux-i39e:/var/lib/one/images/winxp/disk1.raw > Fri Oct 21 15:07:39 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/scp > linux-i39e:/var/lib/one/images/winxp/disk1.raw 10.1.1.1: > /var/lib/one//5/images/disk.0". > Fri Oct 21 15:07:39 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh > 10.1.1.1 chmod a+rw /var/lib/one//5/images/disk.0". > Fri Oct 21 15:07:39 2011 [LCM][I]: New VM state is BOOT > Fri Oct 21 15:07:39 2011 [VMM][I]: Generating deployment file: > /var/lib/one/5/deployment.0 > Fri Oct 21 15:07:39 2011 [VMM][E]: No kernel or bootloader defined and no > default provided. > Fri Oct 21 15:07:39 2011 [VMM][E]: deploy_action, error generating > deployment file: /var/lib/one/5/deployment.0 > Fri Oct 21 15:07:39 2011 [DiM][I]: New VM state is FAILED > Fri Oct 21 15:07:40 2011 [TM][W]: Ignored: LOG - 5 tm_delete.sh: Deleting > /var/lib/one//5/images > > Fri Oct 21 15:07:40 2011 [TM][W]: Ignored: LOG - 5 tm_delete.sh: Executed > "/usr/bin/ssh 10.1.1.1 rm -rf /var/lib/one//5/images". > > Fri Oct 21 15:07:40 2011 [TM][W]: Ignored: TRANSFER SUCCESS 5 - > > Fri Oct 21 15:09:19 2011 [DiM][I]: New VM state is DONE. > Fri Oct 21 15:09:20 2011 [HKM][I]: Command execution fail: > /usr/share/one/hooks/image.rb 5 > Fri Oct 21 15:09:20 2011 [HKM][I]: STDERR follows. > Fri Oct 21 15:09:20 2011 [HKM][I]: ExitCode: 255 > > ------------------------------------------------------------------------------------ > > Everything on my FrontEnd is working. My node running the Xen Hypervisor > was successfully linked on the frontend, and I can monitor it using the > onehost list command. Am I missing something here ? Why it's not booting ? > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org