[one-users] Error while trying to deploy virtual machine

Javier Fontan jfontan at gmail.com
Thu Feb 25 04:13:10 PST 2010


Hello,

Can you check that root can access
/home/oneadmin/one/var/10/images/disk.0 in the execution host? Maybe
oneadmin home permissions don't let roo user access it (if it is
shared by nfs it is a common problem for home directories).

Bye

On Wed, Feb 24, 2010 at 8:42 PM, Chintana Wilamuna <chintanaw at gmail.com> wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list