<div dir="ltr"><div><div><div><div><div><div>Thank you for your explanation.<br></div>Infact I have already found it by trial and error.<br></div>I usually read documentation (and I have read the big opennebula documentation).<br>
But, as I have already said in an other post, probably because I am new to cloud virtualization systems (I am used to standard virtualization like vmware), even reading documentation I cannot understand easily several concepts:<br>
<br></div>- difference among persistent/non persistent/volatile;<br></div>- why I need to create a template and I cannot create virtual machines directly;<br><br></div>So I wonder if there is a tutorial on using cloud systems or something similar.<br>
<br></div>Thanks again,<br>Mario<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/16 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br>On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco <span dir="ltr"><<a href="mailto:mgiammarco@gmail.com" target="_blank">mgiammarco@gmail.com</a>></span> wrote:<div class="im">
<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 dir="ltr"><div><div><div>I have done other tests.<br></div>If I use a premade image from marketplace all works.<br></div>The problem is that I have tried to install an so from scratch (windows) and I have created a volatile disk.<br>


</div>Probably it is my fault but I still do not understand how to put all my vm in ceph filesystem.</div></blockquote><div><br></div></div><div>That's the problem. Volatile disks are created in the system datastore. To install a new OS you need to create an empty datablock persistent image [1], because volatile disks are always disposed when the VM is deleted.</div>


<div class="gmail_extra"><br></div><div class="gmail_extra">Regards</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="http://opennebula.org/documentation:rel4.4:img_guide#making_images_persistent" target="_blank">http://opennebula.org/documentation:rel4.4:img_guide#making_images_persistent</a></div>


<div class="gmail_extra">[2] <a href="http://opennebula.org/documentation:rel4.4:template#disks_section" target="_blank">http://opennebula.org/documentation:rel4.4:template#disks_section</a><div class="im"><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" style="color:rgb(42,93,176)" target="_blank"></a></span></div>


</div></div></div>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Fri, Dec 13, 2013 at 7:04 PM, Mario Giammarco <span dir="ltr"><<a href="mailto:mgiammarco@gmail.com" target="_blank">mgiammarco@gmail.com</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 dir="ltr"><div><div><div>I have done other tests.<br></div>If I use a premade image from marketplace all works.<br></div>The problem is that I have tried to install an so from scratch (windows) and I have created a volatile disk.<br>



</div>Probably it is my fault but I still do not understand how to put all my vm in ceph filesystem.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>2013/12/12 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span><br>



</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 dir="ltr">So the scheduler thinks that the VM needs 100 GB in the system DS instead of the ceph image DS.<div>


Could you please paste the output of onedatastore show 100 & 104 ?</div>
<div><br></div><div>Regards</div>

<div class="gmail_extra"><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-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" style="color:rgb(42,93,176)" target="_blank"></a></span></div>





</div></div></div>
<br><br></div><div><div><div class="gmail_quote">On Wed, Dec 11, 2013 at 8:53 PM, Mario Giammarco <span dir="ltr"><<a href="mailto:mgiammarco@gmail.com" target="_blank">mgiammarco@gmail.com</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 dir="ltr"><div><div><div><div>Here are some parts of the log, please note that I tried two things:<br><br></div>- clean some requirements of the vm (datastore rank stripping);<br></div>- adding another system datastore (I have one shared and one ssh);<br>






</div>- please also note that system datastore with id 0 was never used because it was not part of the cluster or "public";<br></div>- I have also deleted and recreated VM;<br><div><div><br>Wed Dec 11 10:02:<a href="tel:06%202013" value="+39062013" target="_blank">06 2013</a> [SCHED][I]: Init Scheduler Log system<br>






Wed Dec 11 10:02:<a href="tel:06%202013" value="+39062013" target="_blank">06 2013</a> [SCHED][I]: Starting Scheduler Daemon<br>----------------------------------------<br>     Scheduler Configuration File<br>----------------------------------------<br>



DEFAULT_DS_SCHED=POLICY=1<br>

DEFAULT_SCHED=POLICY=1<br>
HYPERVISOR_MEM=0.1<br>LIVE_RESCHEDS=0<br>LOG=DEBUG_LEVEL=3,SYSTEM=file<br>MAX_DISPATCH=30<br>MAX_HOST=1<br>MAX_VM=5000<br>ONED_PORT=2633<br>SCHED_INTERVAL=30<br>----------------------------------------<br>Wed Dec 11 10:02:<a href="tel:06%202013" value="+39062013" target="_blank">06 2013</a> [SCHED][I]: Starting scheduler loop...<br>






Wed Dec 11 10:02:<a href="tel:06%202013" value="+39062013" target="_blank">06 2013</a> [SCHED][I]: Scheduler loop started.<br>Wed Dec 11 10:08:36 2013 [VM][D]: Pending/rescheduling VM and capacity requirements:<br>      VM  CPU      Memory   System DS  Image DS<br>



------------------------------------------------------------<br>


       4  100      524288           0  DS 100: 0<br>Wed Dec 11 10:08:36 2013 [HOST][D]: Discovered Hosts (enabled):<br> 0<br>Wed Dec 11 10:08:36 2013 [SCHED][D]: VM 4: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS.<br>






