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@abes.fr