In case this is useful for anyone else. I forgot to answer to the mailing list.
---------- Forwarded message ---------- From: Javier Fontan <jfon...@opennebula.org> Date: Mon, May 21, 2012 at 11:25 AM Subject: Re: [one-users] Failing after boot To: Mohsen Amini <mohsen.am...@gmail.com> Here's the error: libvir: QEMU error : cannot set ownership on /vmlinuz: Permission denied Usually for KVM VMs you don't need to specify kernel or initial ramdisk. If you really need to set those place and point to a directory where oneadmin (or whatever user qemu/kvm is running) has permissions to modify files. I would go for taking out kernel/initrd parameters if you don't really need them or know why those are needed. On Sat, May 19, 2012 at 4:01 AM, Mohsen Amini <mohsen.am...@gmail.com> wrote: > > Thank you Javier for your response, > > I had looked at the libvirt/kvm log you mentioned. It is pretty much > referring to the same thing. > This is the content of the log file: > ================= > LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin > /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 3 -smp 1 -name one-2 -uuid > e1a4168f-b3c5-1a10-244a-9240559f74f5 -nographic -chardev > socket,id=monitor,path=/var/lib/libvirt/qemu/one-2.monitor,server,nowait > -monitor chardev:monitor -boot c -kernel /vmlinuz -initrd /initrd.img -append > root=/dev/sda1 -drive > file=/var/lib/one//datastores/0/2/disk.0,if=ide,index=0,boot=on,format=raw > -drive file=/var/lib/one//datastores/0/2/disk.1,if=ide,index=3,format=raw > -drive > file=/var/lib/one//datastores/0/2/disk.2,if=ide,media=cdrom,index=1,format=raw > -net nic,macaddr=02:00:3e:01:01:03,vlan=0,name=nic.0 -net > tap,fd=38,vlan=0,name=tap.0 -serial none -parallel none -usb > libvir: QEMU error : cannot set ownership on /vmlinuz: Permission denied > ================= > I would be pleased if you can help me on that. > Regards, > -------- > Mohsen Amini Salehi > PhD Student > Room 5.30A (CLOUDS Lab), > ICT building, > Department of Computer Science and Software Engineering, > Melbourne University, > > > > On Sat, May 19, 2012 at 1:19 AM, Javier Fontan <jfon...@opennebula.org> wrote: >> >> You can get more information on the problem from libvirt/kvm logs. >> They should be located at >> >> /var/log/libvirt/qemu/one-1.log >> >> On Fri, May 18, 2012 at 12:39 PM, Mohsen Amini <mohsen.am...@gmail.com> >> wrote: >> > Hi everybody, >> > >> > I have installed ONE+KVM. >> > >> > When I request VMs in ONE, the VM is failed after booting step with the >> > following error in the log: >> > >> > Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy >> > /var/lib/one//datastores/0/1/deployment.0 localhost 1 localhost >> > >> > >> > I've also attached the log file. >> > >> > Can any one helps in this regard. >> > >> > >> > Thanks, >> > -------- >> > Mohsen >> > >> > _______________________________________________ >> > Users mailing list >> > Users@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 | jfon...@opennebula.org | @OpenNebula > > -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org