# K3s stucked in "DEPLOYNG"

**URL:** <https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526>\
**Category:** Installation & Configuration\
**Created:** [May 13, 2021, 4:30pm UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526 "2021-05-13T16:30:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcogazzuolo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/marcogazzuolo/32/6972_2.png) [@marcogazzuolo](https://forum.opennebula.io/u/marcogazzuolo)\
**Post date:** [May 13, 2021, 4:30pm UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/1 "2021-05-13T16:30:50Z")

</div>

Hi all,

I’ve tried to set up a k3s on minione but it is still stucked in “DEPLOYNG”

 ![Screenshot_2021-05-13 OpenNebula Sunstone Cloud Operations Center](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/f/fb17566f85443e4c6be06f0afa2e47798d06c481.png)

following Marco Mancini steps

[![](https://img.youtube.com/vi/H3eNk5Eiq0Y/maxresdefault.jpg "OpenNebula Webinar - Presenting the New OpenNebula 6.0 "Mutara"") ](https://www.youtube.com/watch?v=H3eNk5Eiq0Y)

What could be wrong?  
Thanks in advance

Marco

---

<div class="post-metadata">

**Author:** ![mmancini](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mmancini/32/6468_2.png) [@mmancini](https://forum.opennebula.io/u/mmancini)\
**Post date:** [May 14, 2021, 7:47am UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/2 "2021-05-14T07:47:03Z")

</div>

Hi @marcogazzuolo

can you check the status of the server and agent VMs? You can go to the Instances-\>VMs tab and see their status. Is there any pending instance?

Thanks  
Marco

---

<div class="post-metadata">

**Author:** ![marcogazzuolo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/marcogazzuolo/32/6972_2.png) [@marcogazzuolo](https://forum.opennebula.io/u/marcogazzuolo)\
**Post date:** [May 15, 2021, 9:45pm UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/3 "2021-05-15T21:45:12Z")

</div>

Hi @mmancini,

in the logs i find  
Sat May 15 23:42:56 2021 [Z0][VM][D]: Found 1 pending/rescheduling VMs.  
Sat May 15 23:42:56 2021 [Z0][HOST][D]: Discovered 0 enabled hosts.  
Sat May 15 23:42:56 2021 [Z0][VM][D]: VMs in VMGroups:

Sat May 15 23:42:56 2021 [Z0][VNET][D]: Discovered 1 vnets.  
Sat May 15 23:42:56 2021 [Z0][SCHED][D]: Match-making results for VM 9:  
Cannot schedule VM, there is no suitable host.

Sat May 15 23:42:56 2021 [Z0][SCHED][D]: Dispatching VMs to hosts:  
VMID Priority Host System DS

and in the host page

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/b/b9701added7bb9e967cebc3182c2f8da2f035243.png)

but I’m not able to find out what is wrong…

---

<div class="post-metadata">

**Author:** ![marcogazzuolo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/marcogazzuolo/32/6972_2.png) [@marcogazzuolo](https://forum.opennebula.io/u/marcogazzuolo)\
**Post date:** [May 15, 2021, 10:13pm UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/4 "2021-05-15T22:13:44Z")

</div>

using manual deploy is running…  
but ip is missing

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/2/25ac06dc6aa3b6a9b91caaecaceb91cda87db39c.png)  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![marcogazzuolo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/marcogazzuolo/32/6972_2.png) [@marcogazzuolo](https://forum.opennebula.io/u/marcogazzuolo)\
**Post date:** [May 16, 2021, 4:46pm UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/5 "2021-05-16T16:46:58Z")

</div>

Hi @mmancini,

yes, this is the screeschot

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/f/f38ac00a803f3a5221b53154d4367dbeb8db961a.png)

Thanks  
Marco

---

<div class="post-metadata">

**Author:** ![mmancini](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mmancini/32/6468_2.png) [@mmancini](https://forum.opennebula.io/u/mmancini)\
**Post date:** [May 17, 2021, 11:17am UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/6 "2021-05-17T11:17:43Z")

</div>

Hi @marcogazzuolo

looking at the screeshots you posted, it seems to me that in your deployment you have an host with a kvm hypervisor. Also, if no IP is assigned that could mean that there is no network defined for the cluster where the service is deployed - the k3s VM template has the network defined in auto mode.

In order for the k3s service to work, you need a cluster with a firecracker hypervisor (the k3s service does not work with KVM!) and a network defined for that cluster. Then when you instantiate the k3s service, you can pass the name of the cluster (note: add double quotes before and after the name).

In order to try the k3s service, you could provision an edge cluster using FireEdge on AWS or Packet, choosing firecracker as virtualization technology; a public network will also be created. You can check the quick start guide where every step to run k3s clusters on the edge is explained [Running K3S Clusters — OpenNebula 6.0.1 documentation](https://docs.opennebula.io/6.0/quick_start/usage_basics/running_k3s_clusters.html)

I hope this can solve your issues.

Best  
Marco

---

<div class="post-metadata">

**Author:** ![marcogazzuolo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/marcogazzuolo/32/6972_2.png) [@marcogazzuolo](https://forum.opennebula.io/u/marcogazzuolo)\
**Post date:** [May 17, 2021, 3:03pm UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/7 "2021-05-17T15:03:43Z")

</div>

Hi @mmancini

how can I set PUBLIC\_CLOUD = FALSE?

Getting VM and Host information. Total time: 0.04s  
Mon May 17 17:02:58 2021 [Z0][VMGRP][D]: VM Group Scheduling information

Mon May 17 17:02:58 2021 [Z0][SCHED][D]: Setting VM groups placement constraints. Total time: 0.00s  
Mon May 17 17:02:58 2021 [Z0][SCHED][D]: Host 0 discarded for VM 13. It does not fulfill SCHED\_REQUIREMENTS: (CLUSTER\_ID = 0) & !(PUBLIC\_CLOUD = YES) & !(PIN\_POLICY = PINNED) & ( CLUSTER=“k3s-metal” )  
Mon May 17 17:02:58 2021 [Z0][SCHED][D]: Match-making results for VM 13: Cannot schedule VM, there is no suitable host.

Thanks  
Marco

---

<div class="post-metadata">

**Author:** ![mmancini](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mmancini/32/6468_2.png) [@mmancini](https://forum.opennebula.io/u/mmancini)\
**Post date:** [May 18, 2021, 6:46am UTC](https://forum.opennebula.io/t/k3s-stucked-in-deployng/9526/8 "2021-05-18T06:46:25Z")

</div>

Hi @marcogazzuolo,

can you paste the template of the VM 13? From the UI go to Instances-\>VMs, then select the VM 13 and then the template tab
