I have a VM which was send a "Reboot" and "Shutdown" command in short
succession (two admins who were not thinking the same way) and now the VM is Stuck in
"Rebooting".
It has no Host assigned and when trying to turn it of (via Shutdown or Power Off) it gives
this error:
Sep 29, 2020, 10:27:10 AM
Failed to power off VM <vm_name> (Host: <UNKNOWN>, User:
admin@internal-authz).
The engine logs don't provide more info either:
2020-09-29 10:42:18,628+02 INFO [org.ovirt.engine.core.bll.StopVmCommand]
(EE-ManagedThreadFactory-engine-Thread-68681) [d4c6547e-c326-4907-8c34-36fd5ab81dfa]
Running command: StopVmCommand internal: false. Entities affected : ID:
55edef7a-7a0b-42f0-a98f-9150103fa0b1 Type: VMAction group STOP_VM with role type USER
2020-09-29 10:42:18,628+02 WARN [org.ovirt.engine.core.bll.StopVmCommand]
(EE-ManagedThreadFactory-engine-Thread-68681) [d4c6547e-c326-4907-8c34-36fd5ab81dfa]
Strange, according to the status 'RebootInProgress' virtual machine
'55edef7a-7a0b-42f0-a98f-9150103fa0b1' should be running in a host but it
isn't.
2020-09-29 10:42:18,635+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engine-Thread-68681) [d4c6547e-c326-4907-8c34-36fd5ab81dfa]
EVENT_ID: USER_FAILED_STOP_VM(56), Failed to power off VM degum-ci-windows3 (Host:
<UNKNOWN>, User: admin@internal-authz).
What steps can I do to resolve this?
I do not need to restore this machine, I'm totally fine with just deleting it, but it
may not impact other running machines.