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.
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,