I've some problems to create the exact vm template for any distribution different from Ubuntu. I want to try OpenSuse for my vm's images but or i get status failed [1] o if I delete the KERNEL variable in the template I get "No bootable device". the image isnt corrupted, infact i can use it using kvm from console (kvm -hda /public/images/osuse.qcow2 -m 1024).<br>
Some suggestions?<br><br>PS: It's possible to add in the website some tested and working templates?<br><br><br>[1] ~~~~~~~~~~~ vm.log ~~~~~~~~~~~~~~~~~~~~~<br><br>Wed Nov 17 17:29:15 2010 [VMM][I]: Generating deployment file: /var/lib/one/26/deployment.0<br>
Wed Nov 17 17:29:47 2010 [VMM][I]: Command execution fail: /tmp/one/vmm/kvm/deploy /var/lib/one//26/images/deployment.0<br>Wed Nov 17 17:29:47 2010 [VMM][I]: STDERR follows.<br>Wed Nov 17 17:29:47 2010 [VMM][I]: error: Failed to create domain from /var/lib/one//26/images/deployment.0<br>
Wed Nov 17 17:29:47 2010 [VMM][I]: error: monitor socket did not show up.: Connection refused<br>Wed Nov 17 17:29:47 2010 [VMM][I]: ExitCode: 255<br>Wed Nov 17 17:29:47 2010 [VMM][E]: Error deploying virtual machine<br>Wed Nov 17 17:29:48 2010 [DiM][I]: New VM state is FAILED<br>
<br>~~~~~~~~~~~ vm template ~~~~~~~~~~~~~~~~~~~~~<br><br>NAME = osuse test<br>MEMORY =1024<br>CPU=1<br><br>OS = [<br> BOOT ="hd",<br> KERNEL ="/vmlinuz", # i made a link on / pointing at /boot/"kernel-file"<br>
INITRD ="/initrd", #i made a link on / pointing at /boot/"initrd-image-file"<br> ROOT ="sda2" #mount execution on the vm states "/dev/sda2 on / type ext4"<br>]<br><br>
DISK = [<br> SOURCE = "/public/images/osuse.qcow2",<br> TARGET = "sda",<br> CLONE = "no",<br> SAVE = "no",<br> DRIVER = "qcow2"<br>]<br><br>
<br>INPUT = [ type = "tablet", bus = "usb" ]<br>GRAPHICS = [TYPE = "vnc", LISTEN = "localhost"]<br><br>FEATURES=[ acpi="no" ]<br><br><br>
~~~~~~~~~~~ generated deployment ~~~~~~~~~~~~~~~~~~~~~<br><br><br><domain type='kvm'><br> <name>one-26</name><br> <memory>524288</memory><br> <os><br> <type>hvm</type><br>
<kernel>/vmlinuz</kernel><br> <initrd>/initrd</initrd><br> <cmdline>root=/dev/sda2 </cmdline><br> <boot dev='hd'/><br> </os><br> <devices><br>
<emulator>/usr/bin/kvm</emulator><br> <disk type='file' device='disk'><br> <source file='/var/lib/one//26/images/disk.0'/><br> <target dev='sda'/><br>
</disk><br> <graphics type='vnc' listen='localhost' port='5926' /><br> <input type='tablet' bus='usb'/><br> </devices><br></domain><br>
<br>