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

GIANG NGUYENVAN mvnli_giang at yahoo.com
Sun Apr 18 23:41:42 PDT 2010


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100419/886d8033/attachment-0002.htm>


More information about the Users mailing list