Can you check libvirt logs of host.<br>Generally the below message comes when there is address already in use(vnc port). <br>error: monitor socket did not show up.: Connection refused<br>If change the vncport and try.<br><br>
<div class="gmail_quote">On Thu, Nov 18, 2010 at 2:15 PM, Ruben Diez <span dir="ltr"><<a href="mailto:rdiez@cesga.es">rdiez@cesga.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Try to comment the "GRAPHICS " stuff.... Do it works for this case??<br>
<br>
Regards<br>
<br>
Luca Lorenzini escribió:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards,<br>Upendra.M<br>