As I mentioned recently, I have installed Opennebula and KVM on my local host (Ubuntu 10.4) for some testing purposes.
After instantiating a new VM, it was going through pend, prolog, boot but then suddenly FAIL with the following error in the oned.log file:
“/var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/2/deployment.0 localhost 2 localhost”
I fixed the problem in this way:
- sudo vim /etc/libvirt/qemu.conf (it can be with oneadmin user or any sudo enabled user)
- change: user = “oneadmin”—>user=”root” and group = “oneadmin”–>group = “root”
- save and exit the file.
- Restart libvirt: sudo service libvirt-bin stop and then sudo service libvirt-bin start
- stop/start opennebula: one stop then one start
Now, it should work fine.
Hope this helps…