# Harvester VM stuck on terminating

**URL:** <https://forums.suse.com/t/harvester-vm-stuck-on-terminating/40125>\
**Category:** SUSE Virtualization\
**Created:** [February 27, 2023, 5:32pm UTC](https://forums.suse.com/t/harvester-vm-stuck-on-terminating/40125 "2023-02-27T17:32:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdamJSoftware](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/adamjsoftware/32/9882_2.png) [@AdamJSoftware](https://forums.suse.com/u/AdamJSoftware)\
**Post date:** [February 27, 2023, 5:32pm UTC](https://forums.suse.com/t/harvester-vm-stuck-on-terminating/40125/1 "2023-02-27T17:32:29Z")

</div>

One of my VM’s crashed so it stopped itself. However, it wouldn’t leave the stopping phase no matter what I did. So I tried deleting it after backing up the volume and now it’s stuck in the terminating phase.

![harvester-bug](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/7/76b22e411b0fe28bb14c6131fc4f2ec3acd028be.png)

**Environment**

- Harvester ISO version: 1.1.1
- Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Supermicro HS11 + AMD EPYC 7551P

**Additional context**  
One of my nodes stopped due to a power outage (VM was running on another node though). Don’t think it’s the issue though but guess it’s worth mentioning.

---

<div class="post-metadata">

**Author:** ![drokath](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/drokath/32/10404_2.png) [@drokath](https://forums.suse.com/u/drokath)\
**Post date:** [July 28, 2023, 8:00pm UTC](https://forums.suse.com/t/harvester-vm-stuck-on-terminating/40125/2 "2023-07-28T20:00:55Z")

</div>

Hey,  
I just had a similar issue earlier this week.  
The VM could be cloned and launched but i wanted to properly stop and restart the VM.  
So this is what i did:

```auto
# Connect to the node ssh rancher@<IP>
sudo bash
kubectl get -n <namespace> virtualmachineinstances.kubevirt.io
# Confirmed the pod is Terminating  
# Now: because kubevirt create a VM as two seperate kubernetes resources VM and VMInstance you can just kill the corresponding pod 
kubectl delete virtualmachineinstances.kubevirt.io -n <namespace> <yourvmname>
# Kubernetes will spinup a fresh instance of your vm
# I did had to use the --force in my case though not sure what would could be the unintended consequences 

```
