[one-users] CAN DEPLOY A VM ON OPENNEBULA.

Alexandre JOSEPH lists at alexandrejoseph.com
Thu May 13 00:55:13 PDT 2010


Hello,

Just comment out the line "Defaults requiretty" in /etc/sudoers and it
should work.

Cheers,
A.

On 05/13/2010 09:43 AM, GIANG NGUYENVAN wrote:
> Hello.
> I am new to opennebula, and I tried to do an example VM + network on
> http://opennebula.org/documentation:rel1.4:vmg  but when i deploy the Vm
> the the remote host, the VM STT become FAILED. In the vm_log file, I saw
> something on log file
> 
> Thu May 13 14:42:31 2010 [InM][I]: Monitoring host 172.29.70.92 (2)
> Thu May 13 14:42:33 2010 [InM][I]: Command execution fail: 'mkdir -p
> /tmp/one-im/; cat >
> /tmp/one-im//one_im-2c4f5af6ab23d17ead072a6bdc3ba750; if [ "x$?" != "x0"
> ]; then exit -1; fi; chmod +x
> /tmp/one-im//one_im-2c4f5af6ab23d17ead072a6bdc3ba750;
> /tmp/one-im//one_im-2c4f5af6ab23d17ead072a6bdc3ba750'
> Thu May 13 14:42:33 2010 [InM][I]: STDERR follows.
> Thu May 13 14:42:33 2010 [InM][I]: sudo: sorry, you must have a tty to
> run sudo
> Thu May 13 14:42:33 2010 [InM][I]: sudo: sorry, you must have a tty to
> run sudo
> Thu May 13 14:42:33 2010 [InM][I]:
> /tmp/one-im//one_im-2c4f5af6ab23d17ead072a6bdc3ba750:70: undefined
> method `-' for nil:NilClass (NoMethodError)
> Thu May 13 14:42:33 2010 [InM][I]: ExitCode: 1
> Thu May 13 14:42:33 2010 [InM][D]: Host 2 successfully monitored.
> 
> This is configuration:
> 
>     DEBUG_LEVEL=3
>     HM_MAD=EXECUTABLE=one_hm
>     HOST_MONITORING_INTERVAL=60
>     IM_MAD=ARGUMENTS=im_xen/im_xen.conf,EXECUTABLE=one_im_ssh,NAME=im_xen
>     IM_MAD=ARGUMENTS=im_kvm/im_kvm.conf,EXECUTABLE=one_im_ssh,NAME=im_kvm
>     MAC_PREFIX=00:03
>     MANAGER_TIMER=30
>     NETWORK_SIZE=254
>     PORT=2633
>     TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
>     VM_DIR=/srv/cloud/one/var
>    
> VM_MAD=DEFAULT=vmm_xen/vmm_xen.conf,EXECUTABLE=one_vmm_xen,NAME=vmm_xen,TYPE=xen
>    
> VM_MAD=DEFAULT=vmm_kvm/vmm_kvm.conf,EXECUTABLE=one_vmm_kvm,NAME=vmm_kvm,TYPE=kvm
>     VM_POLLING_INTERVAL=60
> 
> Anyone please help me, I got stuck in this error for 2 weeks :(
> Thanks all.
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100513/11d09285/attachment-0003.pgp>


More information about the Users mailing list