Can you do the following: 1) sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable 2) sudo /etc/init.d/apparmor restart 3) sudo /etc/init.d/libvirt-bin restart 4) try deploying again
(the name of the daemons may be different) Regards, Jaime On Wed, Jun 20, 2012 at 11:59 AM, Mohamed Mohamed <[email protected]> wrote: > > i disactivated apparmor and the command response is the following: > > $ grep -Ev '^($|#)' /etc/libvirt/qemu.conf > vnc_listen = "0.0.0.0" > user = "oneadmin" > group = "cloud" > dynamic_ownership = 0 > > cheers, > Mohamed > > ________________________________ > De: "Jaime Melis" <[email protected]> > À: "Mohamed Mohamed" <[email protected]> > Cc: "Users OpenNebula" <[email protected]> > Envoyé: Mercredi 20 Juin 2012 11:56:27 > > Objet: Re: [one-users] Failed to create Domain > > Can you also send us: > $ grep -Ev '^($|#)' /etc/libvirt/qemu.conf > > Also, can you disable apparmor, to rule it out? > > PS: please use 'reply all' so everybody can benefit from these emails. > > cheers, > Jaime > > On Wed, Jun 20, 2012 at 11:51 AM, Mohamed Mohamed > <[email protected]> wrote: >> >> The responses for the commands are the following: >> $ lsmod|grep kvm >> kvm_intel 137721 0 >> kvm 415549 1 kvm_intel >> >> $ ls -l /dev/kvm >> crw-rw----+ 1 root kvm 10, 232 juin 20 10:53 /dev/kvm >> >> $ id oneadmin >> uid=115(oneadmin) gid=125(cloud) >> groupes=125(cloud),0(root),6(disk),27(sudo),116(ssh),126(libvirtd),127(kvm) >> >> >> regards, >> Mohamed >> ________________________________ >> De: "Jaime Melis" <[email protected]> >> À: "Mohamed Mohamed" <[email protected]> >> Envoyé: Mercredi 20 Juin 2012 11:44:49 >> >> Objet: Re: [one-users] Failed to create Domain >> >> Also, can you send us the output of the following commands? >> >> $ ls -l /dev/kvm >> $ id oneadmin >> >> >> On Wed, Jun 20, 2012 at 11:43 AM, Jaime Melis <[email protected]> wrote: >>> >>> Do you have the kvm kernel modules? If so, can you reload them and try >>> again? >>> >>> You should see something like: >>> >>> $ lsmod|grep kvm >>> kvm_intel 125275 0 >>> kvm 359932 1 kvm_intel >>> >>> regards, >>> Jaime >>> >>>> Could not access KVM kernel module: Permission denied >>>> failed to initialize KVM: Permission denied >>> >>> >>> >>> >>> -- >>> Jaime Melis >>> Project Engineer >>> OpenNebula - The Open Source Toolkit for Cloud Computing >>> www.OpenNebula.org | [email protected] >> >> >> >> >> -- >> Jaime Melis >> Project Engineer >> OpenNebula - The Open Source Toolkit for Cloud Computing >> www.OpenNebula.org | [email protected] >> > > > > -- > Jaime Melis > Project Engineer > OpenNebula - The Open Source Toolkit for Cloud Computing > www.OpenNebula.org | [email protected] > -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | [email protected] _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
