<div dir="ltr"><div>Hello All,<br><br></div>After much aggravation, I finally came up with the idea to disable apparmor for libvirtd. So I copied the profile from /etc/apparmor.d/usr.sbin.libvirtd to /etc/apparmor.d/disabled/usr.sbin.libvirtd</div>
<div dir="ltr"><br></div><div dir="ltr">And now I am not receiving the error message:</div><div dir="ltr"><br></div><div dir="ltr">>> error: internal error cannot load AppArmor profile 'libvirt-8a633864-4564-a814-8dc8-73bca05476a1'</div>
<div dir="ltr"><br></div><div dir="ltr">While this doesn't seem ideal, OpenNebula doesn't seem to work with the libvirt profile active after changing owner / group that libvirt runs as. Has anyone been able to get libvirt to run with an active apparmor profile under the oneadmin / cloud user / group on an Ubuntu system?</div>
<div dir="ltr"><br></div><div dir="ltr">What I find even more puzzling, even after I cleared out /etc/apparmor.d/libvirt/:</div><div dir="ltr"><br></div><div dir="ltr">>> root@loki:~# ls -lah /etc/apparmor.d/libvirt/</div>
<div dir="ltr">>> total 20K</div><div dir="ltr">>> drwxr-xr-x 2 root root 12K May 12 13:18 .</div><div dir="ltr">>> drwxr-xr-x 10 root root 4.0K May 12 13:22 ..</div><div dir="ltr">>> -rw-r--r-- 1 root root 164 May 12 13:17 TEMPLATE</div>
<div dir="ltr"><br></div><div dir="ltr">after tearing down apparmor the profile for libvirt-39122dda-bedb-4808-fd25-5e68446224ff is still active:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">>> root@loki:~# /etc/init.d/apparmor teardown</div>
<div dir="ltr">>> * Unloading AppArmor profiles [ OK ] </div><div dir="ltr">>> root@loki:~# apparmor_status </div><div dir="ltr">>> apparmor module is loaded.</div><div dir="ltr">>> 1 profiles are loaded.</div>
<div dir="ltr">>> 1 profiles are in enforce mode.</div><div dir="ltr">>> libvirt-39122dda-bedb-4808-fd25-5e68446224ff</div><div dir="ltr">>> 0 profiles are in complain mode.</div><div dir="ltr">>> 1 processes have profiles defined.</div>
<div dir="ltr">>> 1 processes are in enforce mode.</div><div dir="ltr">>> libvirt-39122dda-bedb-4808-fd25-5e68446224ff (12050) </div><div dir="ltr">>> 0 processes are in complain mode.</div><div dir="ltr">
>> 0 processes are unconfined but have a profile defined</div></div><div class="gmail_extra"><br>All that said, I'm still having trouble attaching a disk. The good news is I get the same "invalid argument" error when attaching a volatile disk or a persistent disk, however, the error prevents the VM from booting:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">>> Sun May 12 13:29:14 2013 [DiM][I]: New VM state is ACTIVE.</div><div class="gmail_extra">>> Sun May 12 13:29:15 2013 [LCM][I]: New VM state is PROLOG.</div>
<div class="gmail_extra">>> Sun May 12 13:29:29 2013 [LCM][E]: monitor_done_action, VM in a wrong state</div><div class="gmail_extra">>> Sun May 12 13:30:28 2013 [TM][I]: clone: Cloning loki:/var/lib/one/datastores/103/4a657983e37df7e79b59110748f58ce8 in /var/lib/one/datastores/0/98/disk.0</div>
<div class="gmail_extra">>> Sun May 12 13:30:28 2013 [TM][I]: ExitCode: 0</div><div class="gmail_extra">>> Sun May 12 13:31:00 2013 [TM][I]: mkimage: Making filesystem of 5120M and type ext4 at loki:/var/lib/one//datastores/0/98/disk.1</div>
<div class="gmail_extra">>> Sun May 12 13:31:00 2013 [TM][I]: ExitCode: 0</div><div class="gmail_extra">>> Sun May 12 13:31:02 2013 [TM][I]: mkimage: Making filesystem of 2048M and type swap at loki:/var/lib/one//datastores/0/98/disk.2</div>
<div class="gmail_extra">>> Sun May 12 13:31:02 2013 [TM][I]: ExitCode: 0</div><div class="gmail_extra">>> Sun May 12 13:31:03 2013 [TM][I]: context: Generating context block device at loki:/var/lib/one//datastores/0/98/disk.3</div>
<div class="gmail_extra">>> Sun May 12 13:31:03 2013 [TM][I]: ExitCode: 0</div><div class="gmail_extra">>> Sun May 12 13:31:03 2013 [LCM][I]: New VM state is BOOT</div><div class="gmail_extra">>> Sun May 12 13:31:03 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/98/deployment.0</div>
<div class="gmail_extra">>> Sun May 12 13:31:03 2013 [VMM][I]: ExitCode: 0</div><div class="gmail_extra">>> Sun May 12 13:31:03 2013 [VMM][I]: Successfully execute network driver operation: pre.</div><div class="gmail_extra">
>> Sun May 12 13:31:07 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/98/deployment.0 loki 98 loki</div><div class="gmail_extra">>> Sun May 12 13:31:07 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/98/deployment.0</div>
<div class="gmail_extra">>> Sun May 12 13:31:07 2013 [VMM][I]: error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/98/disk.1,if=none,id=drive-ide0-1-0,format=qcow2,cache=none: could not open disk image /var/lib/one//datastores/0/98/disk.1: Invalid argument</div>
<div class="gmail_extra">>> Sun May 12 13:31:07 2013 [VMM][I]: </div><div class="gmail_extra">>> Sun May 12 13:31:07 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/98/deployment.0</div>
<div class="gmail_extra">>> Sun May 12 13:31:07 2013 [VMM][I]: ExitCode: 255</div><div class="gmail_extra">>> Sun May 12 13:31:07 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.</div>
<div class="gmail_extra">>> Sun May 12 13:31:07 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/98/deployment.0</div><div class="gmail_extra">>> Sun May 12 13:31:08 2013 [DiM][I]: New VM state is FAILED</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">What is the invalid argument here? </div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for any suggestions.</div><div class="gmail_extra"><br>
</div><div class="gmail_extra">Best Regards,</div><div class="gmail_extra">Jon A</div></div><div class="gmail_extra"><div class="gmail_extra"><br></div><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 11:40 AM, Jon <span dir="ltr"><<a href="mailto:three18ti@gmail.com" target="_blank">three18ti@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hey All,<br><br></div>So I've just upgraded to 4.0Final, however, I am still experiencing the previous errors Cannot load AppArmor Profile when attempting to use a volatile disk and an invalid argument when attempting to use a datablock as a disk image.<br>
<br></div>Given that this is the the same error I've been plagued with since OpenNebula 3.8, I'm fairly certain there is something wrong with my configuration, but I'm at a loss as to what it could be.<br><br>
</div>Any ideas are greatly appreciated.<br><br></div>thanks,<br></div>Jon A<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 11:51 AM, Jon <span dir="ltr"><<a href="mailto:three18ti@gmail.com" target="_blank">three18ti@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hello Ruben,<br><br></div>Thanks for this. I actually remember performing this step several months ago when I installed 3.8, however, I did not perform this step when I installed 4.0.<br>
<br></div>However, it seems that something is still not quite right. I am now unable to deploy any VM with a failure message:<br><br>>> <span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">error: internal error cannot load AppArmor profile 'libvirt-76e12b0b-7d3c-c71a-46f0-bfe44917aedb'</span><br>
<br></div><div>And a relevant entry in /var/log/libvirt/libvirtd.log (followed by a cascading series of errors)<br><br>>> 2013-05-06 17:06:39.665+0000: 1577: error : virCommandWait:2314 : internal error Child process (/usr/lib/libvirt/virt-aa-helper -p 0 -c -u libvirt-76e12b0b-7d3c-c71a-46f0-bfe44917aedb) status unexpected: exit status 1<br>
>> 2013-05-06 17:06:39.665+0000: 1577: error : AppArmorGenSecurityLabel:446 : internal error cannot load AppArmor profile 'libvirt-76e12b0b-7d3c-c71a-46f0-bfe44917aedb'<br></div><div><br><br></div>The docs say I need to add the following line to /etc/apparmor.d/libvirt-qemu
, I think this mean I need to add the following line to /etc/apparmor.d/abstractions/libvirt-qemu since this is the file that is loaded by the libvirt/TEMPLATE<br><br>>> owner /var/lib/one/** rw,<br><br></div>After adding this entry to /etc/apparmor.d/abstractions/libvirt-qemu and restarting apparmor my vm fails to start with the same error message.<br>
<br>So I found an old mailing list article about the same issue:<br><br>>> <a href="http://lists.opennebula.org/pipermail/users-opennebula.org/2012-June/019427.html" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/2012-June/019427.html</a><br>
<br></div>This thread also indicates that the following line is required in /etc/apparmor.d/usr.sbin.libvirtd<br><br>>> /var/lib/one/** lrwk,<br><br></div>After doing this, I am still getting the error.<br><br></div>
The last reply in this thread says the final solution was killing the apparmor process and restarting the apparmor service. <br><br>I performed a teardown, which didn't help so I performed a full system reboot.<br><br>
</div>After the reboot, I still receive the error "internal error cannot load AppArmor profile"<div><div><div><div><br></div><div>It appears that this issue only occurs when I am attempting to use volitile disks.<br>
<br></div><div>However, when I attempt to attach a blank, persistent datablock to a virtual machine, I get the error:<br><br>>> <span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/95/disk.0,if=none,id=drive-ide0-1-0,format=qcow2,cache=none: could not open disk image /var/lib/one//datastores/0/95/disk.0: Invalid argument<br>
</span><br>I'm not sure if this is related to disabling dynamic ownership and setting the ownership and group to oneadmin / cloud or if it is an entierly different error altogether.<br><br></div><div>I will say that I am still able to clone an imported disk image from the marketplace, and it appears to launch and run successfully.<br>
<br></div><div>Thanks for all your help.<br></div><div>Jon A<br></div><div><br></div><div>Logs are attached below<br></div><div><br></div><div>Failed VM with volatile disk image:<br></div><div><div><br><span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:04:42 2013 [DiM][I]: New VM state is ACTIVE.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:04:42 2013 [LCM][I]: New VM state is PROLOG.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:05 2013 [TM][I]: clone: Cloning loki:/var/lib/one/datastores/103/4a657983e37df7e79b59110748f58ce8 in /var/lib/one/datastores/0/91/disk.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:05 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:33 2013 [TM][I]: mkimage: Making filesystem of 5M and type ext4 at loki:/var/lib/one//datastores/0/91/disk.1</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:33 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:35 2013 [TM][I]: mkimage: Making filesystem of 2048M and type swap at loki:/var/lib/one//datastores/0/91/disk.2</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:35 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:36 2013 [TM][I]: context: Generating context block device at loki:/var/lib/one//datastores/0/91/disk.3</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:36 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:37 2013 [LCM][I]: New VM state is BOOT</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:37 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/91/deployment.6</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:37 2013 [VMM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:37 2013 [VMM][I]: Successfully execute network driver operation: pre.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:39 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/91/deployment.6 loki 91 loki</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:39 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/91/deployment.6</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:39 2013 [VMM][I]: error: internal error cannot load AppArmor profile 'libvirt-76e12b0b-7d3c-c71a-46f0-bfe44917aedb'</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(255,141,129);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Mon May 6 11:06:39 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/91/deployment.6</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:39 2013 [VMM][I]: ExitCode: 255</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:39 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(255,141,129);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Mon May 6 11:06:39 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/91/deployment.6</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:06:40 2013 [DiM][I]: New VM state is FAILED<br>
<br></span></div><div>Error log from VM with attached datablock:<br><br><span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:40:18 2013 [DiM][I]: New VM state is ACTIVE.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:40:19 2013 [LCM][I]: New VM state is PROLOG.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:40:20 2013 [TM][I]: ln: Linking /var/lib/one/datastores/1/27ce5578d5cc9748cc44c8fedb75758b in loki:/var/lib/one//datastores/0/95/disk.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:40:20 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:35 2013 [TM][I]: clone: Cloning loki:/var/lib/one/datastores/103/4a657983e37df7e79b59110748f58ce8 in /var/lib/one/datastores/0/95/disk.1</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:35 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:37 2013 [TM][I]: context: Generating context block device at loki:/var/lib/one//datastores/0/95/disk.2</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:37 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:37 2013 [LCM][I]: New VM state is BOOT</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:37 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/95/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:38 2013 [VMM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:38 2013 [VMM][I]: Successfully execute network driver operation: pre.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:40 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/95/deployment.0 loki 95 loki</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:40 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/95/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:40 2013 [VMM][I]: error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/95/disk.0,if=none,id=drive-ide0-1-0,format=qcow2,cache=none: could not open disk image /var/lib/one//datastores/0/95/disk.0: Invalid argument</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:40 2013 [VMM][I]:<span> </span></span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(255,141,129);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Mon May 6 11:41:40 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/95/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:40 2013 [VMM][I]: ExitCode: 255</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:40 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(255,141,129);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Mon May 6 11:41:40 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/95/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Mon May 6 11:41:41 2013 [DiM][I]: New VM state is FAILED</span><br>
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none"></span></div>
</div></div></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 5:23 AM, Ruben S. Montero <span dir="ltr"><<a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Have you tried to set the KVM configuration /etc/libvirt/qemu.conf as in<div><br></div><div><div>$ grep -vE '^($|#)' /etc/libvirt/qemu.conf</div>
<div>user = "oneadmin"</div><div>group = "oneadmin"</div>
<div>dynamic_ownership = 0</div></div><div><br></div><div><br></div><div>more details here:</div><div><br></div><div><a href="http://opennebula.org/documentation:rel3.8:kvmg#configuration" target="_blank">http://opennebula.org/documentation:rel3.8:kvmg#configuration</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sun, May 5, 2013 at 9:40 PM, Jon <span dir="ltr"><<a href="mailto:three18ti@gmail.com" target="_blank">three18ti@gmail.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><div dir="ltr"><div><div><div><div><div>Hello,<br><br>I am trying to create a virtual machine by installing the OS from an iso to a qemu image.<br>
<br></div>However, whenever the disk image is created, it is created with a user and group of oneadmin:cloud, however, once the VM attempts to start it is changed to libvirt-qemu:kvm then root:root, and I get an entry in the log:<br>
<br>>> <span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/87/disk.1,if=none,id=drive-ide0-1-0,format=qcow2,cache=none: could not open disk image<br>
<br></span></div>However, this disk image -does- exist, although with incorrect permissions:<br><br>>> root@loki:~# ls -lah /var/lib/one//datastores/0/87<br>>> -rw-r--r-- 1 root root 5.1G Apr 27 19:24 disk.1<br>
<br></div>What is changing the ownership of my disk images?<br><br></div>Thanks,<br></div>Jon A<br><div><div><br><br>The full VM log is below:<br><br><span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:23:31 2013 [DiM][I]: New VM state is ACTIVE.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:23:31 2013 [LCM][I]: New VM state is PROLOG.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:29 2013 [TM][I]: clone: Cloning loki:/var/lib/one/datastores/103/4a657983e37df7e79b59110748f58ce8 in /var/lib/one/datastores/0/87/disk.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:29 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:51 2013 [TM][I]: mkimage: Making filesystem of 5120M and type ext4 at loki:/var/lib/one//datastores/0/87/disk.1</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:51 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:52 2013 [TM][I]: context: Generating context block device at loki:/var/lib/one//datastores/0/87/disk.2</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:52 2013 [TM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:53 2013 [LCM][I]: New VM state is BOOT</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:53 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/87/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:53 2013 [VMM][I]: ExitCode: 0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:53 2013 [VMM][I]: Successfully execute network driver operation: pre.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:56 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/87/deployment.0 loki 87 loki</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:56 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/87/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:56 2013 [VMM][I]: error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/87/disk.1,if=none,id=drive-ide0-1-0,format=qcow2,cache=none: could not open disk image /var/lib/one//datastores/0/87/disk.1: Invalid argument</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:56 2013 [VMM][I]:<span> </span></span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(255,141,129);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Sat Apr 27 19:24:56 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/87/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:56 2013 [VMM][I]: ExitCode: 255</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:56 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(255,141,129);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Sat Apr 27 19:24:56 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/87/deployment.0</span><br style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(242,242,242);font-family:'Open Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:28px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(111,111,111);display:inline!important;float:none">Sat Apr 27 19:24:57 2013 [DiM][I]: New VM state is FAILED</span><br>
</div></div></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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>