<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:14pt"><div><span>Hi,</span></div><div><br><span></span></div><div><span>Thank you for your answer.<br></span></div><div><span>I'm trying to follow these configuration steps but </span> /etc/apparmor.d/libvirt-qemu does not exits!!<br></div><div>Have you any idea about this?</div><div><br></div><div>Best,<br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 14pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Carlos Martín Sánchez <cmartin@opennebula.org><br> <b><span style="font-weight: bold;">À :</span></b> yangui sami <yangui.sami@yahoo.fr> <br><b><span style="font-weight: bold;">Cc :</span></b> users
<users@lists.opennebula.org> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Jeudi 31 mai 2012 16h31<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: [one-users] Re : VM creation failure<br> </font> </div> <br><div id="yiv1012738463">Hi,<div><br></div><div>Did you follow these configuration steps?</div><div><a rel="nofollow" target="_blank" href="http://opennebula.org/documentation:rel3.4:kvmg#configuration">http://opennebula.org/documentation:rel3.4:kvmg#configuration</a></div><div>
<br></div><div>Regards<br clear="all">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial, sans-serif;font-size:13px;"><a rel="nofollow" target="_blank" href="http://www.OpenNebula.org">www.OpenNebula.org</a> | <a rel="nofollow" ymailto="mailto:cmartin@opennebula.org" target="_blank" href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a> | <a rel="nofollow" target="_blank" href="http://twitter.com/opennebula">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial, sans-serif;font-size:13px;"><a rel="nofollow" ymailto="mailto:cmartin@opennebula.org" target="_blank" href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176);"></a></span></div>
<br>
<br><br><div class="yiv1012738463gmail_quote">On Thu, May 31, 2012 at 4:20 PM, yangui sami <span dir="ltr"><<a rel="nofollow" ymailto="mailto:yangui.sami@yahoo.fr" target="_blank" href="mailto:yangui.sami@yahoo.fr">yangui.sami@yahoo.fr</a>></span> wrote:<br><blockquote class="yiv1012738463gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:14pt;font-family:times new roman, new york, times, serif;"><div><span>Thanks for your response.</span></div><div><span>The answer is Yes, </span>/var/lib/one//datastores/0 has write access for
oneadmin use.</div><div><br></div><div>Best,</div><div style="font-family:times new roman, new york, times, serif;font-size:14pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr">
<font face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Olivier Sallou <<a rel="nofollow" ymailto="mailto:olivier.sallou@irisa.fr" target="_blank" href="mailto:olivier.sallou@irisa.fr">olivier.sallou@irisa.fr</a>><br> <b><span style="font-weight:bold;">À :</span></b> open nebula <<a rel="nofollow" ymailto="mailto:users@lists.opennebula.org" target="_blank" href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>> <br>
<b><span style="font-weight:bold;">Envoyé le :</span></b> Jeudi 31 mai 2012 16h05<br> <b><span style="font-weight:bold;">Objet :</span></b> Re: [one-users] VM creation failure<br> </font> </div><div><div class="yiv1012738463h5"> <br><div>
<div>
<br>
<br>
Le 5/31/12 3:31 PM, yangui sami a écrit :
<blockquote type="cite">
<div style="font-size:14pt;font-family:times new roman, new york, times, serif;">
<div>Hi all,<br>
We installed OpenNebulla 3.4.1.<br>
When I create a new Virtual Machine it goes to the host node
and attempts to Boot, then it passes to FAILED status.<br>
The Error shown with sunstone is:<br>
</div>
<pre>Thu May 31 14:37:31 2012 [LCM][I]: New VM state is BOOT
Thu May 31 14:37:31 2012 [VMM][I]: Generating deployment file: /var/lib/one/46/deployment.0
Thu May 31 14:37:33 2012 [VMM][I]: ExitCode: 0
Thu May 31 14:37:33 2012 [VMM][I]: Successfully execute network driver operation: pre.
Thu May 31 14:38:03 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/46/deployment.0 ip@ 46 157.159.110.194
Thu May 31 14:38:03 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/46/deployment.0
Thu May 31 14:38:03 2012 [VMM][I]: error: cannot set ownership on /var/lib/one//datastores/0/46/disk.0: No such file or directory
<span>Thu May 31 14:38:03 2012 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/46/deployment.0</span>
Thu May 31 14:38:03 2012 [VMM][I]: ExitCode: 255
Thu May 31 14:38:03 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
<span>Thu May 31 14:38:03 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/46/deployment.0</span>
Thu May 31 14:38:04 2012 [<span><span>DiM</span></span>][I]: New VM state is FAILED</pre>
in the host side, the /var/log/libvirt/qemu/one-46.log
contains:<br>
libvir: QEMU error: cannot set ownership on
/var/lib/one//datastores/0/46/disk.0: No such file or directory.<br>
<br>
Does any one have any idea to resolve this problem?<br>
<br>
</div>
</blockquote>
Does directory ( /var/lib/one//datastores/0) has write access for
oneadmin user?<br>
<blockquote type="cite">
<div style="font-size:14pt;font-family:times new roman, new york, times, serif;">Best regards;</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a rel="nofollow" ymailto="mailto:Users@lists.opennebula.org" target="_blank" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a rel="nofollow" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre>--
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95
gpg key id: 4096R/326D8438 (<a rel="nofollow" target="_blank" href="http://keyring.debian.org">keyring.debian.org</a>)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
</pre>
</div>
</div><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opennebula.org" target="_blank" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br><a rel="nofollow" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br><br> </div></div></div> </div> </div></div><br>_______________________________________________<br>
Users mailing list<br>
<a rel="nofollow" ymailto="mailto:Users@lists.opennebula.org" target="_blank" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>
</div><br><br> </div> </div> </div></body></html>