Hi,

engine=# update vm_dynamic set status = 1 where vm_guid='7871067f-221c-48ed-a046-f49499ce9be4';
UPDATE 1

Seems like success, but it is not.

After few seconds:
engine=# select status from vm_dynamic where vm_guid='7871067f-221c-48ed-a046-f49499ce9be4';
 status 
--------
     10
(1 row)

Looks like oVirt Engine itself checks something and changes status to “10” (Rebooting) again.

Is it possible this is somehow related to "virtio-win-0.1.217” I installed recently on this Windows Server 2022 VM?

Thanks in advance for any suggestions.


On 26 May 2022, at 14:53, Liran Rotenberg <lrotenbe@redhat.com> wrote:



On Wed, May 25, 2022 at 5:52 PM Andrei Verovski <andreil1@starlett.lv> wrote:
Hi,

I have VM which have restarted successfully yet in oVirt web it is being shown with “Rebooting” status for a very long time.

I did:

su - postgres
psql engine
select vm_guid from vm_static where vm_name='WInServerTerminal-2022’;
engine=# select status from vm_dynamic where vm_guid='7871067f-221c-48ed-a046-f49499ce9be4';
 status
--------
     10
(1 row)

How to properly correct status from "Rebooting”?
Hi Andrei,
If you wish to change manually the VM status to 'UP' status you may use:
# update vm_dynamic set status = 1 where vm_guid='7871067f-221c-48ed-a046-f49499ce9be4';

The statuses are the following (VMStatus ENUM):
Unassigned(-1),
Down(0),
Up(1),
PoweringUp(2),
Paused(4),
MigratingFrom(5),
MigratingTo(6),
Unknown(7),
NotResponding(8),
WaitForLaunch(9),
RebootInProgress(10),
SavingState(11),
RestoringState(12),
Suspended(13),
ImageIllegal(14),
ImageLocked(15),
PoweringDown(16);

Regards,
Liran



Thanks in advance
Andrei
_______________________________________________
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/FSZZOMGVJACZHH3CTWW6HOLTTJXL76QN/