[one-users] No system datastore with enough capacity form the VM

Carlos Martín Sánchez cmartin at opennebula.org
Thu Dec 12 04:34:19 PST 2013


So the scheduler thinks that the VM needs 100 GB in the system DS instead
of the ceph image DS.
Could you please paste the output of onedatastore show 100 & 104 ?

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Wed, Dec 11, 2013 at 8:53 PM, Mario Giammarco <mgiammarco at gmail.com>wrote:

> Here are some parts of the log, please note that I tried two things:
>
> - clean some requirements of the vm (datastore rank stripping);
> - adding another system datastore (I have one shared and one ssh);
> - please also note that system datastore with id 0 was never used because
> it was not part of the cluster or "public";
> - I have also deleted and recreated VM;
>
> Wed Dec 11 10:02:06 2013 [SCHED][I]: Init Scheduler Log system
> Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting Scheduler Daemon
> ----------------------------------------
>      Scheduler Configuration File
> ----------------------------------------
> DEFAULT_DS_SCHED=POLICY=1
> DEFAULT_SCHED=POLICY=1
> HYPERVISOR_MEM=0.1
> LIVE_RESCHEDS=0
> LOG=DEBUG_LEVEL=3,SYSTEM=file
> MAX_DISPATCH=30
> MAX_HOST=1
> MAX_VM=5000
> ONED_PORT=2633
> SCHED_INTERVAL=30
> ----------------------------------------
> Wed Dec 11 10:02:06 2013 [SCHED][I]: Starting scheduler loop...
> Wed Dec 11 10:02:06 2013 [SCHED][I]: Scheduler loop started.
> Wed Dec 11 10:08:36 2013 [VM][D]: Pending/rescheduling VM and capacity
> requirements:
>       VM  CPU      Memory   System DS  Image DS
> ------------------------------------------------------------
>        4  100      524288           0  DS 100: 0
> Wed Dec 11 10:08:36 2013 [HOST][D]: Discovered Hosts (enabled):
>  0
> Wed Dec 11 10:08:36 2013 [SCHED][D]: VM 4: Datastore 0 filtered out. It
> does not fulfill SCHED_DS_REQUIREMENTS.
> Wed Dec 11 10:08:36 2013 [SCHED][I]: Scheduling Results:
> Virtual Machine: 4
>
>         PRI     ID - HOSTS
>         ------------------------
>         0       0
>
>         PRI     ID - DATASTORES
>         ------------------------
>         1       104
>
> Wed Dec 11 10:08:36 2013 [VM][I]: Dispatching VM 4 to host 0 and datastore
> 104
> Wed Dec 11 10:10:35 2013 [VM][D]: Pending/rescheduling VM and capacity
> requirements:
>       VM  CPU      Memory   System DS  Image DS
> ------------------------------------------------------------
>        5  100      524288           0  DS 100: 0
> Wed Dec 11 10:10:35 2013 [HOST][D]: Discovered Hosts (enabled):
>  0
> Wed Dec 11 10:10:35 2013 [SCHED][D]: VM 5: Datastore 0 filtered out. It
> does not fulfill SCHED_DS_REQUIREMENTS.
> Wed Dec 11 10:10:35 2013 [SCHED][I]: Scheduling Results:
> Virtual Machine: 5
>
>         PRI     ID - HOSTS
>         ------------------------
>         0       0
>
>         PRI     ID - DATASTORES
>         ------------------------
>         1       104
>
>
> Wed Dec 11 10:10:35 2013 [VM][I]: Dispatching VM 5 to host 0 and datastore
> 104
> Wed Dec 11 11:24:20 2013 [VM][D]: Pending/rescheduling VM and capacity
> requirements:
>       VM  CPU      Memory   System DS  Image DS
> ------------------------------------------------------------
>        6  100     1048576      102400  DS 100: 0
> Wed Dec 11 11:24:20 2013 [HOST][D]: Discovered Hosts (enabled):
>  0
> Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 0 filtered out. It
> does not fulfill SCHED_DS_REQUIREMENTS.
> Wed Dec 11 11:24:20 2013 [SCHED][D]: VM 6: Datastore 104 filtered out. Not
> enough capacity.
> Wed Dec 11 11:24:20 2013 [SCHED][I]: Scheduling Results:
>
> Wed Dec 11 11:24:50 2013 [VM][D]: Pending/rescheduling VM and capacity
> requirements:
>       VM  CPU      Memory   System DS  Image DS
> ------------------------------------------------------------
>        6  100     1048576      102400  DS 100: 0
> Wed Dec 11 11:24:50 2013 [HOST][D]: Discovered Hosts (enabled):
>
> ...........
> ...........
>
>
>
>
> ed Dec 11 20:51:20 2013 [SCHED][I]: Scheduling
> Results:
>
> Virtual Machine:
> 7
>
>
>         PRI     ID - HOSTS
>         ------------------------
>         0       0
>
>         PRI     ID - DATASTORES
>         ------------------------
>         0       105
>
>
> Wed Dec 11 20:51:20 2013 [SCHED][D]: VM 7: Local Datastore 105 in Host 0
> filtered out. Not enough capacity.
> Wed Dec 11 20:51:20 2013 [SCHED][I]: VM 7: No suitable System DS found for
> Host: 0. Filtering out host.
> Wed Dec 11 20:51:50 2013 [VM][D]: Pending/rescheduling VM and capacity
> requirements:
>       VM  CPU      Memory   System DS  Image DS
> ------------------------------------------------------------
>        7  100     1048576      102400  DS 100: 0
> Wed Dec 11 20:51:50 2013 [HOST][D]: Discovered Hosts (enabled):
>  0
> Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Datastore 0 filtered out. It
> does not fulfill SCHED_DS_REQUIREMENTS.
> Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Datastore 104 filtered out. Not
> enough capacity.
> Wed Dec 11 20:51:50 2013 [SCHED][I]: Scheduling Results:
> Virtual Machine: 7
>
>         PRI     ID - HOSTS
>         ------------------------
>         0       0
>
>         PRI     ID - DATASTORES
>         ------------------------
>         0
> 105
>
>
>
>
>
> Wed Dec 11 20:51:50 2013 [SCHED][D]: VM 7: Local Datastore 105 in Host 0
> filtered out. Not enough capacity.
> Wed Dec 11 20:51:50 2013 [SCHED][I]: VM 7: No suitable System DS found for
> Host: 0. Filtering out host.
>
>
>
> 2013/12/11 Carlos Martín Sánchez <cmartin at opennebula.org>
>
>> Hi,
>>
>> Could you paste the contents of the /var/log/one/sched.log file?
>> It should have the amount of space that the VM needs for the system and
>> image datastores.
>>
>> Regards.
>>
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>>
>>
>> On Wed, Dec 11, 2013 at 12:31 PM, Mario Giammarco <mgiammarco at gmail.com>wrote:
>>
>>> Hello,
>>> I have created a 100gb image on ceph.
>>> My system datastore have few gb free.
>>> But image is on ceph so it should not check system datastore free space!
>>>
>>> I will never have a lot of space on system datastore!
>>>
>>> Thanks,
>>> Mario
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131212/3e4ca631/attachment-0002.htm>


More information about the Users mailing list