# Cannot dispatch VM to any Host. Possible reasons: Not enough capacity in Host or System DS, dispatch limit reached, or limit of free leases reached

**URL:** <https://forum.opennebula.io/t/cannot-dispatch-vm-to-any-host-possible-reasons-not-enough-capacity-in-host-or-system-ds-dispatch-limit-reached-or-limit-of-free-leases-reached/13510>\
**Category:** Product Support\
**Created:** [January 29, 2025, 8:55am UTC](https://forum.opennebula.io/t/cannot-dispatch-vm-to-any-host-possible-reasons-not-enough-capacity-in-host-or-system-ds-dispatch-limit-reached-or-limit-of-free-leases-reached/13510 "2025-01-29T08:55:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![duck](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/duck/32/8426_2.png) [@duck](https://forum.opennebula.io/u/duck)\
**Post date:** [January 29, 2025, 8:55am UTC](https://forum.opennebula.io/t/cannot-dispatch-vm-to-any-host-possible-reasons-not-enough-capacity-in-host-or-system-ds-dispatch-limit-reached-or-limit-of-free-leases-reached/13510/1 "2025-01-29T08:55:23Z")

</div>

Hi everyone, I’m new to Opennebula. I decided to feel the system, how it works and how it all looks like.

Physical server data:  
System: Ubuntu 24.01 LTS  
Memory: 256GB  
Disks: RAID 1 (2pcs 480GB)

Deploying the system was not a problem, but the following difficulties arose - deploying the VM… I followed the [video tutorial](https://www.youtube.com/watch?v=okbZ13GYN10&t=386s&ab_channel=SLASHROOTID). I did exactly like this guy, it worked for him, but not for me.

File details /var/log/one/sched.log

```auto
Wed Jan 29 05:58:47 2025 [Z0][SCHED][DD]: Dispatching VMs to hosts. Total time: 0.02s
Wed Jan 29 05:59:02 2025 [Z0][VM][D]: Pending/rescheduling VM and capacity requirements:
  ACTION VM CPU Memory PCI System DS Image DS
------------------------------------------------------------
  DEPLOY 8 100 8388608 0 30000 DS 1: 0 

Wed Jan 29 05:59:02 2025 [Z0][HOST][D]: Discovered Hosts (enabled):
ID : 1
CLUSTER_ID : 0
PUBLIC : 0
MEM_USAGE : 0
CPU_USAGE : 0
MAX_MEM : 263974468
MAX_CPU : 4800
FREE_DISK : 71482
RUNNING_VMS : 0

 DSID FREE_MB 
------------------------------

    PCI ADDRESS CLASS VENDOR DEVICE VMID 
-------------------------------------------------------

---------------------------------------------------------------------------
Node: 0	Memory: 0/125G
---------------------------------------------------------------------------
( 0 24)( 1 25)( 2 26)( 3 27)( 4 28)( 5 29)( 6 30)( 7 31)( 8 32)( 9 33)(10 34)(11 35)
( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)
---------------------------------------------------------------------------
Node: 1	Memory: 0/125G
---------------------------------------------------------------------------
(12 36)(13 37)(14 38)(15 39)(16 40)(17 41)(18 42)(19 43)(20 44)(21 45)(22 46)(23 47)
( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)( - -)
---------------------------------------------------------------------------

Wed Jan 29 05:59:02 2025 [Z0][VM][D]: VMs in VMGroups:

Wed Jan 29 05:59:02 2025 [Z0][VNET][D]: Discovered VNETS:
      ID Leases 
--------------------
       0 1 

Wed Jan 29 05:59:02 2025 [Z0][SCHED][DD]: Getting VM and Host information. Total time: 0.03s
Wed Jan 29 05:59:02 2025 [Z0][VMGRP][DDD]: VM Group Scheduling information

Wed Jan 29 05:59:02 2025 [Z0][SCHED][DD]: Setting VM groups placement constraints. Total time: 0.00s
Wed Jan 29 05:59:02 2025 [Z0][RANK][DD]: Rank evaluation for expression : - RUNNING_VMS
Wed Jan 29 05:59:02 2025 [Z0][RANK][DD]: ID: 1 Rank: 0
Wed Jan 29 05:59:02 2025 [Z0][RANK][DD]: Rank evaluation for expression : FREE_MB
Wed Jan 29 05:59:02 2025 [Z0][RANK][DD]: ID: 0 Rank: 0
Wed Jan 29 05:59:02 2025 [Z0][RANK][DD]: ID: 100 Rank: 71482
Wed Jan 29 05:59:02 2025 [Z0][RANK][DD]: ID: 102 Rank: 71482
Wed Jan 29 05:59:02 2025 [Z0][RANK][DD]: ID: 103 Rank: 71482
Wed Jan 29 05:59:02 2025 [Z0][SCHED][DD]: Match Making statistics:
	Number of VMs: 1
	Total time: 0s
	Total Cluster Match time: 0s
	Total Host Match time: 0.00s
	Total Host Ranking time: 0.00s
	Total DS Match time: 0.00s
	Total DS Ranking time: 0.00s
	Total Network Match time: 0.00s
	Total Network Ranking time:0s

Wed Jan 29 05:59:02 2025 [Z0][SCHED][DDD]: Scheduling Results:
Virtual Machine: 8

	PRI	ID - HOSTS
	------------------------
	0	1

	PRI	ID - DATASTORES
	------------------------
	1	103
	1	102
	1	100
	0	0

Wed Jan 29 05:59:02 2025 [Z0][SCHED][DD]: Match scheduled resources, sort by priorities. Total time: 0.00s
Wed Jan 29 05:59:02 2025 [Z0][SCHED][DD]: Call external Scheduler. Total time: 0.00s
Wed Jan 29 05:59:02 2025 [Z0][VM][E]: Error deploying virtual machine 8 to HID: 1. Reason: [one.vm.deploy] Image Datastore does not support transfer mode: shared
Wed Jan 29 05:59:02 2025 [Z0][SCHED][D]: Dispatching VMs to hosts:

```

I would be very grateful if someone would respond and help me with this problem!

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [January 30, 2025, 2:31pm UTC](https://forum.opennebula.io/t/cannot-dispatch-vm-to-any-host-possible-reasons-not-enough-capacity-in-host-or-system-ds-dispatch-limit-reached-or-limit-of-free-leases-reached/13510/2 "2025-01-30T14:31:01Z")

</div>

Hello @duck

Welcome to this forum, hope we can help you in this journey.

My first suggestion would be check our tutorials (the “official” ones):

> **[Training: OpenNebula Operations 101 - January](https://www.youtube.com/live/0Bn9ZZH9cRw?feature=shared)**
>
> By attending this webinar, you will learn the basics of using OpenNebula. We will begin by exploring Sunstone, the OpenNebula GUI, and define what "Views" ar...

Where we cover basic operations.

Secondly, I would suggest to check our documentation.  
Specifically the troubleshooting: [Troubleshooting — OpenNebula 6.10.2 documentation](https://docs.opennebula.io/6.10/installation_and_configuration/opennebula_services/troubleshooting.html)

Ubuntu is well supported, so you should find a lot of info from our side. If you are using the graphic interface, you should be able to deploy the VMs without issues.

Let us know if you need more details or include more information on the steps you are following.

Cheers,

---

<div class="post-metadata">

**Author:** ![duck](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/duck/32/8426_2.png) [@duck](https://forum.opennebula.io/u/duck)\
**Post date:** [January 31, 2025, 10:30am UTC](https://forum.opennebula.io/t/cannot-dispatch-vm-to-any-host-possible-reasons-not-enough-capacity-in-host-or-system-ds-dispatch-limit-reached-or-limit-of-free-leases-reached/13510/3 "2025-01-31T10:30:04Z")

</div>

I thank you for the feedback, I’ll let you know how I do!
