<div dir="ltr">When the images are registered (oneimage create) they are placed (in filesystem-based datastores) in<div><br></div><div>$DATASTORE_BASE_PATH/<ds_id></div><div><br></div><div>DATASTORE_BASE_PATH is either from oned.conf or from datastore template (BASE_PATH attribute).</div>
<div><br></div><div>This images are then copied in the hosts to</div><div><br></div><div>$DATASTORE_LOCATION/<ds_id>/<vm_id>/</div><div><br></div><div>Note that those are different paths (one for the front-end) and the other for the hosts.</div>
<div><br></div><div>If you want to access the default location, there is no need to set neither DATASTORE_BASE_PATH nor DATASTORE_LOCATION.</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 3:37 PM, <span dir="ltr"><<a href="mailto:Fernando.Felix@esa.int" target="_blank">Fernando.Felix@esa.int</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="sans-serif">Hello everyone,</font>
<br>
<br><font face="sans-serif">I'm deploying my first cloud with ONE
4.4 and I'm facing a problem that I don't understand. I have read all the
related guides and I though I had understand them but obviously it's not
the case.</font>
<br><font face="sans-serif">My problem is that after creating a
SSH System datastore to just copy the VM images from the frontend to the
hosts, every time I try to start a virtual machine I end up with the following
error messages in the log:</font>
<br>
<br>
<br><font size="3">Tue Dec 10 12:10:47 2013 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone gpodmc.smos.lan:/var/lib/one//datastores/1/91209cfc6a24a39e60b42d9cd6ae5d7f
dpgsrcorepfw-3.smos.lan:/datastore/109/8/disk.0 8 1<br>
Tue Dec 10 12:10:47 2013 [TM][I]: clone: Cloning /datastore/1/91209cfc6a24a39e60b42d9cd6ae5d7f
in dpgsrcorepfw-3.smos.lan:/datastore/109/8/disk.0<br>
Tue Dec 10 12:10:47 2013 [TM][E]: clone: Command "cd /datastore/109/8;
cp /datastore/1/91209cfc6a24a39e60b42d9cd6ae5d7f /datastore/109/8/disk.0"
failed: cp: cannot stat `/datastore/1/91209cfc6a24a39e60b42d9cd6ae5d7f':
No such file or directory<br>
Tue Dec 10 12:10:47 2013 [TM][E]: Error copying gpodmc.smos.lan:/var/lib/one//datastores/1/91209cfc6a24a39e60b42d9cd6ae5d7f
to dpgsrcorepfw-3.smos.lan:/datastore/109/8/disk.0<br>
Tue Dec 10 12:10:47 2013 [TM][I]: ExitCode: 1<br>
Tue Dec 10 12:10:47 2013 [TM][E]: Error executing image transfer script:
Error copying gpodmc.smos.lan:/var/lib/one//datastores/1/91209cfc6a24a39e60b42d9cd6ae5d7f
to dpgsrcorepfw-3.smos.lan:/datastore/109/8/disk.0<br>
Tue Dec 10 12:10:47 2013 [DiM][I]: New VM state is FAILED<br>
Tue Dec 10 12:20:58 2013 [DiM][I]: New VM state is DONE.<br>
Tue Dec 10 12:20:58 2013 [TM][W]: Ignored: TRANSFER SUCCESS 8 </font>
<br>
<br>
<br><font face="sans-serif">The DATASTORE_LOCATION is pointing to
"/datastore"</font>
<br>
<br><font face="sans-serif">This is the output of the "onedatastore
show" command:</font>
<br>
<br><font face="sans-serif">=========================================================================================</font>
<br><font size="3">[oneadmin@gpodmc one]$ onedatastore show 109<br>
DATASTORE 109 INFORMATION
<br>
ID
: 109
<br>
NAME : local_storage
<br>
USER : oneadmin
<br>
GROUP : oneadmin
<br>
CLUSTER : GPOD
<br>
TYPE : SYSTEM
<br>
DS_MAD : -
<br>
TM_MAD : ssh
<br>
BASE PATH : /datastore/109
<br>
DISK_TYPE : FILE
<br>
<br>
DATASTORE CAPACITY
<br>
TOTAL: : -
<br>
FREE: : -
<br>
USED: : -
<br>
LIMIT: : -
<br>
<br>
PERMISSIONS
<br>
OWNER : um-
<br>
GROUP : u--
<br>
OTHER : ---
<br>
<br>
DATASTORE TEMPLATE
<br>
SHARED="NO"<br>
TM_MAD="ssh"<br>
TYPE="SYSTEM_DS" </font>
<br>
<br><font face="sans-serif">=================================================================================</font>
<br>
<br><font face="sans-serif">What I really dont't understand is why
ONE is trying to access the source image from </font>
<br>
<br><font size="3">/datastore/1/91209cfc6a24a39e60b42d9cd6ae5d7f /datastore/109/8/disk.0
</font>
<br>
<br><font size="3">instead of using</font>
<br>
<br><font size="3">/var/lib/one/datastores/1/91209cfc6a24a39e60b42d9cd6ae5d7f
/datastore/109/8/disk.0</font>
<br><font face="sans-serif">?</font>
<br>
<br><font face="sans-serif">Any body could explain to me what I'm
doing wrong, please?</font>
<br>
<br><font face="sans-serif">Regards</font>
<br><font face="sans-serif">Fernando</font>
<br>
<br><font face="sans-serif">--<br>
Fernando Felix-Redondo [INSA, S.A.]
<br>
<a href="mailto:fernando.felix@esa.int" target="_blank">fernando.felix@esa.int</a> Phone:
<a href="tel:%2B34%2091%20813%201368" value="+34918131368" target="_blank">+34 91 813 1368</a><br>
<br>
SMOS DPGS Operations<br>
Ground Segment System Engineer<br>
ESA - ESAC</font><pre>This message and any attachments are intended for the use of the addressee or addressees only. The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its content is not permitted. If you received this message in error, please notify the sender and delete it from your system. Emails can be altered and their integrity cannot be guaranteed by the sender.
Please consider the environment before printing this email.
</pre><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div>