[one-users] Re : Re : Re : VM creation failure

Javier Fontan jfontan at opennebula.org
Fri Jun 1 02:53:45 PDT 2012


Unfortunately I have not tried ubuntu 11.

On Fri, Jun 1, 2012 at 11:38 AM, yangui sami <yangui.sami at yahoo.fr> wrote:
> Hi,
>
> Thank you for your response.
> We use ubuntu V11.4
> We don't have /etc/apparmor.d/local/usr.sbin.libvirtd but only
> /etc/apparmor.d/usr.sbin.libvirtd
> However, we made the changes as you said but it does not work.
> Can you suggest to us something else? Thanks.
> ________________________________
> De : Javier Fontan <jfontan at opennebula.org>
> À : yangui sami <yangui.sami at yahoo.fr>
> Cc : Carlos Martín Sánchez <cmartin at opennebula.org>; users
> <users at lists.opennebula.org>
> Envoyé le : Jeudi 31 mai 2012 23h25
> Objet : Re: [one-users] Re : Re : VM creation failure
>
> Recent versions of Ubuntu (12.04) changed the configuration files for
> apparmor. In these versions the file you need to change is
> /etc/apparmor.d/local/usr.sbin.libvirtd and it should contain:
>
> /var/lib/one/** lrwk,
>
> Tell me if this works for you
>
> On Thu, May 31, 2012 at 4:40 PM, yangui sami <yangui.sami at yahoo.fr> wrote:
>> Hi,
>>
>> Thank you for your answer.
>> I'm trying to follow these configuration steps but
>> /etc/apparmor.d/libvirt-qemu does not exits!!
>> Have you any idea about this?
>>
>> Best,
>> ________________________________
>> De : Carlos Martín Sánchez <cmartin at opennebula.org>
>> À : yangui sami <yangui.sami at yahoo.fr>
>> Cc : users <users at lists.opennebula.org>
>> Envoyé le : Jeudi 31 mai 2012 16h31
>> Objet : Re: [one-users] Re : VM creation failure
>>
>> Hi,
>>
>> Did you follow these configuration steps?
>> http://opennebula.org/documentation:rel3.4:kvmg#configuration
>>
>> Regards
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - The Open-source Solution for Data Center Virtualization
>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
>>
>>
>>
>> On Thu, May 31, 2012 at 4:20 PM, yangui sami <yangui.sami at yahoo.fr> wrote:
>>
>> Thanks for your response.
>> The answer is Yes, /var/lib/one//datastores/0 has write access for
>> oneadmin
>> use.
>>
>> Best,
>> ________________________________
>> De : Olivier Sallou <olivier.sallou at irisa.fr>
>> À : open nebula <users at lists.opennebula.org>
>> Envoyé le : Jeudi 31 mai 2012 16h05
>> Objet : Re: [one-users] VM creation failure
>>
>>
>>
>> Le 5/31/12 3:31 PM, yangui sami a écrit :
>>
>> Hi all,
>> We installed OpenNebulla 3.4.1.
>> When I create a new Virtual Machine it goes to the host node and attempts
>> to
>> Boot, then it passes to FAILED status.
>> The Error shown with sunstone is:
>>
>> Thu May 31 14:37:31 2012 [LCM][I]: New VM state is BOOT
>> Thu May 31 14:37:31 2012 [VMM][I]: Generating deployment file:
>> /var/lib/one/46/deployment.0
>> Thu May 31 14:37:33 2012 [VMM][I]: ExitCode: 0
>> Thu May 31 14:37:33 2012 [VMM][I]: Successfully execute network driver
>> operation: pre.
>> Thu May 31 14:38:03 2012 [VMM][I]: Command execution fail: cat << EOT |
>> /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/46/deployment.0 ip@
>> 46 157.159.110.194
>> Thu May 31 14:38:03 2012 [VMM][I]: error: Failed to create domain from
>> /var/lib/one//datastores/0/46/deployment.0
>> Thu May 31 14:38:03 2012 [VMM][I]: error: cannot set ownership on
>> /var/lib/one//datastores/0/46/disk.0: No such file or directory
>> Thu May 31 14:38:03 2012 [VMM][E]: Could not create domain from
>> /var/lib/one//datastores/0/46/deployment.0
>> Thu May 31 14:38:03 2012 [VMM][I]: ExitCode: 255
>> Thu May 31 14:38:03 2012 [VMM][I]: Failed to execute virtualization driver
>> operation: deploy.
>> Thu May 31 14:38:03 2012 [VMM][E]: Error deploying virtual machine: Could
>> not create domain from /var/lib/one//datastores/0/46/deployment.0
>> Thu May 31 14:38:04 2012 [DiM][I]: New VM state is FAILED
>>
>> in the host side, the  /var/log/libvirt/qemu/one-46.log contains:
>> libvir: QEMU error: cannot set ownership on
>> /var/lib/one//datastores/0/46/disk.0: No such file or directory.
>>
>> Does any one have any idea to resolve this problem?
>>
>> Does directory ( /var/lib/one//datastores/0) has write access for oneadmin
>> user?
>>
>> Best regards;
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> --
>> Olivier Sallou
>> IRISA / University of Rennes 1
>> Campus de Beaulieu, 35000 RENNES - FRANCE
>> Tel: 02.99.84.71.95
>>
>> gpg key id: 4096R/326D8438  (keyring.debian.org)
>> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
>



-- 
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