Can you share the output of the following query:
$ psql -U engine -d engine -c "\x on" -c "select * from images where
image_group_id = '<disk_id>'"
On Mon, Jan 31, 2022 at 3:31 PM Nathanaël Blanchet <blanchet(a)abes.fr> wrote:
Hi all,
A colleague launched this morning a snapshot creation, there was no error message but he
wasn't able to start the vm anymore, with this issue : VM PSI-SYB-DEV is down with
error. Exit message: Unable to get volume size for domain
a5be6cae-f0c8-452f-b7cd-70d0e5eed710 volume 109fac1e-c2e3-4ba6-9867-5d1c94d3a447..
I tried many things but nothing works: it is impossible to remove this disk, or copy it,
or clone the vm :
Cannot detach Virtual Disk. The disk is already configured in a snapshot. In order to
detach it, remove the disk's snapshots.
There is no snaphost listed into webui or api (so not snapshot id), while disk_snapshots
exists into the associated storage domain.
So I tried to remove disks snapshot direvctly with API followind the DELETE method
DELETE /api/storagedomains/{storage_id}/disksnapshots/{image_id}
[Cannot remove Disk Snapshot. VM\'s Snapshot does not exist.]
In conclusion: vm_disks can't be removed because of the non existent associated
vm's snapshot id.
I tried to remove vm_snapshots disks references directly into the postgres DB but I
didn't find the correct table.
What can I do now?
Your precious help is welcome.
--
Nathanaël Blanchet
Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
_______________________________________________
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/WV3AJS4W5NA...