<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 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">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:0 0 0 .8ex;border-left:1px #ccc 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:06 2013 [SCHED][I]: Init Scheduler Log system<br>
Wed Dec 11 10:02:06 2013 [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:06 2013 [SCHED][I]: Starting scheduler loop...<br>
Wed Dec 11 10:02:06 2013 [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 class="HOEnZb"><div class="h5"><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:0 0 0 .8ex;border-left:1px #ccc 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:0 0 0 .8ex;border-left:1px #ccc 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>