<font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">Thank you very very much. Now it is
deploying (scp) the VM image to the host. </font>
<br>
<br><font size=2 face="sans-serif">Regards/Saludos</font>
<br><font size=2 face="sans-serif">Fernando</font>
<br><font size=2 face="sans-serif">--<br>
Fernando Felix-Redondo [INSA, S.A.]
<br>
fernando.felix@esa.int Phone:
+34 91 813 1368<br>
<br>
SMOS DPGS Operations<br>
Ground Segment System Engineer<br>
ESA - ESAC</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">"Ruben S. Montero"
<rubensm@dacya.ucm.es></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Fernando.Felix@esa.int,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">"users@lists.opennebula.org"
<users@lists.opennebula.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">10/12/2013 17:12</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [one-users]
Problem starting VM over a SSH system datastore</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Ok, I see.</font>
<br>
<br><font size=3>1.- DATASTORE_LOCATION, it is used to accessed the datastore
in the hosts.</font>
<br><font size=3>2.- You are using TM SSH for the system ds (i.e. to move
the running images of a VM) but the Image DS is set to shared, so it is
assume that the datastore is mounted under /datastore</font>
<br><font size=3>3.- So, either you need to update the Image datastore
configuration to use TM_MAD="ssh" as the system DS, or mount
the datastore through a shared FS.</font>
<br>
<br><font size=3>Cheers</font>
<br><font size=3><br>
</font>
<br><font size=3>On Tue, Dec 10, 2013 at 5:03 PM, <</font><a href=mailto:Fernando.Felix@esa.int target=_blank><font size=3 color=blue><u>Fernando.Felix@esa.int</u></font></a><font size=3>>
wrote:</font>
<br><font size=3 face="sans-serif">Hello Ruben,</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
Ok, I understand it. However, why the logs show this line first:</font><font size=3>
<br>
</font><font size=3 face="Courier New"><br>
[...]clone gpodmc.smos.lan:/var/lib/one//datastores/1/91209cfc6a24a39e60b42d9cd6ae5d7f
dpgsrcorepfw-3.smos.lan:/datastore/109/8/disk.0 8 1</font><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
(that I think it is perfectly aligned with your explanation)</font><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
and later it really tries this:</font><font size=3> <br>
</font><font size=3 face="Courier New"><br>
cp /datastore/1/91209cfc6a24a39e60b42d9cd6ae5d7f /datastore/109/8/disk.0</font><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
Why using /datastore in the source of the copy instead of /var/lib/one/datastores?</font><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
Cheers</font><font size=3> </font><font size=3 face="sans-serif"><br>
Fernando</font><font size=3> </font><font size=3 face="sans-serif"><br>
--<br>
Fernando Felix-Redondo [INSA, S.A.]
</font><font size=3 color=blue face="sans-serif"><u><br>
</u></font><a href=mailto:fernando.felix@esa.int target=_blank><font size=3 color=blue face="sans-serif"><u>fernando.felix@esa.int</u></font></a><font size=3 face="sans-serif">
Phone: </font><a href=tel:%2B34%2091%20813%201368 target=_blank><font size=3 color=blue face="sans-serif"><u>+34
91 813 1368</u></font></a><font size=3 face="sans-serif"><br>
<br>
SMOS DPGS Operations<br>
Ground Segment System Engineer<br>
ESA - ESAC</font><font size=3> <br>
<br>
<br>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
From: </font><font size=1 face="sans-serif">"Ruben
S. Montero" <</font><a href=mailto:rsmontero@opennebula.org target=_blank><font size=1 color=blue face="sans-serif"><u>rsmontero@opennebula.org</u></font></a><font size=1 face="sans-serif">></font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
To: </font><a href=mailto:Fernando.Felix@esa.int target=_blank><font size=1 color=blue face="sans-serif"><u>Fernando.Felix@esa.int</u></font></a><font size=1 face="sans-serif">,
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
Cc: </font><font size=1 face="sans-serif">"</font><a href=mailto:users@lists.opennebula.org target=_blank><font size=1 color=blue face="sans-serif"><u>users@lists.opennebula.org</u></font></a><font size=1 face="sans-serif">"
<</font><a href=mailto:users@lists.opennebula.org target=_blank><font size=1 color=blue face="sans-serif"><u>users@lists.opennebula.org</u></font></a><font size=1 face="sans-serif">></font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
Date: </font><font size=1 face="sans-serif">10/12/2013
16:17</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Subject: </font><font size=1 face="sans-serif">Re:
[one-users] Problem starting VM over a SSH system datastore</font><font size=3>
<br>
</font>
<hr noshade><font size=3><br>
<br>
<br>
When the images are registered (oneimage create) they are placed (in filesystem-based
datastores) in <br>
<br>
$DATASTORE_BASE_PATH/<ds_id> <br>
<br>
DATASTORE_BASE_PATH is either from oned.conf or from datastore template
(BASE_PATH attribute). <br>
<br>
This images are then copied in the hosts to <br>
<br>
$DATASTORE_LOCATION/<ds_id>/<vm_id>/ <br>
<br>
Note that those are different paths (one for the front-end) and the other
for the hosts. <br>
<br>
If you want to access the default location, there is no need to set neither
DATASTORE_BASE_PATH nor DATASTORE_LOCATION. <br>
<br>
Cheers <br>
<br>
Ruben <br>
<br>
<br>
On Tue, Dec 10, 2013 at 3:37 PM, <</font><a href=mailto:Fernando.Felix@esa.int target=_blank><font size=3 color=blue><u>Fernando.Felix@esa.int</u></font></a><font size=3>>
wrote: </font><font size=3 face="sans-serif"><br>
Hello everyone,</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
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><font size=3> </font><font size=3 face="sans-serif"><br>
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><font size=3>
<br>
<br>
<br>
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 <br>
</font><font size=3 face="sans-serif"><br>
<br>
The DATASTORE_LOCATION is pointing to "/datastore"</font><font size=3>
</font><font size=3 face="sans-serif"><br>
<br>
This is the output of the "onedatastore show" command:</font><font size=3>
</font><font size=3 face="sans-serif"><br>
<br>
=========================================================================================</font><font size=3>
<br>
[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><font size=3 face="sans-serif"><br>
<br>
=================================================================================</font><font size=3>
</font><font size=3 face="sans-serif"><br>
<br>
What I really dont't understand is why ONE is trying to access the source
image from </font><font size=3><br>
<br>
/datastore/1/91209cfc6a24a39e60b42d9cd6ae5d7f /datastore/109/8/disk.0 <br>
<br>
instead of using <br>
<br>
/var/lib/one/datastores/1/91209cfc6a24a39e60b42d9cd6ae5d7f /datastore/109/8/disk.0
</font><font size=3 face="sans-serif"><br>
?</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
Any body could explain to me what I'm doing wrong, please?</font><font size=3>
</font><font size=3 face="sans-serif"><br>
<br>
Regards</font><font size=3> </font><font size=3 face="sans-serif"><br>
Fernando</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
--<br>
Fernando Felix-Redondo [INSA, S.A.]
</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:fernando.felix@esa.int target=_blank><font size=3 color=blue face="sans-serif"><u>fernando.felix@esa.int</u></font></a><font size=3 face="sans-serif">
Phone: </font><a href=tel:%2B34%2091%20813%201368 target=_blank><font size=3 color=blue face="sans-serif"><u>+34
91 813 1368</u></font></a><font size=3 face="sans-serif"><br>
<br>
SMOS DPGS Operations<br>
Ground Segment System Engineer<br>
ESA - ESAC</font><font size=3> </font><tt><font size=3><br>
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.<br>
<br>
Please consider the environment before printing this email.</font></tt><font size=3><br>
<br>
<br>
_______________________________________________<br>
Users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:Users@lists.opennebula.org target=_blank><font size=3 color=blue><u>Users@lists.opennebula.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target=_blank><font size=3 color=blue><u>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</u></font></a><font size=3 color=#8f8f8f><br>
<br>
<br>
<br>
<br>
-- <br>
-- <br>
Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect <br>
OpenNebula - Flexible Enterprise Cloud Made Simple</font><font size=3 color=blue><u><br>
</u></font><a href=http://www.opennebula.org/ target=_blank><font size=3 color=blue><u>www.OpenNebula.org</u></font></a><font size=3 color=#8f8f8f>
| </font><a href=mailto:rsmontero@opennebula.org target=_blank><font size=3 color=blue><u>rsmontero@opennebula.org</u></font></a><font size=3 color=#8f8f8f>
| @OpenNebula </font>
<br><tt><font size=3 color=#8f8f8f>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.<br>
<br>
Please consider the environment before printing this email.<br>
</font></tt>
<br><font size=3><br>
_______________________________________________<br>
Users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:Users@lists.opennebula.org><font size=3 color=blue><u>Users@lists.opennebula.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target=_blank><font size=3 color=blue><u>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</u></font></a><font size=3><br>
</font>
<br><font size=3><br>
</font>
<br>
<br><font size=3>-- <br>
Dr. Ruben Santiago Montero<br>
Associate Professor (Profesor Titular), Complutense University of Madrid<br>
<br>
URL: </font><a href="http://dsa-research.org/doku.php?id=people:ruben" target=_blank><font size=3 color=blue><u>http://dsa-research.org/doku.php?id=people:ruben</u></font></a><font size=3><br>
Weblog: </font><a href="http://blog.dsa-research.org/?author=7" target=_blank><font size=3 color=blue><u>http://blog.dsa-research.org/?author=7</u></font></a><font size=3>
</font>
<br><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>