Wed Dec 11 10:08:36 2013 [SCHED][I]: Scheduling Results:<br>Virtual Machine: 4<br><br>        PRI     ID - HOSTS<br>        ------------------------<br>        0       0<br><br>        PRI     ID - DATASTORES<br>        ------------------------<br>






        1       104<br><br>Wed Dec 11 10:08:36 2013 [VM][I]: Dispatching VM 4 to host 0 and datastore 104<br>Wed Dec 11 10:10:35 2013 [VM][D]: Pending/rescheduling VM and capacity requirements:<br>      VM  CPU      Memory   System DS  Image DS<br>






------------------------------------------------------------<br>       5  100      524288           0  DS 100: 0<br>Wed Dec 11 10:10:35 2013 [HOST][D]: Discovered Hosts (enabled):<br> 0<br>Wed Dec 11 10:10:35 2013 [SCHED][D]: VM 5: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS.<br>






Wed Dec 11 10:10:35 2013 [SCHED][I]: Scheduling Results:<br>Virtual Machine: 5<br><br>        PRI     ID - HOSTS<br>        ------------------------<br>        0       0<br><br>        PRI     ID - DATASTORES<br>        ------------------------<br>






        1       104<br><br><br>Wed Dec 11 10:10:35 2013 [VM][I]: Dispatching VM 5 to host 0 and datastore 104<br>Wed Dec 11 11:24:20 2013 [VM][D]: Pending/rescheduling VM and capacity requirements:<br>      VM  CPU      Memory   System DS  Image DS<br>






------------------------------------------------------------<br>       6  100     1048576      102400  DS 100: 0<br>Wed Dec 11 11:24:20 2013 [HOST][D]: Discovered Hosts (enabled):<br> 0<br>Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS.<br>






Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 104 filtered out. Not enough capacity.<br>Wed Dec 11 11:24:20 2013 [SCHED][I]: Scheduling Results:<br><br>Wed Dec 11 11:24:50 2013 [VM][D]: Pending/rescheduling VM and capacity requirements:<br>






      VM  CPU      Memory   System DS  Image DS<br>------------------------------------------------------------<br>       6  100     1048576      102400  DS 100: 0<br>Wed Dec 11 11:24:50 2013 [HOST][D]: Discovered Hosts (enabled):<br>






<br>...........<br>...........<br><br><br><br><br>ed Dec 11 20:51:20 2013 [SCHED][I]: Scheduling Results:                                                                                      <br>Virtual Machine: 7                                                                                                                            <br>






<br>        PRI     ID - HOSTS<br>        ------------------------<br>        0       0<br><br>        PRI     ID - DATASTORES<br>        ------------------------<br>        0       105<br><br><br>Wed Dec 11 20:51:20 2013 [SCHED][D]: VM 7: Local Datastore 105 in Host 0 filtered out. Not enough capacity.<br>






Wed Dec 11 20:51:20 2013 [SCHED][I]: VM 7: No suitable System DS found for Host: 0. Filtering out host.<br>Wed Dec 11 20:51:50 2013 [VM][D]: Pending/rescheduling VM and capacity requirements:<br>      VM  CPU      Memory   System DS  Image DS<br>






------------------------------------------------------------<br>       7  100     1048576      102400  DS 100: 0<br>Wed Dec 11 20:51:50 2013 [HOST][D]: Discovered Hosts (enabled):<br> 0<br>Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS.<br>






Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Datastore 104 filtered out. Not enough capacity.<br>Wed Dec 11 20:51:50 2013 [SCHED][I]: Scheduling Results:<br>Virtual Machine: 7<br><br>        PRI     ID - HOSTS<br>        ------------------------<br>






        0       0<br><br>        PRI     ID - DATASTORES<br>        ------------------------<br>        0       105                                                                                                                           <br>






                                                                                                                                              <br>                                                                                                                                              <br>






Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Local Datastore 105 in Host 0 filtered out. Not enough capacity.<br>Wed Dec 11 20:51:50 2013 [SCHED][I]: VM 7: No suitable System DS found for Host: 0. Filtering out host.<br>                                                      <br>






</div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/11 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span><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 dir="ltr">Hi,<div><br></div><div>Could you paste the contents of the /var/log/one/sched.log file?</div>


<div>It should have the amount of space that the VM needs for the system and image datastores.</div>



<div><br></div>

<div>Regards.</div></div><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-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" style="color:rgb(42,93,176)" target="_blank"></a></span></div>








</div></div></div>
<br><br><div class="gmail_quote"><div><div>On Wed, Dec 11, 2013 at 12:31 PM, Mario Giammarco <span dir="ltr"><<a href="mailto:mgiammarco@gmail.com" target="_blank">mgiammarco@gmail.com</a>></span> wrote:<br>
</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><div>

<div dir="ltr"><div><div><div><div>Hello,<br></div>I have created a 100gb image on ceph.<br>My system datastore have few gb free.<br>But image is on ceph so it should not check system datastore free space!<br><br></div>I will never have a lot of space on system datastore!<br>









<br></div>Thanks,<br></div>Mario<br></div>
<br></div></div>_______________________________________________<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>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>