[one-users] Failed to create Domain
Mohamed Mohamed
mohamed.mohamed at telecom-sudparis.eu
Wed Jun 20 03:15:57 PDT 2012
i executed these commands, the daemons were the same as you said,
when i deployed the Vms failed again and the error shown in /var/log/libvirt/libvirtd.log is:
2012-06-20 10:09:51.702+0000: 25257: error : virCommandWait:2192 : internal error Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin /etc/default/qemu-kvm -help) status unexpected: exit status 1
best,
Mohamed
----- Mail original -----
De: "Jaime Melis" <jmelis at opennebula.org>
À: "Mohamed Mohamed" <mohamed.mohamed at telecom-sudparis.eu>
Cc: "Users OpenNebula" <users at lists.opennebula.org>
Envoyé: Mercredi 20 Juin 2012 12:05:42
Objet: Re: [one-users] Failed to create Domain
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
<mohamed.mohamed at telecom-sudparis.eu> 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" <jmelis at opennebula.org>
> À: "Mohamed Mohamed" <mohamed.mohamed at telecom-sudparis.eu>
> Cc: "Users OpenNebula" <users at lists.opennebula.org>
> 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 <mohamed.mohamed at telecom-sudparis.eu> 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" <jmelis at opennebula.org>
>> À: "Mohamed Mohamed" <mohamed.mohamed at telecom-sudparis.eu>
>> 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 <jmelis at opennebula.org> 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 | jmelis at opennebula.org
>>
>>
>>
>>
>> --
>> Jaime Melis
>> Project Engineer
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org | jmelis at opennebula.org
>>
>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | jmelis at opennebula.org
>
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
More information about the Users
mailing list