[one-users] Xen onevm - please give more information

Javier Fontan jfontan at fdi.ucm.es
Tue Jan 13 06:55:27 PST 2009


Hello,

Log files are not telling much information, what version are you using?

The problem seems to be executing transfer scripts. To get more  
information on how it can be crashing you can execute manually the  
scripts this way:

$ bash -xv $ONE_LOCATION/lib/tm_commands/ssh/tm_clone.sh wipro- 
desktop:/home/wipro/vm-image/disk0 10.101.102.41:/opt/VM_DIR/55/images/ 
disk.0

$ bash -xv $ONE_LOCATION/lib/tm_commands/ssh/tm_mkswap.sh 1024  
10.101.102.41:/opt/VM_DIR/55/images/disk.1

Those are the commands executed for the transfer.0 file you have sent  
me. I have just added -xv parameters to bash so it gives more  
information on what is executing. I hope that this will tell us what  
is happening.

Bye



On Jan 12, 2009, at 4:13 PM, marimuthu.balasubramanian at wipro.com wrote:

> Hi,
>
> Find the log files
>
> transfer.0.log
> CLONE wipro-desktop:/home/wipro/vm-image/disk0 10.101.102.41:/opt/ 
> VM_DIR/55/images/disk.0
> MKSWAP 1024 10.101.102.41:/opt/VM_DIR/55/images/disk.1
>
>
> VM.log
>
> Mon Jan 12 18:42:14 2009 [DiM][I]: New VM state is ACTIVE.
> Mon Jan 12 18:42:14 2009 [LCM][I]: New VM state is PROLOG.
> Mon Jan 12 18:42:14 2009 [TM][E]: Error excuting image transfer  
> script: Error message not available
> Mon Jan 12 18:42:14 2009 [DiM][I]: New VM state is FAILED
> Mon Jan 12 19:04:16 2009 [DiM][I]: New VM state is DONE.
>
>
> Regards
> Marimuthu
> Wipro Technologies
> Bangalore
>
>
>
> -----Original Message-----
> From: Javier Fontan [mailto:jfontan at fdi.ucm.es]
> Sent: Mon 1/12/2009 3:19 PM
> To: Marimuthu Balasubramanian (WT01 - Innovation Group)
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] Xen onevm - please give more information
>
>
> Hello,
>
> Could you please send vm.log and transfer.0 file located in
> $ONE_LOCATION/var/<vmid> directory? vmid seems to be 47 from the
> information you have sent us. In vm.log should me more information
> about the command it was executing when it failed.
>
> Bye
>
> On Jan 12, 2009, at 5:05 AM, marimuthu.balasubramanian at wipro.com  
> wrote:
>
> > Hi,
> >       Thanks for your reply. We are able to move further. But when  
> we
> > submit VM template using "onevm" command the status is displayed as
> > "failed". The following error message is logged in the log file.
> >
> > "Message received: TRANSFER FAILURE 47 Error message not available"
> >
> > The VM Template details are :
> > =============================
> >
> > NAME    = nodevm
> > CPU      = 0.5
> > MEMORY   = 128
> > OS       = [kernel="/boot/vmlinuz-2.6.25.18-0.2-xen",initrd=
> > "/boot/initrd-2.6.2 5.18-0.2.xen",root="sda4" ]
> > DISK     =
> > [source="/home/wipro/vm-image/disk0",target="sda4",readonly="no"]
> > DISK    =
> > [type="swap",size=1024,target="sdb"]
> > NIC     = [MAC = "00:03:0D:AD:D4:76",
> >            bridge = eth0"]
> >
> > Machine details are
> > ===================
> > 1.  Machine 1 (Front-end) at ip 10.101.102.66: This has  Open Nebula
> > installed on Ubuntu OS. The machine is NFS server. 2.  Machine 2
> > (node) at ip 10.101.102.46 : This has Xen installed on Open Suse 11
> > (OS).
> >
> > The machine 2(Node) has boot partition at /dev/sda4 partion. My
> > doubt is whether we have to specify "/dev/sda4" or just "sda4". I
> > have just mentioned the "swap" as mentioned in the document. Is the
> > swap details are related to machine 2(node).
> > What is criteria to specify the size of the swap?
> >
> > Regards
> > Marimuthu
>
> --
> 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
>
>
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any  
> attachments to this message are intended for the exclusive use of  
> the addressee(s) and may contain proprietary, confidential or  
> privileged information. If you are not the intended recipient, you  
> should not disseminate, distribute or copy this e-mail. Please  
> notify the sender immediately and destroy all copies of this message  
> and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The  
> recipient should check this email and any attachments for the  
> presence of viruses. The company accepts no liability for any damage  
> caused by any virus transmitted by this email.
>
> www.wipro.com
>

-- 
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