VM deleted from Foreman but not deleted from Hypervisor (oVirt & VMware Provider)

**Problem: VM getting deleted from Foreman but not deleted from Hypervisor (oVirt & VMware Provider). I’m using Foreman v3.1.3 version & I can say it major bug in Foreman

**Expected outcome: VM should be deleted from both providers (oVirt & VMware)

**Foreman and Proxy versions: 3.1.3 & 3.1.3-rc3

Hello @rahul,
Are you sure you have
destroy_vm_on_host_delete global setting set accordingly?

You can find it under:
Administer > Settings > Provisioning.

Good luck!

5 Likes

destroy_vm_on_host_delete setting was OFF so turned it ON now I’m able to delete VM from Hypervisor. Thanks @rplevka for your solution.