I would start by querying the database with:
select vm_name, status, run_on_vds from vms where vm_name in ('<name of
vm1>', '<name of vm2>');

Their status should be '7' in that case.
The more interesting part though is their 'run_on_vds' field -
If it's non-empty and points to the host the VMs ran on, it probably means
there's an issue in the communication between the engine and that host, so
restarting the engine/vdsm can solve it.
Otherwise, it would require a deeper look at the log to see why the engine
lost track of the host they run on.

On Fri, Apr 17, 2020 at 12:12 PM Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> I don't think the status is reported via the agent but vdsm on the host.
>
> Try restarting the engine service.
>
> use vdsm-client  on the host to see if the VM running and shut it down if
> needed.
>
> https://www.ovirt.org/develop/developer-guide/vdsm/vdsm-client.html
>
> on the host restart vdsmd ( you may want to migrate other VMs first)
>
> systemctl restart vdsmd
>
> If this doesn't work alter the database
>
> Regards,
>                 Paul S.
>
> ------------------------------
> *From:* Jayme <jay...@gmail.com>
> *Sent:* 16 April 2020 19:07
> *To:* eev...@digitaldatatechs.com <eev...@digitaldatatechs.com>
> *Cc:* kim.karga...@noroff.no <kim.karga...@noroff.no>; users <
> users@ovirt.org>
> *Subject:* [ovirt-users] Re: VM's in status unknown
>
>
> *Caution External Mail:* Do not click any links or open any attachments
> unless you trust the sender and know that the content is safe.
> Do you have the guest agent installed on the VMs?
>
> On Thu, Apr 16, 2020 at 2:55 PM <eev...@digitaldatatechs.com> wrote:
>
> Are you getting any errors in the engine log or
> /var/log/libvirt/qemu/<vm_name>.log?
> I have Windows 10 and haven't experienced that. You can't shut it down in
> the UI? Even after you try to shut it down inside Windows?
> I will assume you have the latest guest tools installed.
>
> Eric Evans
> Digital Data Services LLC.
> 304.660.9080
>
>
> -----Original Message-----
> From: kim.karga...@noroff.no <kim.karga...@noroff.no>
> Sent: Thursday, April 16, 2020 8:23 AM
> To: users@ovirt.org
> Subject: [ovirt-users] VM's in status unknown
>
> Hi,
>
> We have a few Windows 10 VM's running on our ovirt 4.3, where when you
> shutdown the VM from within Windows, that VM does not shut down but gets a
> status of unknown in ovirt and one cannot do anything to the machines
> within the web gui. This seems to specfically be related to that Windows 10
> template that we have created. Any ideas? Also, any ideas on how one can
> shut these machines down?
>
> Thanks
>
> Kim
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org Privacy Statement:
> https://www.ovirt.org/privacy-policy.html
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fprivacy-policy.html&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ca7438bbd12e94d26f24508d7e234a0f5%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637226587978407454&sdata=Zd7t3gConjsTUfY8ggp9hXp%2FqzcPc2BKJT84lIlL6so%3D&reserved=0>
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ca7438bbd12e94d26f24508d7e234a0f5%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637226587978417451&sdata=pARfWxoG91mpExKhh0jZjOjXZ%2FTkQteLOJ5x9V257p0%3D&reserved=0>
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/UM26TABUTG373QVXEI4UJN3EAKANLWHL/
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FUM26TABUTG373QVXEI4UJN3EAKANLWHL%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ca7438bbd12e94d26f24508d7e234a0f5%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637226587978417451&sdata=eKT6NJf%2FFthtdo8sk9KSSi9ukI%2BnTARjtm3aAdSq5wI%3D&reserved=0>
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fprivacy-policy.html&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ca7438bbd12e94d26f24508d7e234a0f5%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637226587978427440&sdata=0nQz%2FYByj7qj3bOSgcj98%2FhoF6f%2F5%2B63%2BvAHGsiMmBw%3D&reserved=0>
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ca7438bbd12e94d26f24508d7e234a0f5%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637226587978427440&sdata=FwwL3Mk6kTIOT8TcO8WNMMwikeLGEp6Oc0jLfKVSIeQ%3D&reserved=0>
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/M4LITHLIZXJDTZACENZX4NLO7LSB6VAM/
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FM4LITHLIZXJDTZACENZX4NLO7LSB6VAM%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Ca7438bbd12e94d26f24508d7e234a0f5%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637226587978427440&sdata=zqgPRM7Ykib3sxUYDyW1nRKuEUz1N6Num9n2OZrYSdY%3D&reserved=0>
>
> To view the terms under which this email is distributed, please go to:-
> http://leedsbeckett.ac.uk/disclaimer/email/
>
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/E73FVYRYWVNAWNXP52TWQXBXUO35GMQV/
>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/VVJSYQBK4G6WQYIQYZOYNHUOMY5WXW46/

Reply via email to