Hi,<div><br></div><div>From the error message you pasted, it looks like the vmm_kvm driver crashed.</div><div><br></div><div>Can you check the first lines from oned.log and look for these messages?</div><div><br></div><div>
<div><font face="'courier new', monospace">Tue Dec 20 06:42:30 2011 [VMM][I]: Loading Virtual Machine Manager drivers.</font></div><div><font face="'courier new', monospace">Tue Dec 20 06:42:30 2011 [VMM][I]: Loading driver: vmm_kvm (KVM)</font></div>
<div><font face="'courier new', monospace">Tue Dec 20 06:42:30 2011 [VMM][I]: Driver vmm_kvm loaded.</font></div></div><div><br></div><div><br></div><div>After a quick glimpse at your oned.conf, I see that the 'arguments' line is missing from your kvm VM_MAD. This is the default one:</div>
<div><br></div><div><div><font face="'courier new', monospace">VM_MAD = [</font></div><div><font face="'courier new', monospace"> name = "vmm_kvm",</font></div><div><font face="'courier new', monospace"> executable = "one_vmm_exec",</font></div>
<div><font face="'courier new', monospace"> arguments = "-t 15 -r 0 kvm",</font></div><div><font face="'courier new', monospace"> default = "vmm_exec/vmm_exec_kvm.conf",</font></div>
<div><font face="'courier new', monospace"> type = "kvm" ]</font></div></div><div><br></div><div>Maybe that is causing the driver to fail...</div><div><br></div><div><br></div><div>Regards.</div>
<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span><br>
<br><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 11:52 AM, Stefano Ghio <span dir="ltr"><<a href="mailto:steghio@eng.it">steghio@eng.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Cheers,<br>
<br>
I'm having trouble starting new VM instances with ONE. I get to the
point where the machine state is BOOT, then I get:<br>
<pre><span>[VMM][E]: deploy_action, error getting driver vmm_kvm</span></pre>
and immediately after the machine state is FAILED. I was trying with
the ttylinux.img downloaded from the ONE website but it fails with
any image I give it. Full log is attached as vm_log.txt<br>
<br>
I tried with both FIXED and RANGED virtual networks.<br>
<br>
I'm using ONE front-end on a Ubuntu 11.04 32 bit virtualized with
VirtualBox and I set up the host machine on a dedicated server with
Ubuntu 11.04. I installed ONE 3.0.0 from apt.<br>
<br>
From the Sunstone GUI I can see that ONE sees the host and
successfully talks to it (I can monitor it and I see the image file
transfer happening). Both front-end and host are configured with
user oneadmin in group oneadmin and libvirt and KVM with same UID
and GID.<br>
<br>
I installed on both machines:<br>
<ul>
<li>libvirt-bin 0.8.8</li>
<li>ruby 1.8.7</li>
<li>qemu-kvm 0.14.0</li>
<li>sqlite3 3.7.4</li>
<li>libxml2 2.7.8</li>
<li>expat 2.0.1</li>
<li>curl 7.21.3</li>
</ul>
<p>with the -dev version too where available.<br>
</p>
SSH is configured properly and the server starts with no problems. I
can successfully upload an image but when I try to start it I get
the issue in topic.<br>
<br>
I also downloaded vmcontext.sh 18-05-2011 release from
<a href="http://dev.opennebula.org" target="_blank">dev.opennebula.org</a> and copied it in /etc/init.d but when I run
"update-rc.d vmcontext.sh start 01 S" I get "warning: vmcontext.sh
start runlevel arguments (none) do not match LSB Default-Start
values (S)". But I think this is unrelated.<br>
<br>
front-end and host configuration files (which are exactly the same)
are attached as one_conf.tar.gz. Asterisk * marks the files/folders
missing on the host. I have:<br>
<br>
/etc/libvirt/qemu.conf<br>
/etc/libvirt/libvirtd.conf<br>
/etc/default/libvrit-bin<br>
* /etc/one<br>
* /etc/one/oned.conf<br>
* /etc/one/im_kvm which is empty on the front-end<br>
* /etc/one/vmm_exec/vmm_exec_kvm.conf<br>
* /usr/lib/one/mads<br>
* /var/lib/one/remotes<br>
<br>
even setting the front-end machine as the host does not change
anything, transfer ok then failure when starting.<br>
<br>
I tried everything I could find by searching this problem around but
nothing worked. I could really use your help here, any ideas?<br>
<br>
Thank you,<br>
<br>
have a nice day<span class="HOEnZb"><font color="#888888"><br>
<div>-- <br>
Dr. Stefano Ghio - ENG Engineering Italy<br>
<br>
Website: <a href="http://groglogs.blogspot.com/" target="_blank">http://groglogs.blogspot.com/</a><br>
<br>
<b>If you received this message but you are not its recipient,
please ignore it and warn me, thank you.</b></div>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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></div><br></div>