<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 5:30 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>Thanks very much.</div>
<div>We are already familiar with monitor_ds.sh</div>
<div>and our problem is,  monitor_ds.sh does not report system_DS capacities</div>
<div>until I manually mkdir –p /var/lib/one/datastores/100(our system_ds ID)..</div>
<div>(Note –p option to mkdir).</div>
<div><br>
</div>
<div>Thanks again and we look forward to hearing from you</div>
<div>as this issue is one of road blocks that are stopping us from upgrading to ON 4.4.</div>
<div><br>
</div>
<div>Hyunwoo</div>
<div>FermiCloud Project.</div>
<div><br></div></div></blockquote><div><br></div><div>My guess is that this will be solved making monitor_ds to report the space available in /var/lib/one when ./datastores does not exist.</div><div>But I'll wait for one of my colleagues with more involvement in this area to confirm this.</div>

<div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards<br clear="all"><div><div dir="ltr">--<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><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" target="_blank" style="color:rgb(42,93,176)"></a></span></div>

</div><div><br></div></div></div></div></div><div> </div><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>
</div>
<div><br>
</div>
<span>
<div style="border-width:1pt medium medium;border-style:solid none none;padding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;border-top-color:rgb(181,196,223)"><div class="">
<span style="font-weight:bold">From: </span>Carlos Martín Sánchez <<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>><br>
</div><span style="font-weight:bold">Date: </span>Friday, March 28, 2014 11:24 AM<div><div class="h5"><br>
<span style="font-weight:bold">To: </span>Hyunwoo Kim <<a href="mailto:hyunwoo@fnal.gov" target="_blank">hyunwoo@fnal.gov</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>" <<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>><br>


<span style="font-weight:bold">Subject: </span>Re: [one-users] data store not created in VMHosts<br>
</div></div></div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Mar 28, 2014 at 5:05 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>Hi, </div>
<div>Here is the output.</div>
<div><br>
</div>
<div>By the way, In VMHost:/var/lib/one/,  subdirectory datastores itself does not get created, let alone datastores/100</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>
<div>I see... we will take a look into it [1].</div>
<div>In case you want to play around with it, the script is located at /var/lib/one/remotes/im/<driver>/monitor_ds.sh</div>
<div><br>
</div>
<div>Best regards</div>
<div><br>
</div>
<div>[1] <a href="http://dev.opennebula.org/issues/2816" target="_blank">http://dev.opennebula.org/issues/2816</a><br>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">--<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-size:13px;font-family:arial,sans-serif"><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><span style="border-collapse:collapse;color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>


