Project

General

Profile

Actions

Bug #15491

closed

Deleting a powered on virtual machine hosted on oVirt doesn't work

Added by Sherif Nagy over 8 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

Since oVirt 3.6.X released, foreman can't delete the VM while it's powered on, to replicate:

- Have a machine running on oVirt " that has been provisioned by foreman"
- Go to the host details page
- Click delete
- The machine will be powered off but not deleted " [app] [W] Failed to destroy a compute Cetus (oVirt) instance XXXXXXXXX: Cannot remove VM. VM is running. "
- Check the VM, still exists but foreman managed to turn it off.
- Delete the machine again " while it is powered off " everything works fine and the machine gets deleted

my guess that oVirt might be taking a bit of a longer time to shutdown the VM and foreman doesn't wait long enough ?

Regards,
Sherif


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #15441: [oVirt] "VM is running" error when deleting hostClosedIvan Necas06/16/2016Actions
Actions

Also available in: Atom PDF