[one-users] Cannot copy Deployment File when "onevm deploy"

Javier Fontan jfontan at gmail.com
Mon Apr 19 09:43:59 PDT 2010


Hello,

It seems that you are using tm_nfs drivers, is that correct? If that
is the case it seems that the directory /srv/cloud/one//var is not
shared to the execution nodes. Check that the execution nodes hace
this dir mounted by nfs so they can see what the frontend node had put
there.

Bye

On Mon, Apr 19, 2010 at 8:41 AM, GIANG NGUYENVAN <mvnli_giang at yahoo.com> 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, it seems
> unsuccessfully because of the deployment files.
>
> Thu Apr 15 10:47:37 2010 [DiM][I]: New VM state is ACTIVE.
> Thu Apr 15 10:47:38 2010 [LCM][I]: New VM state is PROLOG.
> Thu Apr 15 10:47:38 2010 [VM][I]: Virtual Machine has no context
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh:
> nguyenlinh:/srv/cloud/images/ttylinux.img
> 172.29.70.92:/srv/cloud/one/var/1/images/disk.0
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh: DST:
> /srv/cloud/one//var/1/images/disk.0
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh: Creating directory
> /srv/cloud/one//var/1/images
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p
> /srv/cloud/one//var/1/images".
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w
> /srv/cloud/one//var/1/images".
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh: Cloning
> /srv/cloud/images/ttylinux.img
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh: Executed "cp
> /srv/cloud/images/ttylinux.img /srv/cloud/one//var/1/images/disk.0".
> Thu Apr 15 10:47:38 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w
> /srv/cloud/one//var/1/images/disk.0".
> Thu Apr 15 10:47:38 2010 [LCM][I]: New VM state is BOOT
> Thu Apr 15 10:47:38 2010 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/1/deployment.0
> Thu Apr 15 10:47:38 2010 [VMM][I]: Command execution fail: 'cat >
> /srv/cloud/one/var/1/images/deployment.0 && sudo /usr/sbin/xm create
> /srv/cloud/one/var/1/images/deployment.0 && sudo /usr/sbin/xm sched-cred -d
> one-1 -w 26'
> Thu Apr 15 10:47:38 2010 [VMM][I]: STDERR follows.
> Thu Apr 15 10:47:38 2010 [VMM][I]: bash:
> /srv/cloud/one/var/1/images/deployment.0: No such file or directory
> Thu Apr 15 10:47:38 2010 [VMM][I]: ExitCode: 1
> Thu Apr 15 10:47:38 2010 [VMM][E]: Error deploying virtual machine
> Thu Apr 15 10:47:39 2010 [DiM][I]: New VM state is FAILED
> Thu Apr 15 10:47:39 2010 [TM][W]: Ignored: LOG - 1 tm_delete.sh: Deleting
> /srv/cloud/one//var/1/images
>
> Thu Apr 15 10:47:39 2010 [TM][W]: Ignored: LOG - 1 tm_delete.sh: Executed
> "rm -rf /srv/cloud/one//var/1/images".
>
> Thu Apr 15 10:47:39 2010 [TM][W]: Ignored: TRANSFER SUCCESS 1 -
>
> I have already set the $ONE_LOCATION=/srv/cloud/one, and other enviroment
> path. In my oned.conf file, i set the VM_DIR = /srv/cloud/one/var, so I
> don't know that error occur because of my remote host or my Front-end.
> In addtion, my Remote host use Cent OS 5.4, with Xen-kernel, and my
> front-end is Ubuntu 9.04
>
> Anyone please help me, I got stuck in this error for weeks :(
> Thanks all.
> __________________________________________________
> Bạn Có Sử Dụng Yahoo! Không?
> Mệt mỏi vì thư rác? Yahoo! Thư có chương trình bảo vệ chống thư rác hữu hiệu
> nhất trên mạng
> http://vn.mail.yahoo.com
> _______________________________________________
> 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