</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<div> </div>
<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></div>
<div>Thank you.</div>
<div>Hyunwoo KIM</div>
<div>FermiCloud Project</div>
<div><br>
</div>
<div>
<div>-bash-4.1$ onehost show -x 4</div>
<div><HOST></div>
<div>  <ID>4</ID></div>
<div>  <NAME>fgtest12</NAME></div>
<div>  <STATE>2</STATE></div>
<div>  <IM_MAD>kvm</IM_MAD></div>
<div>  <VM_MAD>kvm</VM_MAD></div>
<div>  <VN_MAD>dummy</VN_MAD></div>
<div>  <LAST_MON_TIME>1396022208</LAST_MON_TIME></div>
<div>  <CLUSTER_ID>101</CLUSTER_ID></div>
<div>  <CLUSTER>ipv6</CLUSTER></div>
<div>  <HOST_SHARE></div>
<div>    <DISK_USAGE>0</DISK_USAGE></div>
<div>    <MEM_USAGE>0</MEM_USAGE></div>
<div>    <CPU_USAGE>0</CPU_USAGE></div>
<div>    <MAX_DISK>0</MAX_DISK></div>
<div>    <MAX_MEM>16329064</MAX_MEM></div>
<div>    <MAX_CPU>400</MAX_CPU></div>
<div>    <FREE_DISK>0</FREE_DISK></div>
<div>    <FREE_MEM>15874132</FREE_MEM></div>
<div>    <FREE_CPU>397</FREE_CPU></div>
<div>    <USED_DISK>0</USED_DISK></div>
<div>    <USED_MEM>454932</USED_MEM></div>
<div>    <USED_CPU>2</USED_CPU></div>
<div>    <RUNNING_VMS>0</RUNNING_VMS></div>
<div>    <DATASTORES/></div>
<div>  </HOST_SHARE></div>
<div>  <VMS/></div>
<div>  <TEMPLATE></div>
<div>    <ARCH><![CDATA[x86_64]]></ARCH></div>
<div>    <CPUSPEED><![CDATA[2999]]></CPUSPEED></div>
<div>    <HOSTNAME><![CDATA[<a href="http://fgtest12.fnal.gov" target="_blank">fgtest12.fnal.gov</a>]]></HOSTNAME></div>
<div>    <HYPERVISOR><![CDATA[kvm]]></HYPERVISOR></div>
<div>    <MODELNAME><![CDATA[Intel(R) Xeon(R) CPU            5160  @ 3.00GHz]]></MODELNAME></div>
<div>    <NETRX><![CDATA[122068573]]></NETRX></div>
<div>    <NETTX><![CDATA[21559876]]></NETTX></div>
<div>    <VERSION><![CDATA[4.4.0]]></VERSION></div>
<div>  </TEMPLATE></div>
<div></HOST></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style="border-width:1pt medium medium;border-style:solid none none;padding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;border-top-color:rgb(181,196,223)">
<span style="font-weight:bold">From: </span>Carlos Martín Sánchez <<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>><br>
<span style="font-weight:bold">Date: </span>Friday, March 28, 2014 10:54 AM<br>
<span style="font-weight:bold">To: </span>Hyunwoo Kim <<a href="mailto:hyunwoo@fnal.gov" target="_blank">hyunwoo@fnal.gov</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>" <<a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a>><br>


<span style="font-weight:bold">Subject: </span>Re: [one-users] data store not created in VMHosts<br>
</div>
<div>
<div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Mar 27, 2014 at 9:57 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>Hi, </div>
<div><br>
</div>
<div>I am testing the data store feature of ON 4.4 in a very simple configuration</div>
<div>and I am getting an error that I can NOT understand.</div>
<div><br>
</div>
<div>I have one cluster with </div>
<div>one img type DS (ID 1, DS=fs, T/M=ssh) and </div>
<div>one sys type DS   (ID 100, that I created with ssh TM)</div>
<div><br>
</div>
<div>Then I attach one VMHost to this cluster.</div>
<div>According to the manual, the first deployment of VM creates</div>
<div>datastores/100 under /var/lib/one/, right?</div>
<div><br>
</div>
<div>But in my case, the first deployed VM is pending</div>
<div>with an error message in sched.log saying,</div>
<div>
<div> Local Datastore 100 in Host 8 filtered out. Not enough capacity.</div>
<div> No suitable System DS found for Host: 8. Filtering out host.</div>
</div>
<div><br>
</div>
<div>
<div>This VM gets deployed if I manually create this directory;</div>
</div>
<div>mkdir -p /var/lib/one/datastores/100</div>
<div><br>
</div>
<div>This error sometimes does not happen for a certain VMHost.</div>
<div><br>
</div>
<div>So, I would like to understand why datastores/ID is created in some VMHosts</div>
<div>and not in other VMHosts.</div>
<div><br>
</div>
<div>if the ON developers could point me at right codes to look at,</div>
<div>or describe what I am doing wrong, </div>
<div>it will be very helpful.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Hyuwoo Kim</div>
<div>FermiCloud</div>
</div>
</blockquote>
<div><br>
</div>
<div>The scheduler should take into account the space of /var/lib/one/datastores when ../100 does not exist. Can you send us the output of onehost show -x? </div>
<div><br>
</div>
<div>Regards</div>
<div>
<div>
<div dir="ltr">--<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-size:13px;font-family:arial,sans-serif"><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><span style="border-collapse:collapse;color:rgb(136,136,136);font-size:13px;font-family:arial,sans-serif"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>


</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div></div></span>
</div>

</blockquote></div><br></div></div>