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.Staniforth(a)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 <jaymef(a)gmail.com>
*Sent:* 16 April 2020 19:07
*To:* eevans(a)digitaldatatechs.com <eevans(a)digitaldatatechs.com>
*Cc:* kim.kargaard(a)noroff.no <kim.kargaard(a)noroff.no>; users <
users(a)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 <eevans(a)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.kargaard(a)noroff.no <kim.kargaard(a)noroff.no>
Sent: Thursday, April 16, 2020 8:23 AM
To: users(a)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(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org Privacy Statement:
https://www.ovirt.org/privacy-policy.html
<
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovi...
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovi...
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UM26TABUTG3...
<
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.o...
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
<
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovi...
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovi...
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/M4LITHLIZXJ...
<
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.o...
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/E73FVYRYWVN...