[one-users] TTYLinux ecample: Cannot copy Deployment file.

Tino Vazquez tinova at fdi.ucm.es
Thu Apr 29 02:43:29 PDT 2010


Hi Giang,

I am assuming you are using NFS for storage. Is the  "/srv/cloud/one"
available in the execution nodes (ie, is it exported by the OpenNebula
server, does it get mounted by, for instance, 172.29.70.92, and in
that exact path?).

Regards,

-Tino

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Thu, Apr 15, 2010 at 6:06 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
>
>



More information about the Users mailing list