[one-users] Error Deploying VM

Tino Vazquez tinova at opennebula.org
Fri Mar 11 02:54:44 PST 2011


Hi,

Did you set the VM_DIR variable in $ONE_LOCATION/etc/oned.conf?

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Fri, Mar 11, 2011 at 8:23 AM, Kyle Jake Plimack
<kplimack at saymedia.com> wrote:
> I'm brand new to OpenNebula and I'm trying to deploy ttylinux provided by
> opennebula.org on a kvm host.  I've configured them with a shared nfs image
> repository, but to use their local storage for vm_dir.  When I try to create
> the vm from a template, it fails... the oned.log follows.   Can someone
> point me in the right direction to debug this?  I've scoured the interwebs
> already..
> Thanks, Kyle Plimack
> ##############################################################################
> Oned.log:
> Thu Mar 10 23:11:06 2011 [DiM][D]: Deploying VM 4
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> oak-dev-nebula001:/var/lib/one/images/ttylinux.img
> oak-dev-vmhost004:/data/cloud/one/var/4/images/disk.0
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> DST: /var/lib/one/4/images/disk.0
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> Creating directory /var/lib/one/4/images
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> Executed "mkdir -p /var/lib/one/4/images".
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> Executed "chmod a+w /var/lib/one/4/images".
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> Cloning /var/lib/one/images/ttylinux.img
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> Executed "cp -r /var/lib/one/images/ttylinux.img
> /var/lib/one/4/images/disk.0".
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_clone.sh:
> Executed "chmod a+rw /var/lib/one/4/images/disk.0".
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: TRANSFER SUCCESS 4 -
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: LOG - 4 Command
> execution fail: 'if [ -x "/var/lib/one/remotes/vmm/kvm/deploy" ]; then
> /var/lib/one/remotes/vmm/kvm/deploy /data/cloud/one/var/4/imag
> es/deployment.0; else                              exit 42; fi'
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: LOG - 4 STDERR follows.
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: LOG - 4 error: Failed
> to create domain from /data/cloud/one/var/4/images/deployment.0
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: LOG - 4 error: unable
> to set user and group to '114:116' on '/data/cloud/one/var/4/images/disk.0':
> No such file or directory
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: LOG - 4 ExitCode: 255
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: DEPLOY FAILURE 4 error:
> Failed to create domain from /data/cloud/one/var/4/images/deployment.0
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: error: unable to set
> user and group to '114:116' on '/data/cloud/one/var/4/images/disk.0': No
> such file or directory
> Thu Mar 10 23:11:06 2011 [VMM][D]: Message received: ExitCode: 255
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_delete.sh:
> Deleting /var/lib/one/4/images
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: LOG - 4 tm_delete.sh:
> Executed "rm -rf /var/lib/one/4/images".
> Thu Mar 10 23:11:06 2011 [TM][D]: Message received: TRANSFER SUCCESS 4 -
> Thu Mar 10 23:11:08 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> ##############################################################################
> ttylinux.template
> NAME    = ttylinux
> CPU     = 1
> MEMORY  = 128
> DISK    = [
>         source          = "/var/lib/one/images/ttylinux.img",
>         target          = "vd",
>         readonly        = "no" ]
> NIC     = [ NETWORK = "Public" ]
> FEATURES        = [acpi="no"]
> ##############################################################################
> I only have one cluster-node set up so far:
> oneadmin at oak-dev-nebula001:~/$ onehost show 5
> HOST 5 INFORMATION
>
> ID                    : 5
> NAME                  : oak-dev-vmhost004
> CLUSTER               : default
> STATE                 : MONITORED
> IM_MAD                : im_kvm
> VM_MAD                : vmm_kvm
> TM_MAD                : tm_nfs
> HOST SHARES
>
> MAX MEM               : 16471536
> USED MEM (REAL)       : 420380
> USED MEM (ALLOCATED)  : 0
> MAX CPU               : 800
> USED CPU (REAL)       : 0
> USED CPU (ALLOCATED)  : 0
> RUNNING VMS           : 0
> MONITORING INFORMATION
>
> ARCH=x86_64
> CPUSPEED=1595
> FREECPU=800.0
> FREEMEMORY=16350472
> HOSTNAME=oak-dev-vmhost004
> HYPERVISOR=kvm
> MODELNAME=Intel(R) Xeon(R) CPU L5310 @ 1.60GHz
> NETRX=0
> NETTX=0
> TOTALCPU=800
> TOTALMEMORY=16471536
> USEDCPU=0.0
> USEDMEMORY=420380
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list