[one-users] vm creation fails
Javier Fontan
jfontan at opennebula.org
Wed Nov 21 03:41:39 PST 2012
As far as I know, libvirt in ubuntu needs AppArmor enabled. Does that
error in the log file appears before or after disabling AppArmor?
You should take a look at:
http://opennebula.org/documentation:rel3.8:kvmg#kvm_configuration
and
http://libvirt.org/drvqemu.html#securitysvirtaa
On Tue, Nov 20, 2012 at 1:57 PM, inferno <onrefni at gmail.com> wrote:
> Hi, one-users. I got a new problem with vm creation.
>
> 50 2012 [DiM][I]: New VM state is ACTIVE.
> Tue Nov 20 14:29:50 2012 [LCM][I]: New VM state is PROLOG.
> Tue Nov 20 14:29:50 2012 [VM][I]: Virtual Machine has no context
> Tue Nov 20 14:30:07 2012 [TM][I]: clone: Cloning
> nebula:/var/lib/one/datastores/1/49c7e1be167fba2cee26d3e0bc2cce1a in
> /var/lib/one/datastores/0/22/disk.0
> Tue Nov 20 14:30:07 2012 [TM][I]: ExitCode: 0
> Tue Nov 20 14:30:07 2012 [LCM][I]: New VM state is BOOT
> Tue Nov 20 14:30:07 2012 [VMM][I]: Generating deployment file:
> /var/lib/one/22/deployment.0
> Tue Nov 20 14:30:13 2012 [VMM][I]: ExitCode: 0
> Tue Nov 20 14:30:13 2012 [VMM][I]: Successfully execute network driver
> operation: pre.
> Tue Nov 20 14:30:13 2012 [VMM][I]: Command execution fail: cat << EOT |
> /var/tmp/one/vmm/kvm/deploy /var/lib/one/datastores/0/22/deployment.0
> 172.16.40.171 22 172.16.40.171
> Tue Nov 20 14:30:13 2012 [VMM][I]: error: Failed to create domain from
> /var/lib/one/datastores/0/22/deployment.0
> Tue Nov 20 14:30:13 2012 [VMM][I]: error: internal error cannot load
> AppArmor profile 'libvirt-5dade01b-4f57-26aa-8dd8-5ef2ba7640ea'
> Tue Nov 20 14:30:13 2012 [VMM][E]: Could not create domain from
> /var/lib/one/datastores/0/22/deployment.0
> Tue Nov 20 14:30:13 2012 [VMM][I]: ExitCode: 255
> Tue Nov 20 14:30:13 2012 [VMM][I]: Failed to execute virtualization driver
> operation: deploy.
> Tue Nov 20 14:30:13 2012 [VMM][E]: Error deploying virtual machine: Could
> not create domain from /var/lib/one/datastores/0/22/deployment.0
> Tue Nov 20 14:30:14 2012 [DiM][I]: New VM state is FAILED
>
> /datastores$ ls -l
> total 0
> drwxrwxr-x 5 oneadmin oneadmin 33 Nov 20 14:29 0
> drwxrwxr-x 2 oneadmin oneadmin 6 Nov 16 12:00 1
> drwxrwxr-x 2 oneadmin oneadmin 6 Nov 16 12:48 3
>
>
>
> Tried to stop/teardown apparmor, but the problem persists.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
More information about the Users
mailing list