[one-users] Problem deploying VMs with AppMarket Images

Daniel Molina dmolina at opennebula.org
Fri Jan 17 09:37:34 PST 2014


Hi,


On 15 January 2014 14:28, Renzo Chavez <renzo.chavez at gmail.com> wrote:

> We have an OpenNebula 4.4 running with 3 KVM Hypervisors and a NFS
> storage.    All is working fine in our opennebula.
>
> 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)
>
> 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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *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 Tue Jan 14
> 16:34:15 2014 [VMM][I]: error: Failed to create domain from
> /var/lib/one//datastores/0/60/deployment.16 Tue Jan 14 16:34:15 2014
> [VMM][I]: error: internal error: cannot load AppArmor profile
> 'libvirt-42e19361-1638-4e0f-a4df-c5f55bafd9ac' Tue Jan 14 16:34:15 2014
> [VMM][E]: Could not create domain from
> /var/lib/one//datastores/0/60/deployment.16 Tue Jan 14 16:34:15 2014
> [VMM][I]: ExitCode: 255 Tue Jan 14 16:34:15 2014 [VMM][I]: Failed to
> execute virtualization driver operation: deploy. 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 Tue Jan 14 16:34:15 2014
> [DiM][I]: New VM state is FAILED Tue Jan 14 16:34:15 2014 [DiM][I]: New VM
> state is CLEANUP. Tue Jan 14 16:34:15 2014 [HKM][I]: Success executing
> Hook: on_failure_recreate: . Tue Jan 14 16:34:17 2014 [DiM][I]: New VM
> state is PENDING*
>
>
>
>
> What could be wrong?   I think could be related jut to appmarket, because
> deploying VMs without appmarket is working fine.
>


It looks like the problem is related to AppArmor, please check the apparmor
logs and /var/log/libvirt/qemu for more information.

Cheers

-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140117/004d3c70/attachment-0002.htm>


More information about the Users mailing list