[one-users] deploying VM failed

Javier Fontan jfontan at fdi.ucm.es
Mon Apr 27 10:41:56 PDT 2009


Hello,

Try executing that command from the frontend using ssh:

--8<------
$ ssh -n <cluster_host> sudo /usr/sbin/xm create /local/one_images/8/ 
images/deployment.0
------>8--

Perhaps the sudoers file on your cluster node is configured to work  
only when you are logged into the machine with a shell:

--8<------
defaults requiretty
------>8--

If that is the case comment that line and try executing that with ssh  
again, it should work.

Tell us if thess instructions work for you.

Bye


On Apr 27, 2009, at 2:21 PM, Wei Wan wrote:

>     Hi, I am trying to use Ubuntu 9.04 as the Frontend of nebula,and  
> It is really exciting,Thank you for all that you have done.
>     During the deploying process of VMs,I encountered one problem,
>
> ############
> info from oned.conf
> ############
> Mon Apr 27 18:55:31 2009 [DiM][D]: Deploying VM 8
> Mon Apr 27 18:55:31 2009 [TM][D]: Message received: LOG - 8  
> tm_clone.sh: oneserver:/opt/nebula/images/rubisva_1.0.img  
> oneclient1:/local/one_images/8/images/disk.0
>
> Mon Apr 27 18:55:31 2009 [TM][D]: Message received: LOG - 8  
> tm_clone.sh: DST: /local/one_images/8/images/disk.0
>
> Mon Apr 27 18:55:31 2009 [TM][D]: Message received: LOG - 8  
> tm_clone.sh: Creating directory /local/one_images/8/images
>
> Mon Apr 27 18:55:33 2009 [TM][D]: Message received: LOG - 8  
> tm_clone.sh: Executed "ssh oneclient1 mkdir -p /local/one_images/8/ 
> images"
>
> Mon Apr 27 18:55:33 2009 [TM][D]: Message received: LOG - 8  
> tm_clone.sh: Cloning oneserver:/opt/nebula/images/rubisva_1.0.img
>
> ......
> Mon Apr 27 18:56:03 2009 [InM][I]: Monitoring host oneclient1 (2)
> Mon Apr 27 18:56:42 2009 [InM][D]: Host 2 successfully monitored.
> ......
>
> Mon Apr 27 19:00:44 2009 [TM][D]: Message received: LOG - 8  
> tm_clone.sh: Executed "scp oneserver:/opt/nebula/images/ 
> rubisva_1.0.img oneclient1:/local/one_images/8/images/disk.0"
>
> Mon Apr 27 19:00:47 2009 [TM][D]: Message received: LOG - 8  
> tm_clone.sh: Executed "ssh oneclient1 chmod a+w /local/one_images/8/ 
> images/disk.0"
>
> Mon Apr 27 19:00:47 2009 [TM][D]: Message received: TRANSFER SUCCESS  
> 8 -
>
> Mon Apr 27 19:00:47 2009 [VMM][D]: Message received: LOG - 8  
> Command: scp /var/lib/one/8/deployment.0 oneclient1:/local/ 
> one_images/8/images/deployment.0
>
> Mon Apr 27 19:00:49 2009 [VMM][D]: Message received: LOG - 8 Copy  
> success
>
> Mon Apr 27 19:00:49 2009 [VMM][D]: Message received: LOG - 8 Setting  
> credits for the VM
>
> Mon Apr 27 19:00:49 2009 [VMM][D]: Message received: LOG - 8  
> Command: sudo /usr/sbin/xm create /local/one_images/8/images/ 
> deployment.0 \&\& sudo /usr/sbin/xm sched-cred -d one-8 -w 128
>
> Mon Apr 27 19:00:51 2009 [VMM][D]: Message received: DEPLOY FAILURE  
> 8 Unknown error
>
> I thought may be it was a Xen related problem , So ,I executed the  
> following command in the Cluster Node(redhat el 5.0 with xen  
> 3.1.0)and it worked fine with the VM seting up successfully, is  
> there anyone who encountered a similar problem? I would be  
> appreciated for whatever recieving from you.
> /////////////////////////////////////////////////////
> -bash-3.1$ pwd
> /local/one_images/8/images
> -bash-3.1$ sudo /usr/sbin/xm create -c deployment.0
> /////////////////////////////////////////////////////
>
> _______________________________________________
> 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