<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>OpenNebula is running in CentOS 6.3. </div><div><br></div><div>The /var/log/libvirt/qemu/one-9.log file doesn't exist in the host. When I create a virtual machine manually in the host (with virt-manager) a /var/log/libvirtt/qemu/newVM.log file is created, but when the virtual machine is created with OpenNebula, this file doesn't appear...</div><div><br></div><div>The libvirtd.conf contains these lines:</div><div><br></div><div><i>log_level = 1</i></div><div><i>log_filters="1:libvirt 1:util 1:qemu"</i></div><div><i>log_outputs="1:file:/var/log/libvirt/libvirtd.log"</i></div><div><br></div><div><br></div><div>Cheers,</div><div>Virginia.</div><div><br><div><div>El 07/09/2012, a las 15:25, Valentin Bud escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br><br>What OS are you running OpenNebula on and what does /var/log/libvirt/qemu/one-9.log outputs?<br><br>Good Will,<br>v<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 4:06 PM, Virginia Martín-Rubio Pascual <span dir="ltr"><<a href="mailto:virginia.martinrubio@rediris.es" target="_blank">virginia.martinrubio@rediris.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><pre><span style="font-family:Helvetica;white-space:normal">Hi, </span></pre><pre><span style="font-family:Helvetica;white-space:normal"><pre><span style="font-family:Helvetica;white-space:normal">When I try to instantiate a VM template, I obtain this error:</span></pre></span></pre><pre>...</pre><pre>Fri Sep  7 14:48:27 2012 [DiM][I]: New VM state is ACTIVE.
Fri Sep  7 14:48:27 2012 [LCM][I]: New VM state is PROLOG.
Fri Sep  7 14:48:27 2012 [VM][I]: Virtual Machine has no context
Fri Sep  7 14:48:32 2012 [TM][I]: clone: Cloning ../../103/87a4fbf0be08256920937769ee8c8b9e in democrito.admin.rediris.es:/var/lib/one/datastores/0/9/disk.0
Fri Sep  7 14:48:32 2012 [TM][I]: ExitCode: 0
Fri Sep  7 14:51:24 2012 [TM][I]: clone: Cloning ../../104/274b59f9fd0b1c200cead63ad81c5035 in democrito.admin.rediris.es:/var/lib/one/datastores/0/9/disk.1
Fri Sep  7 14:51:24 2012 [TM][I]: ExitCode: 0
Fri Sep  7 14:51:24 2012 [LCM][I]: New VM state is BOOT
Fri Sep  7 14:51:24 2012 [VMM][I]: Generating deployment file: /var/lib/one/9/deployment.8
Fri Sep  7 14:51:25 2012 [VMM][I]: ExitCode: 0
Fri Sep  7 14:51:25 2012 [VMM][I]: Successfully execute network driver operation: pre.
Fri Sep  7 14:51:25 2012 [VMM][I]: Command execution fail: cat << EOT | /var/lib/one/remotes/vmm/kvm/deploy /var/lib/one/datastores/0/9/deployment.8 <a href="http://democrito.admin.rediris.es/" target="_blank">democrito.admin.rediris.es</a> 9 <a href="http://democrito.admin.rediris.es/" target="_blank">democrito.admin.rediris.es</a>
Fri Sep  7 14:51:25 2012 [VMM][I]: error: Failed to create domain from /var/lib/one/datastores/0/9/deployment.8
Fri Sep  7 14:51:25 2012 [VMM][I]: error: An error occurred, but the cause is unknown
<span>Fri Sep  7 14:51:25 2012 [VMM][E]: Could not create domain from /var/lib/one/datastores/0/9/deployment.8</span>
Fri Sep  7 14:51:25 2012 [VMM][I]: ExitCode: 255
Fri Sep  7 14:51:25 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
<span>Fri Sep  7 14:51:25 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one/datastores/0/9/deployment.8</span>
Fri Sep  7 14:51:25 2012 [DiM][I]: New VM state is FAILED</pre><div>I've tried to create the domain manually in the host but I've obtained the same error:</div><div><font face="Monaco"><br></font></div><div><div>
<font face="Monaco">$ virsh -d 0 create /var/lib/one/datastores/0/9/deployment.8 </font></div><div><font face="Monaco">create: file(optdata): /var/lib/one/datastores/0/9/deployment.8</font></div><div><font face="Monaco">error: Failed to create domain from /var/lib/one/datastores/0/9/deployment.8</font></div>
<div><font face="Monaco">error: An error occurred, but the cause is unknown</font></div></div><div><br></div><div>I've looked the libvirtd.log file in the host, but I haven't found any relevant information about the problem (I've changed the log_level to debug)... Does anyone have any idea about what could be the reason of this error?</div>
<div><br></div><div>Thanks in advance.</div><div><br></div><div>Cheers,</div><div>Virginia.</div></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>
</blockquote></div><br></div></body></html>