Hi<div><br><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>I have the following issue when instantiating a template</div>
<div><span style="color:rgb(34,34,34);font-size:13px">Thu Sep 20 15:06:27 2012 [DiM][I]: New VM state is FAILED</span></div><div><pre style="color:rgb(34,34,34);font-size:13px"><font face="arial, helvetica, sans-serif">As I am trying to instantiate from the template I'd expect the dir's to be made before faulting at the error.</font></pre>
</div></blockquote><div><br></div><div>Indeed, the clone script makes the directory before issuing the copy. My best guess is that for some reason the error is not propagating through the drivers when creating the directory. (e.g. no permissions to create dirs for oneadmin in /var/lib/one ....)</div>
<div><br></div><div>Could you try to execute in host C3 the following (as oneadmin):</div><div><br></div><div><div>ssh H2 sh -s 2>&1 1>/dev/null <<EOF</div><div>if [ ! -d /var/lib/one//datastores/0/19 ]; then</div>
<div> mkdir -p /var/lib/one//datastores/0/19</div><div>fi</div><div>EOF</div></div><div><br></div><div>H2, and C3 are the hostnames extracted from your logs, please modify as needed.</div><div> </div></div><br>Cheers</div>
<div><br></div><div>Ruben<br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<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<br>
</div></div>