Sorry, I forgot to put the VM template, here it goes:<br><br><div style="margin-left:40px">CPU="1"<br>DISK=[<br> CLONE="YES",<br> DATASTORE="default",<br> DATASTORE_ID="1",<br> DEV_PREFIX="hd",<br>
DISK_ID="0",<br> IMAGE="ttylinux",<br> IMAGE_ID="2",<br> READONLY="NO",<br> SAVE="NO",<br> SOURCE="/var/lib/one/images/ttylinux/ttylinux.img",<br> TARGET="hda",<br>
TM_MAD="shared",<br> TYPE="FILE" ]<br>ERROR=[<br> MESSAGE="Error executing image transfer script: Error copying aridane-PLOCAN:/var/lib/one/images/ttylinux/ttylinux.img to host1:/var/lib/one//datastores/0/6/disk.0",<br>
TIMESTAMP="Wed Mar 6 16:30:39 2013" ]<br>GRAPHICS=[<br> LISTEN="0.0.0.0",<br> PORT="5906",<br> TYPE="vnc" ]<br>MEMORY="512"<br>NAME="one-6"<br>NIC=[<br> BRIDGE="virbr0",<br>
IP="192.168.122.7",<br> MAC="02:00:c0:a8:7a:07",<br> NETWORK="testNetwork",<br> NETWORK_ID="0",<br> VLAN="NO" ]<br>TEMPLATE_ID="1"<br>VMID="6"<br>
<br></div>Thanks again.<br><br><div class="gmail_quote">2013/3/6 Aridane Jesús Sarrionandia de León <span dir="ltr"><<a href="mailto:ajsarri@gmail.com" target="_blank">ajsarri@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br><br>I'm having trouble creating a vm from a template, for some reason I don't know I get the following error when execute "onetemplate instantiate 1" y get this in the log:<br><br><div style="margin-left:40px">
<br>Wed Mar 6 16:38:50 2013 [TM][D]: Message received: LOG I 7 Command execution fail: /var/lib/one/remot<br>es/tm/shared/clone aridane-PLOCAN:/var/lib/one/images/ttylinux/ttylinux.img host1:/var/lib/one/datasto<br>res/0/7/disk.0 7 1<br>
<br>Wed Mar 6 16:38:50 2013 [TM][D]: Message received: LOG I 7 clone: Cloning /var/lib/one/datastores/tty<br>linux/ttylinux.img in host1:/var/lib/one/datastores/0/7/disk.0<br><br>Wed Mar 6 16:38:50 2013 [TM][D]: Message received: LOG E 7 clone: Command "cd /var/lib/one/datastores<br>
/0/7; cp -r /var/lib/one/datastores/ttylinux/ttylinux.img /var/lib/one/datastores/0/7/disk.0" failed: <br>cp: no se puede efectuar `stat' sobre «/var/lib/one/datastores/ttylinux/ttylinux.img»: No existe el ar<br>
chivo o el directorio<br><br>Wed Mar 6 16:38:50 2013 [TM][D]: Message received: LOG E 7 Error copying aridane-PLOCAN:/var/lib/one/<br>images/ttylinux/ttylinux.img to host1:/var/lib/one/datastores/0/7/disk.0<br><br>Wed Mar 6 16:38:50 2013 [TM][D]: Message received: LOG I 7 ExitCode: 1<br>
<br>Wed Mar 6 16:38:50 2013 [TM][D]: Message received: TRANSFER FAILURE 7 Error copying aridane-PLOCAN:/v<br>ar/lib/one/images/ttylinux/ttylinux.img to host1:/var/lib/one/datastores/0/7/disk.0<br><br></div>The template i'm using is:<br>
<div style="margin-left:40px">ID : 1 <br>NAME : ttylinux <br>USER : oneadmin <br>GROUP : oneadmin <br>REGISTER TIME : 03/05 16:51:25 <br>
<br>PERMISSIONS <br>OWNER : um- <br>GROUP : --- <br>OTHER : --- <br><br>TEMPLATE CONTENTS <br>
CPU="1"<br>DISK=[<br> IMAGE="ttylinux" ]<br>GRAPHICS=[<br> LISTEN="0.0.0.0",<br> TYPE="vnc" ]<br>MEMORY="512"<br>NAME="ttylinux"<br>NIC=[<br> NETWORK="testNetwork" ]<br>
TEMPLATE_ID="1"<br><br></div>I'm using the shared driver, and I checked that the folders are correctly mounted, as seen in the result of "mount" in the host:<br><div style="margin-left:40px">192.168.122.1:/var/lib/one on /var/lib/one type nfs (rw,addr=192.168.122.1).<br>
<br></div>So I hope someone can help me, it would be great.<br>Thanks.<span class="HOEnZb"><font color="#888888"><br><br>Aridane<br><br><br><br><br>
</font></span></blockquote></div><b></b>