<div dir="ltr">Hi Hyun,<div><br></div><div>I've looked at this issue and you're completely right. If /var/lib/one/datastores does not exist in the VMHost it will report that it doesn't have free space and therefore it will never deploy the VM, which means that the directory will never be created, which is a Catch 22.</div>
<div><br></div><div>We haven't noticed this earlier because usually people share /var/lib/one/datastores and therefore you don't hit this issue. And people using SSH and upgrading from earlier version will not hit it because in previous pervious the disk capacity wasn't checked so it always created the directory.</div>
<div><br></div><div>Long story short, bug confirmed, applying patch to monitor_ds.sh</div><div><br></div><div>Thanks for the heads up.</div><div><br></div><div>Cheers,<br>Jaime</div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Mar 31, 2014 at 11:25 AM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra">Hi,<br><br><div class="gmail_quote"><div>On Fri, Mar 28, 2014 at 7:40 PM, Hyun Woo Kim <span dir="ltr"><<a href="mailto:hyunwoo@fnal.gov" target="_blank">hyunwoo@fnal.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>If HostXML::test_<span style="font-style:italic">ds_</span>capacity only creates $DATASTORE_LOCATION/<id> assuming $DATASTORE_LOCATION itself exists,</div>
<div>my next question here might be, </div>
<div>which code creates $DATASTORE_LOCATION itself and when?</div>
<div><br>
</div>
<div>I don't think I missed an instruction to create $DATASTORE_LOCATION manually in the ON documentation..</div>
<div>i.e. $DATASTORE_LOCATION must be created by ON codes (maybe) during the first VM deployment.</div>
<div><br>
</div>
<div>But like I described in the original email, our test ON4.4 fails at this.</div>
<div><br>
</div>
<div>Hyunwoo Kim</div>
<div>FermiCloud</div></div></blockquote><div><br></div></div><div>The $DATASTORE_LOCATION/<id> dir is created by the tm drivers on the first deployment, using the ssh_make_path function (mkdir -p). As I said, I think the problem is not the dir creation, is with the mechanism to decide the first deployment on a new host.</div>
<div>
<div><br></div><div>Regards</div><br>--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span></div>
</div></div></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">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></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Jaime Melis<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>
</div></div>