<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi Jeroen,</DIV>
<DIV> </DIV>
<DIV>Thanks for giving help in right direction.</DIV>
<DIV> </DIV>
<DIV>But I am getting the following error after deploying the image with created template.</DIV>
<DIV> </DIV>
<DIV>Template details:</DIV>
<DIV> </DIV>
<DIV>ID=19<BR>UID=0<BR>NAME=ttyl2<BR>LAST_POLL=0<BR>STATE=7<BR>LCM_STATE=0<BR>STIME=1280157250<BR>ETIME=1280157306<BR>DEPLOY_ID =><BR>MEMORY=0<BR>CPU=0<BR>NET_TX=0<BR>NET_RX=0<BR>TEMPLATE =><BR> CPU=1<BR> DISK =><BR> CLONE=yes<BR> READONLY=no<BR> SAVE=no<BR> SIZE=500<BR> SOURCE=/srv/cloud/one/one-template/ttylinux.img<BR> TARGET=hda<BR> TYPE=disk<BR> GRAPHICS =><BR> LISTEN=0.0.0.0<BR> PORT=999<BR> TYPE=vnc<BR> MEMORY=256<BR> NAME=ttyl2<BR> NIC =><BR> BRIDGE=br0<BR> IP=192.168.138.10<BR> MAC=00:03:c0:a8:8a:0a<BR> MODEL=none<BR> NETWORK=Small network<BR> VNID=0<BR> OS =><BR> BOOT=hd<BR> VMID=19<BR>HISTORY =><BR> SEQ=0<BR> HOSTNAME=192.168.138.241<BR> HID=0<BR> STIME=1280157274<BR> ETIME=1280157305<BR> PSTIME=1280157274<BR> PETIME=1280157275<BR> RSTIME=1280157275<BR> RETIME=1280157305<BR> ESTIME=0<BR> EETIME=0<BR> REASON=1<BR></DIV>
<DIV> </DIV>
<DIV>Log details:</DIV>
<DIV> </DIV>
<DIV>Mon Jul 26 20:44:34 2010 [DiM][D]: Deploying VM 19<BR>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: onefrontend:/srv/cloud/one/one-template/ttylinux.img 192.168.138.241:/srv/cloud/one/var//19/images/disk.0</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: DST: /srv/cloud/one/var//19/images/disk.0</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: Creating directory /srv/cloud/one/var//19/images</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//19/images".</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//19/images".</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: Cloning /srv/cloud/one/one-template/ttylinux.img</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: Executed "cp /srv/cloud/one/one-template/ttylinux.img /srv/cloud/one/var//19/images/disk.0".</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: LOG - 19 tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//19/images/disk.0".</DIV>
<DIV>Mon Jul 26 20:44:35 2010 [TM][D]: Message received: TRANSFER SUCCESS 19 -</DIV>
<DIV>Mon Jul 26 20:44:37 2010 [InM][D]: Host 0 successfully monitored.<BR>Mon Jul 26 20:44:44 2010 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Mon Jul 26 20:44:47 2010 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Mon Jul 26 20:44:50 2010 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Mon Jul 26 20:44:53 2010 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Mon Jul 26 20:44:55 2010 [VMM][I]: Monitoring VM 0.<BR>Mon Jul 26 20:44:55 2010 [VMM][I]: Monitoring VM 1.<BR>Mon Jul 26 20:44:55 2010 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Mon Jul 26 20:45:02 2010 [ReM][D]: VirtualMachinePoolInfo method invoked<BR>Mon Jul 26 20:45:05 2010 [VMM][D]: Message received: LOG - 19 Command execution fail: 'mkdir -p /srv/cloud/one/var//19/images && cat > /srv/cloud/one/var//19/images/deployment.0 && virsh --connect qemu:///system create /srv/cloud/one/var//19/images/deployment.0'</DIV>
<DIV>Mon Jul 26 20:45:05 2010 [VMM][D]: Message received: LOG - 19 STDERR follows.</DIV>
<DIV>Mon Jul 26 20:45:05 2010 [VMM][D]: Message received: LOG - 19 Warning: Permanently added '192.168.138.241' (RSA) to the list of known hosts.</DIV>
<DIV>Mon Jul 26 20:45:05 2010 [VMM][D]: Message received: LOG - 19 error: Failed to create domain from /srv/cloud/one/var//19/images/deployment.0</DIV>
<DIV>Mon Jul 26 20:45:05 2010 [VMM][D]: Message received: LOG - 19 error: monitor socket did not show up.: Connection refused</DIV>
<DIV>Mon Jul 26 20:45:05 2010 [VMM][D]: Message received: LOG - 19 ExitCode: 1</DIV>
<DIV>Mon Jul 26 20:45:05 2010 [VMM][D]: Message received: DEPLOY FAILURE 19 -</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Nagesh.</DIV>
<DIV><BR><BR><BR>--- On <B>Mon, 7/26/10, Jeroen Nijhof <I><jeroen.nijhof@sara.nl></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Jeroen Nijhof <jeroen.nijhof@sara.nl><BR>Subject: Re: [one-ecosystem] template creation using onemc<BR>To: "Ross Nordeen" <rjnordee@mtu.edu><BR>Cc: "bathina nageswararao" <nag_bathina@yahoo.com>, "ecosystem@lists.opennebula.org" <ecosystem@lists.opennebula.org><BR>Date: Monday, July 26, 2010, 7:50 PM<BR><BR>
<DIV class=plainMail>Hi,<BR><BR>You need to put an image file in your user directory or at least in the <BR>global directory.<BR><BR>The user and global directory are configurable in config.php:<BR><BR>// VM image directory's<BR>$global_images = "/data/images";<BR>$user_images = "/home/%USER%/images";<BR><BR>Any file in these directory's will show up as source.<BR><BR>Regards,<BR>Jeroen<BR><BR><BR><BR>On 07/26/2010 04:15 PM, Ross Nordeen wrote:<BR>> Nagesh,<BR>><BR>> For the target I put sda. I ran into the source problem also, you need to point that to your img file of your vm. I have not found out how to do it in onemc but you can manually edit them in mysql. I installed mysqladmin to do this at ease.<BR>><BR>> -Ross<BR>><BR>> ----- Original Message -----<BR>> From: "bathina nageswararao"<<A href="http://us.mc507.mail.yahoo.com/mc/compose?to=nag_bathina@yahoo.com"
ymailto="mailto:nag_bathina@yahoo.com">nag_bathina@yahoo.com</A>><BR>> To: <A href="http://us.mc507.mail.yahoo.com/mc/compose?to=ecosystem@lists.opennebula.org" ymailto="mailto:ecosystem@lists.opennebula.org">ecosystem@lists.opennebula.org</A><BR>> Sent: Monday, July 26, 2010 7:14:41 AM GMT -07:00 US/Canada Mountain<BR>> Subject: [one-ecosystem] template creation using onemc<BR>><BR>><BR>> Hi,<BR>><BR>> Can you please help to create template in VM manager Tab in ONEMC.<BR>><BR>> Create template:<BR>> Name:<BR>><BR>> Memory: 256 MB<BR>> Cpu: 1<BR>> OS section:<BR>> * Boot: hd<BR>> Bootloader:<BR>> Kernel:<BR>> Kernel arguments:<BR>> Initrd:<BR>> Root:<BR>> Disk section:<BR>> Number of disks: 1<BR>> Network section: 1<BR>> Number of networks:<BR>> Graphics section:<BR>> Listen address:<BR>> VNC Port:<BR>> VNC Password:<BR>> Disk section:<BR>> Disk 1<BR>>
Type: disk<BR>> * Source: none (except none it is not showing none)<BR>> Size: 1000 MB<BR>> Format:<BR>> * Target:<BR>> Clone: yes<BR>> Save: yes<BR>> Readonly: yes<BR>> Network section:<BR>> Network 1<BR>> Network: Small network<BR>> Ip:<BR>> Mac-address:<BR>> Bridge:<BR>> Target:<BR>> Script:<BR>> Model:<BR>><BR>> Template created and showing in "vm overview" when I tried to deploy we are getting the following errors from oned.log<BR>><BR>><BR>><BR>> Mon Jul 26 18:06:39 2010 [DiM][D]: Allocating a new VM<BR>><BR>> Mon Jul 26 18:06:51 2010 [DiM][D]: Deploying VM 7<BR>> Mon Jul 26 18:06:52 2010 [VMM][I]: Monitoring VM 2.<BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 Command execution fail: /srv/cloud/one/lib/tm_commands/nfs/tm_clone.sh onefrontend:none 192.168.138.241:/srv/cloud/one/var//7/images/disk.0<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]:
Message received: LOG - 7 STDERR follows.<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 ERROR MESSAGE --8<------<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 cp: cannot stat `none': No such file or directory<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 ERROR MESSAGE ------>8--<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 ExitCode: 1<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 tm_clone.sh: onefrontend:none 192.168.138.241:/srv/cloud/one/var//7/images/disk.0<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 tm_clone.sh: DST: /srv/cloud/one/var//7/images/disk.0<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 tm_clone.sh: Creating directory /srv/cloud/one/var//7/images<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7
tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//7/images".<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//7/images".<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 tm_clone.sh: Cloning none<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 tm_clone.sh: ERROR: Command "cp none /srv/cloud/one/var//7/images/disk.0" failed.<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: LOG - 7 tm_clone.sh: ERROR: cp: cannot stat `none': No such file or directory<BR>><BR>> Mon Jul 26 18:06:52 2010 [TM][D]: Message received: TRANSFER FAILURE 7 cp: cannot stat `none': No such file or directory<BR>><BR>> Mon Jul 26 18:06:52 2010 [VMM][D]: Message received: POLL SUCCESS 2 STATE=a USEDMEMORY=131072<BR>><BR>> Mon Jul 26 18:06:53 2010 [TM][D]: Message received: LOG - 7 tm_delete.sh: Deleting
/srv/cloud/one/var//7/images<BR>><BR>> Mon Jul 26 18:06:53 2010 [TM][D]: Message received: LOG - 7 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//7/images".<BR>><BR>> Mon Jul 26 18:06:53 2010 [TM][D]: Message received: TRANSFER SUCCESS 7 -<BR>><BR>> Regards,<BR>> Nagesh.<BR>><BR>><BR>><BR>><BR>> _______________________________________________<BR>> Ecosystem mailing list<BR>> <A href="http://us.mc507.mail.yahoo.com/mc/compose?to=Ecosystem@lists.opennebula.org" ymailto="mailto:Ecosystem@lists.opennebula.org">Ecosystem@lists.opennebula.org</A><BR>> <A href="http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org" target=_blank>http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org</A><BR>> _______________________________________________<BR>> Ecosystem mailing list<BR>> <A href="http://us.mc507.mail.yahoo.com/mc/compose?to=Ecosystem@lists.opennebula.org"
ymailto="mailto:Ecosystem@lists.opennebula.org">Ecosystem@lists.opennebula.org</A><BR>> <A href="http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org" target=_blank>http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org</A><BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>