Hi,
On 15 January 2014 14:28, Renzo Chavez <[email protected]> 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 | [email protected] | @OpenNebula
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
