<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>did you check qemu conf as described here:</div><div><a href="http://opennebula.org/documentation:rel3.4:kvmg#kvm_configuration">http://opennebula.org/documentation:rel3.4:kvmg#kvm_configuration</a></div><div>(had a similar error at the beginning ... )</div><div><br></div><div><br></div><div>Best, Michael</div><div><br><div><div>Am 25.04.2012 um 02:02 schrieb Teik Hooi Beh:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<div><br></div><div>I manage to solve the previous issue by changing "dynamic_ownership = 0". But now I have a new error which is also due to permission denied error:-</div><div><br></div><div><div>Wed Apr 25 00:05:11 2012 [DiM][I]: New VM state is ACTIVE.</div>
<div>Wed Apr 25 00:05:11 2012 [LCM][I]: New VM state is PROLOG.</div><div>Wed Apr 25 00:05:17 2012 [TM][I]: clone: Cloning ../../1/cfb778816ca91644bf82a8222a38f5ae in node01:/srv/cloud/one/var//datastores/0/51/dis</div><div>
k.0</div><div>Wed Apr 25 00:05:17 2012 [TM][I]: ExitCode: 0</div><div>Wed Apr 25 00:05:18 2012 [TM][I]: context: Generating context block device at node01:/srv/cloud/one/var//datastores/0/51/disk.1</div><div>Wed Apr 25 00:05:18 2012 [TM][I]: ExitCode: 0</div>
<div>Wed Apr 25 00:05:18 2012 [LCM][I]: New VM state is BOOT</div><div>Wed Apr 25 00:05:18 2012 [VMM][I]: Generating deployment file: /srv/cloud/one/var/51/deployment.0</div><div>Wed Apr 25 00:05:24 2012 [VMM][I]: ExitCode: 0</div>
<div>Wed Apr 25 00:05:24 2012 [VMM][I]: Successfully execute network driver operation: pre.</div><div>Wed Apr 25 00:05:55 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//datastores/0/51/dep</div>
<div>loyment.0 node01 51 node01</div><div>Wed Apr 25 00:05:55 2012 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//datastores/0/51/deployment.0</div><div>Wed Apr 25 00:05:55 2012 [VMM][I]: <span class="Apple-style-span" style="background-color: rgb(255, 102, 102); ">error: internal error process exited while connecting to monitor: kvm: -drive file=/srv/cloud/one/var//d</span></div>
<div><span class="Apple-style-span" style="background-color:rgb(255,102,102)">atastores/0/51/disk.0,if=none,id=drive-ide0-0-0,format=raw: could not open disk image /srv/cloud/one/var//datastores/0/51/disk.0: Permissio</span></div>
<div><span class="Apple-style-span" style="background-color:rgb(255,102,102)">n denied</span></div><div>Wed Apr 25 00:05:55 2012 [VMM][I]: </div><div>Wed Apr 25 00:05:55 2012 [VMM][E]: Could not create domain from /srv/cloud/one/var//datastores/0/51/deployment.0</div>
<div>Wed Apr 25 00:05:55 2012 [VMM][I]: ExitCode: 255</div><div>Wed Apr 25 00:05:55 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.</div><div>Wed Apr 25 00:05:55 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /srv/cloud/one/var//datastores/0/51/deploy</div>
<div>ment.0</div><div>Wed Apr 25 00:05:55 2012 [DiM][I]: New VM state is FAILED</div><div><br></div><div>I know it is something to relating to libvirt or qemu but just couldn't pin point the fault.</div><div><br></div>
<div>Regards</div><div>Beh</div><div><br></div><br><div class="gmail_quote">2012/4/24 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>Are you using the shared TM driver [1] in your system datastore? If so, please check that the datastore directory is properly exported, and that files created in the front-end have the correct permissions so the oneadmin account in the host can see them.</div>


<div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.4:system_ds" target="_blank">http://opennebula.org/documentation:rel3.4:system_ds</a></div>--<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 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></div>


<br>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sun, Apr 22, 2012 at 6:43 AM, Teik Hooi Beh <span dir="ltr"><<a href="mailto:thbeh@thbeh.com" target="_blank">thbeh@thbeh.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

Hi,<div><br></div><div>I have just started with opennebula and have manage to setup a test lab with 2 servers (following the guide from <a href="http://cloudblab.wordpress.com/" target="_blank">http://cloudblab.wordpress.com/</a>) minus the window image deployment. I have tried to test with ttylinux  using instruction VM sample with Context & Network 3.4 from open nebula web site. </div>



<div><br></div><div>Image was properly registered with rdy state but when I tried to deploy the VM i got the following message:</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13px"><pre style="outline-style:none;outline-width:initial;outline-color:initial">Sun Apr 22 12:32:52 2012 [DiM][I]: New VM state is ACTIVE.
Sun Apr 22 12:32:52 2012 [LCM][I]: New VM state is PROLOG.
Sun Apr 22 12:32:53 2012 [TM][I]: clone: Cloning ../../1/cfb778816ca91644bf82a8222a38f5ae in node01:/srv/cloud/one/var//datastores/0/26/disk.0
Sun Apr 22 12:32:53 2012 [TM][I]: ExitCode: 0
Sun Apr 22 12:32:54 2012 [TM][I]: context: Generating context block device at node01:/srv/cloud/one/var//datastores/0/26/disk.1
Sun Apr 22 12:32:54 2012 [TM][I]: ExitCode: 0
Sun Apr 22 12:32:54 2012 [LCM][I]: New VM state is BOOT
Sun Apr 22 12:32:54 2012 [VMM][I]: Generating deployment file: /srv/cloud/one/var/26/deployment.0
Sun Apr 22 12:32:54 2012 [VMM][I]: ExitCode: 0
Sun Apr 22 12:32:54 2012 [VMM][I]: Successfully execute network driver operation: pre.
Sun Apr 22 12:32:56 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//datastores/0/26/deployment.0 node01 26 node01
Sun Apr 22 12:32:56 2012 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//datastores/0/26/deployment.0
Sun Apr 22 12:32:56 2012 [VMM][I]: error: unable to open disk path /srv/cloud/one/var//datastores/0/26/disk.0: Permission denied
<span>Sun Apr 22 12:32:56 2012 [VMM][E]: Could not create domain from /srv/cloud/one/var//datastores/0/26/deployment.0</span>
Sun Apr 22 12:32:56 2012 [VMM][I]: ExitCode: 255
Sun Apr 22 12:32:56 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
<span>Sun Apr 22 12:32:56 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /srv/cloud/one/var//datastores/0/26/deployment.0</span>
Sun Apr 22 12:32:56 2012 [DiM][I]: New VM state is FAILED
</pre><div>As I am new, i am not sure where to start debugging to find out what is wrong. Any advice?</div><div><br></div><div>Thanks</div><span><font color="#888888"><div>Beh</div></font></span></span></div>


<br></div></div>_______________________________________________<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></div><br></div>
</blockquote></div><br></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Courier; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Courier; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Courier; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Courier; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><br></div></div></div></div></span></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>