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

yangui sami yangui.sami at yahoo.fr
Thu May 31 07:40:43 PDT 2012


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120531/096b3e26/attachment-0003.htm>


More information about the Users mailing list