Hi Guillaume,<div><br></div><div>Can you send us $ONE_LOCATION/var/config</div><div>and the output of:</div><div>find $ONE_LOCATION -type d -printf "%u %g %M %p\n"</div><div><br></div><div>Regards,</div><div>Jaime<br>
<br><div class="gmail_quote">On Fri, Mar 25, 2011 at 12:08 PM, Guillaume GENS <span dir="ltr"><<a href="mailto:guillaume.gens@cnam.fr">guillaume.gens@cnam.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
small up<br>
<br>
nobody help me ?<br>
nobody had a installation problem with kvm on ubuntu 10.04 ?<br>
<br>
---<br>
<font color="#888888">Guillaume GENS<br>
</font><div><div></div><div class="h5"><br>
<br>
On Wed, Mar 23, 2011 at 11:33 AM, Guillaume GENS <<a href="mailto:guillaume.gens@cnam.fr">guillaume.gens@cnam.fr</a>> wrote:<br>
> hi<br>
><br>
> I've got a problem deployment about ttylinux image in my Opennebula<br>
> infrastruture (self-contained installation). I think It's a permission<br>
> problem between libvirt and his qemu driver, I tried many solution but<br>
> i can't resolve it.<br>
><br>
> in /srv/cloud/one/var/14/vm.log:<br>
> Wed Mar 23 11:08:10 2011 [VMM][I]: Generating deployment file:<br>
> /srv/cloud/one/var/14/deployment.0<br>
> Wed Mar 23 11:08:40 2011 [VMM][I]: Command execution fail: 'if [ -x<br>
> "/srv/cloud/one/var/remotes/vmm/kvm/deploy" ]; then<br>
> /srv/cloud/one/var/remotes/vmm/kvm/deploy<br>
> /srv/cloud/one/var/images/14/images/deployment.0; else<br>
> exit 42; fi'<br>
> Wed Mar 23 11:08:40 2011 [VMM][I]: STDERR follows.<br>
> Wed Mar 23 11:08:40 2011 [VMM][I]: error: Failed to create domain from<br>
> /srv/cloud/one/var/images/14/images/deployment.0<br>
> Wed Mar 23 11:08:40 2011 [VMM][I]: error: cannot set ownership on<br>
> /srv/cloud/one/var/images/14/images/disk.0: No such file or directory<br>
> Wed Mar 23 11:08:40 2011 [VMM][I]: ExitCode: 255<br>
> Wed Mar 23 11:08:40 2011 [VMM][E]: Error deploying virtual machine:<br>
> error: Failed to create domain from<br>
> /srv/cloud/one/var/images/14/images/deployment.0<br>
> Wed Mar 23 11:08:41 2011 [DiM][I]: New VM state is FAILED<br>
><br>
><br>
> in : /var/log/libvirt/qemu/one-14.log<br>
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin<br>
> /usr/bin/kvm -S -M pc-0.12 -cpu qemu32 -enable-kvm -m 64 -smp 1 -name<br>
> one-14 -uuid 279a251a-e841-f910-68d3-0ebe89d6bff9 -nographic -chardev<br>
> socket,id=monitor,path=/var/lib/libvirt/qemu/one-14.monitor,server,nowait<br>
> -monitor chardev:monitor -no-acpi -boot c -drive<br>
> file=/srv/cloud/one/var/images/14/images/disk.0,if=ide,index=0,boot=on,format=raw<br>
> -drive file=/srv/cloud/one/var/images/14/images/disk.1,if=ide,media=cdrom,index=2,format=raw<br>
> -net nic,macaddr=54:52:a3:ad:e7:15,vlan=0,name=nic.0 -net<br>
> tap,fd=33,vlan=0,name=tap.0 -serial none -parallel none -usb<br>
> libvir: QEMU error : cannot set ownership on<br>
> /srv/cloud/one/var/images/14/images/disk.0: No such file or directory<br>
><br>
> in /etc/group :<br>
> kvm:x:115:oneadmin<br>
> libvirtd:x:116:guigui,oneadmin<br>
> cloud:x:9000:<br>
><br>
> oneadmin@frontend:~$ id<br>
> uid=9000(oneadmin) gid=9000(cloud) groups=115(kvm),116(libvirtd),9000(cloud)<br>
><br>
><br>
> in /etc/libvirt/libvirtd.conf :<br>
> unix_sock_group = "libvirtd"<br>
> unix_sock_ro_perms = "0777"<br>
> unix_sock_rw_perms = "0777"<br>
><br>
><br>
> in /etc/libvirt/qemu.conf :<br>
> user = "oneadmin"<br>
> group = "libvirtd"<br>
><br>
><br>
> thanks ahead<br>
><br>
> PS: the download wget<br>
> <a href="http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz" target="_blank">http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz</a><br>
> always restart past 97%. you've got a problem of EndOfFile in your<br>
> repository.<br>
><br>
> ---<br>
> Guillaume GENS<br>
><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br></div><br clear="all"><br>-- <br>Jaime Melis, Cloud Technology Engineer/Researcher<br>Major Contributor<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>