<div dir="ltr">
<p class="MsoNormal">We have an OpenNebula 4.4 running with 3 KVM Hypervisors and
a NFS storage. All is working fine in our opennebula. </p>
<p class="MsoNormal">The problem happens when we try to deploy a new VM
based in an image created towards our AppMarket services that we have set up. (with the import action)</p>
<p class="MsoNormal">See the logs below, (where 60 is the ID of the new VM).
That start in PROLOG status, then in BOOT (one of the available hosts are selected),
and then CLEANUP and finally it keeps in PENDING status </p>
<p class="MsoNormal"> </p><p class="MsoNormal"><br></p>
<p class="MsoNormal"><i>Tue Jan 14 16:34:15 2014 [VMM][I]: Command execution
fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy
'/var/lib/one//datastores/0/60/deployment.16' 'far01-hvm01.cloud.internal' 60
far01-hvm01.cloud.internal<br>
Tue Jan 14 16:34:15 2014 [VMM][I]: error: Failed to create domain from
/var/lib/one//datastores/0/60/deployment.16<br>
Tue Jan 14 16:34:15 2014 [VMM][I]: error: internal error: cannot load AppArmor
profile 'libvirt-42e19361-1638-4e0f-a4df-c5f55bafd9ac'<br>
<span class="">Tue Jan 14 16:34:15 2014 [VMM][E]: Could not create
domain from /var/lib/one//datastores/0/60/deployment.16</span><br>
Tue Jan 14 16:34:15 2014 [VMM][I]: ExitCode: 255<br>
Tue Jan 14 16:34:15 2014 [VMM][I]: Failed to execute virtualization driver
operation: deploy.<br>
<span class="">Tue Jan 14 16:34:15 2014 [VMM][E]: Error deploying
virtual machine: Could not create domain from
/var/lib/one//datastores/0/60/deployment.16</span><br>
Tue Jan 14 16:34:15 2014 [DiM][I]: New VM state is FAILED<br>
Tue Jan 14 16:34:15 2014 [DiM][I]: New VM state is CLEANUP.<br>
Tue Jan 14 16:34:15 2014 [HKM][I]: Success executing Hook: on_failure_recreate:
. <br>
Tue Jan 14 16:34:17 2014 [DiM][I]: New VM state is PENDING</i></p>
<p class="MsoNormal"> </p><p class="MsoNormal"><br></p><p class="MsoNormal">What could be wrong? I think could be related jut to appmarket, because deploying VMs without appmarket is working fine.</p><p class="MsoNormal">
<br></p><p class="MsoNormal">Thanks in advance for your help.</p><p class="MsoNormal"><br></p><p class="MsoNormal">Att.</p><p class="MsoNormal"><br></p><p class="MsoNormal">Chepar<br></p></div>