[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-02-01 Thread Benny Zlotnik
On Mon, Jan 31, 2022 at 7:29 PM Nathanaël Blanchet wrote: > > > it doesn't seem to exist: > > > image:ba2efe1a-8b83-4406-8711-7120b4bd11d0 > > - 08966754-0bb6-4c88-9ad6-35d6242fa380 > status: OK, voltype: LEAF, format: RAW, legality: LEGAL, > type: PREALLOCAT

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Nathanaël Blanchet
Le 31/01/2022 à 17:38, Benny Zlotnik a écrit : does their vm_snapshot_id exists in the snapshots table? do they exist on the storage? I suggest running $ vdsm-tool dump-volume-chain it doesn't seem to exist:    image:    ba2efe1a-8b83-4406-8711-7120b4bd11d0 - 08966754-0bb6

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Benny Zlotnik
does their vm_snapshot_id exists in the snapshots table? do they exist on the storage? I suggest running $ vdsm-tool dump-volume-chain And checking what the chain looks like there. In theory it's possible to remove them from the database, but the relationships between the images would need to

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Nathanaël Blanchet
Engine complains about 60087f63-6237-4419-a5dd-9a48c84c1c43 and 109fac1e-c2e3-4ba6-9867-5d1c94d3a447 Le 31/01/2022 à 16:26, Benny Zlotnik a écrit : I see all images have a vm_snapshot_id that's not null, do you know which image it complains about? It is possible that there is no corresponding e

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Benny Zlotnik
I see all images have a vm_snapshot_id that's not null, do you know which image it complains about? It is possible that there is no corresponding entry in the snapshots table, since I see there is foreign key On Mon, Jan 31, 2022 at 4:56 PM Nathanaël Blanchet wrote: > > engine=# select * from im

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Nathanaël Blanchet
Hello Le 31/01/2022 à 14:41, Gianluca Cecchi a écrit : On Mon, Jan 31, 2022 at 2:29 PM Nathanaël Blanchet 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-

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Nathanaël Blanchet
engine=# select * from images where image_group_id='ba2efe1a-8b83-4406-8711-7120b4bd11d0'; -[ RECORD 1 ]-+- image_guid    | 0bf72cb1-d90d-4b3d-bbfe-1e1c58a6ce46 creation_date | 2022-01-31 10:03:29.958+01 size  | 219902115

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Gianluca Cecchi
On Mon, Jan 31, 2022 at 2:29 PM Nathanaël Blanchet 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 fo

[ovirt-users] Re: no snaphot but engines complains there is one when trying to remove disk

2022-01-31 Thread Benny Zlotnik
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 = ''" On Mon, Jan 31, 2022 at 3:31 PM Nathanaël Blanchet wrote: > > Hi all, > > A colleague launched this morning a snapshot creation, there was no error > mess