[one-users] Error while trying to deploy virtual machine
Chintana Wilamuna
chintanaw at gmail.com
Wed Feb 24 11:42:57 PST 2010
Hi,
I'm trying to run OpenNebula on Fedora 12 and have done a self
contained installation inside /home/oneadmin/one. I've added my local
machine as a node. oneadmin user is configured with password-less SSH
access. I'm using vmm_kvm and tm_ssh. Libvirtd is listening on the
default TCP port. I've disabled TCP authentication by setting
auth_tcp="none" in /etc/libvirt/libvirtd.conf. I've changed
LIBVIRT_DEFAULT_URI in $ONE_LOCATION/vmm_kvm/vmm_kvmrc to
qemu+tcp:///system. And when I'm logged in as oneadmin I can run virsh
--connect qemu+tcp:///system without receiving an authentication
failed error.
When I'm deploying a virtual machine I'm seeing the following error in oned.log,
[VMM][D]: Message received: LOG - 10 error: Failed to create domain
from /home/oneadmin/one/var/10/images/deployment.0
[VMM][D]: Message received: LOG - 10 error: monitor socket did not
show up.: No such file or directory
Libvirtd shows the following error,
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/kvm -S -M pc-0.11
-m 512 -smp 1 -name one-10 -uuid 2dd71d81-aca0-9d1c-8e27-5fb7ea3558bb
-nographic -monitor
unix:/var/lib/libvirt/qemu/one-10.monitor,server,nowait -boot c
-kernel /boot/vmlinuz-2.6.31.12-174.2.22.fc12.x86_64 -drive
file=/home/oneadmin/one/var/10/images/disk.0,if=scsi,index=0,boot=on
-net nic,macaddr=00:03:c0:a8:7a:31,vlan=0,name=nic.0 -net
tap,fd=20,vlan=0,name=tap.0 -serial none -parallel none -usb
qemu: could not open disk image
/home/oneadmin/one/var/10/images/disk.0: Permission denied
I've allowed execution of kvm through PolicyKit and seeing the
following message in /var/log/messages after changing the log level to
debug in libvirtd,
info : remoteDispatchAuthPolkit:3172 : Policy allowed action
org.libvirt.unix.manage from pid 3824, uid 501
info : qemudDispatchSignalEvent:366 : Received unexpected signal 17
Has anyone come across this error? Anything I've missed? Highly
appreciate any pointers to get passed this.
Thanks in advance,
Bye,
-Chintana
--
Blog: http://engwar.com/
Photos: http://flickr.com/photos/chintana
More information about the Users
mailing list