On Tue, Sep 29, 2020 at 11:46 AM Raphael Höser <raphael@hoeser.info> wrote:
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.

The steps to overcome this situation were summarized in [1]
The discussion on a proper fix for that takes place in [2]

[1] https://www.mail-archive.com/users@ovirt.org/msg62928.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1880251
 
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/KGWETDMWLPWW62AUBPYF2REH6SITTICZ/