Hi, thanks for answering that fast.<br><br>Yes, it says that there's no such file. <br><br>The output of ls -lah /var/lib/one/datastores/<div>ttylinux/ttylinux.img is says that the location can't be accessed, there's no such file or directory.<br>
<br>The thing is that I created the img file with oneimage create image.one –d default<br><br>The output of the commands are:<br><br><div style="margin-left:40px">oneimage list<br> ID USER GROUP NAME DATASTORE SIZE TYPE PER STAT RVMS<br>
2 oneadmin oneadmin ttylinux default 0M OS No used 1<br><br>oneimage show 2<br>IMAGE 2 INFORMATION <br>ID : 2 <br>
NAME : ttylinux <br>USER : oneadmin <br>GROUP : oneadmin <br>DATASTORE : default <br>TYPE : OS <br>REGISTER TIME : 03/05 16:23:46 <br>
PERSISTENT : No <br>SOURCE : /var/lib/one/images/ttylinux/ttylinux.img<br>SIZE : 0M <br>STATE : used <br>RUNNING_VMS : 1 <br>
<br>PERMISSIONS <br>OWNER : um- <br>GROUP : --- <br>OTHER : --- <br><br>IMAGE TEMPLATE <br>
DESCRIPTION="ttylinux image"<br>DEV_PREFIX="hd"<br>PUBLIC="YES"<br><br></div>Thanks for the help.<br><br>Regards<br>Aridane.<br></div><br><div class="gmail_quote">2013/3/6 Tobias Honacker <span dir="ltr"><<a href="mailto:t.honacker@googlemail.com" target="_blank">t.honacker@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hi,</div><div><br></div><div>You have to create an oneimage [1] which will store the image to your path.</div>
<div>Your error tells you that the directory/image doesn't exist? (no spanish skills sorry)</div><div><br></div><div>Do a ls -lah /var/lib/one/datastores/ttylinux/ttylinux.img</div><div><br></div><div>And please provide us the output of these commands:</div>
<div><br></div><div>Oneimage list</div><div>Oneimage show 1 (you have to put the id here u get from oneimage list instead of 1)</div><div><br></div><div><br></div><div>Best regards,</div><div>Tobias</div><div><br></div><div>
[1] <a href="http://opennebula.org/documentation:rel3.8:img_guide" target="_blank">http://opennebula.org/documentation:rel3.8:img_guide</a></div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">Von: </span> Aridane Jesús Sarrionandia de León <<a href="mailto:ajsarri@gmail.com" target="_blank">ajsarri@gmail.com</a>><br><span style="font-weight:bold">Datum: </span> Mittwoch, 6. März 2013 17:57<br>
<span style="font-weight:bold">An: </span> <<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>><br><span style="font-weight:bold">Betreff: </span> [one-users] Problems instantiating<br>
</div><div><div class="h5"><div><br></div>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.<br><br>Aridane<br><br><br><br><br></div></div>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</span></div>
</blockquote></div><b><br></b>