<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Tino,<br>
<br>
We are using version 4.4.1. If you need any details on the
configuration I can provide them.<br>
<br>
<br>
<div class="moz-signature">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<style type="text/css">@media print{table{font: 6pt/7pt Times New Roman, serif !important;}span{font-size: 7pt !important;}img{width: 100px !important;}.pad{padding-top: 17px !important;}}</style>
<div>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p style="line-height:11.0pt"><span
style="font-size:9.0pt;color:#1F497D"> <img
src="cid:part1.08080203.02020407@reitoria.ulisboa.pt"
v:shapes="_x0000_i1025" height="165" width="170"></span><span
style="font-size:9.0pt;color:#1F497D"><o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt" valign="top">
<p style="margin-top:24.75pt;line-height:11.0pt"><span
style="font-family:"Times New
Roman","serif"">Nuno Serro</span><span
style="font-size:9.0pt;font-family:"Times New
Roman","serif""><br>
Coordenador<br>
Núcleo de Infraestruturas e Telecomunicações<br>
Departamento de Informática <br>
<br>
Alameda da Universidade - Cidade Universitária<br>
1649-004 Lisboa PORTUGAL<br>
T. +351 210 443 566 - Ext. 19816<br>
E. <a href="mailto:nserro@reitoria.ulisboa.pt"><span
style="color:windowtext">nserro@reitoria.ulisboa.pt</span></a>
<br>
<a href="http://www.ulisboa.pt/"><span
style="color:windowtext">www.ulisboa.pt</span></a>
</span><span
style="font-size:9.0pt;font-family:"Times New
Roman","serif""><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p><o:p> </o:p></p>
<p><o:p> </o:p></p>
</div>
</div>
On 26-03-2014 16:44, Tino Vazquez wrote:<br>
</div>
<blockquote
cite="mid:CAHfKwc2=m2LUiqHGOMiqXf2q78yv076BYRoLEQMB4zniv70djQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Nuno,
<div><br>
</div>
<div>What version of OpenNebula are you using?</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>-Tino</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>--<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<br>
--<br>
Constantino Vázquez Blanco, PhD, MSc<br>
Senior Infrastructure Architect at C12G Labs<br>
<a moz-do-not-send="true" href="http://www.c12g.com"
target="_blank">www.c12g.com</a> | @C12G | <a
moz-do-not-send="true"
href="http://es.linkedin.com/in/tinova" target="_blank">es.linkedin.com/in/tinova</a><br>
<br>
--<br>
Confidentiality Warning: The information contained in this
e-mail and any accompanying documents, unless otherwise
expressly indicated, is confidential and privileged, and is
intended solely for the person and/or entity to whom it is
addressed (i.e. those identified in the "To" and "cc" box).
They are the property of C12G Labs S.L.. Unauthorized
distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and
may be unlawful. If you have received this e-mail in error,
please notify us immediately by e-mail at <a
moz-do-not-send="true" href="mailto:abuse@c12g.com"
target="_blank">abuse@c12g.com</a> and delete the e-mail and
attachments and any copy from your system. C12G thanks you for
your cooperation.</div>
<br>
<br>
<div class="gmail_quote">On 26 March 2014 17:29, Nuno Serro <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:nserro@reitoria.ulisboa.pt" target="_blank">nserro@reitoria.ulisboa.pt</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hello,</tt><tt><br>
</tt><tt><br>
</tt><tt>We've started using a system datastore whith a
shared storage in a clustered fs, so we could start
testing the live migrate functionality. The live migrate
is working as expected, but when testing the fault
tolerance using the host_hook, we noticed the following
error:</tt><tt><br>
</tt><tt><br>
</tt><tt>[TM][I]: ln -s "/dev/vg-nebula/lv-one-144"
"/var/lib/one/datastores/109/393/disk.0"" failed: ln:
failed to create symbolic link
`/var/lib/one/datastores/109/393/disk.0': File exists</tt><tt><br>
</tt><tt>[TM][E]: Error linking /dev/vg-nebula/lv-one-144</tt><tt><br>
</tt><tt><br>
</tt><tt>I understand the error. When I kill one node and
host_hook kicks in, being the storage shared between
nodes, the symlinks to the images are already there.</tt><tt><br>
</tt><tt><br>
</tt><tt>My question is regarding the hook definition:</tt><tt><br>
</tt><tt><br>
</tt><tt>HOST_HOOK = [</tt><tt><br>
</tt><tt> name = "error",</tt><tt><br>
</tt><tt> on = "ERROR",</tt><tt><br>
</tt><tt> command = "ft/host_error.rb",</tt><tt><br>
</tt><tt> arguments = "$ID -r",</tt><tt><br>
</tt><tt> remote = "no" ]</tt><tt><br>
</tt><tt><br>
Is it possible to configure the hook to delete the VM,
and afterwards creating it? We tried combining "-d" and
"-r" flags but only one flag seems to be used.<br>
<br>
Thanks in advance.<br>
<br>
Regards,<br>
<br>
</tt>
<div>-- <br>
<div>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p style="line-height:11.0pt"><span
style="font-size:9.0pt;color:#1f497d"> <img
src="cid:part8.05010503.08060703@reitoria.ulisboa.pt" height="165"
width="170"></span><span
style="font-size:9.0pt;color:#1f497d"></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"
valign="top">
<p
style="margin-top:24.75pt;line-height:11.0pt"><span>Nuno
Serro</span><span><br>
Coordenador<br>
Núcleo de Infraestruturas e
Telecomunicações<br>
Departamento de Informática <br>
<br>
Alameda da Universidade - Cidade
Universitária<br>
1649-004 Lisboa PORTUGAL<br>
T. <a moz-do-not-send="true"
href="tel:%2B351%20210%20443%20566"
value="+351210443566" target="_blank">+351
210 443 566</a> - Ext. 19816<br>
E. <a moz-do-not-send="true"
href="mailto:nserro@reitoria.ulisboa.pt"
target="_blank"><span
style="color:windowtext">nserro@reitoria.ulisboa.pt</span></a>
<br>
<a moz-do-not-send="true"
href="http://www.ulisboa.pt/"
target="_blank"><span
style="color:windowtext">www.ulisboa.pt</span></a>
</span><span></span></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p> </p>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
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>
</div>
</blockquote>
<br>
</body>
</html>