[ovirt-users] Re: VM Snapshot inconsistent

2020-07-30 Thread Arsène Gschwind
On Thu, 2020-07-23 at 15:17 +0300, Benny Zlotnik wrote: I think you can remove 6197b30d-0732-4cc7-aef0-12f9f6e9565b from images and the corresponding snapshot, and set the parent, 8e412b5a-85ec-4c53-a5b8-dfb4d6d987b8 as active (active = 't' field), and change its snapshot to be active snapshot.

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-23 Thread Benny Zlotnik
I think you can remove 6197b30d-0732-4cc7-aef0-12f9f6e9565b from images and the corresponding snapshot, and set the parent, 8e412b5a-85ec-4c53-a5b8-dfb4d6d987b8 as active (active = 't' field), and change its snapshot to be active snapshot. That is if I correctly understand the current layout, that

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-22 Thread Arsène Gschwind
Please find the result: psql -d engine -c "\x on" -c "select * from images where image_group_id = 'd7bd480d-2c51-4141-a386-113abf75219e';" Expanded display is on. -[ RECORD 1 ]-+- image_guid| 8e412b5a-85ec-4c53-a5b8-dfb4d6d987b8

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-21 Thread Benny Zlotnik
I forgot to add the `\x on` to make the output readable, can you run it with: $ psql -U engine -d engine -c "\x on" -c "" On Mon, Jul 20, 2020 at 2:50 PM Arsène Gschwind wrote: > Hi, > > Please find the output: > > select * from images where image_group_id = >

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-20 Thread Arsène Gschwind
Hi, Please find the output: select * from images where image_group_id = 'd7bd480d-2c51-4141-a386-113abf75219e'; image_guid | creation_date | size | it_guid| parentid | imagestatus |

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-19 Thread Benny Zlotnik
Sorry, I only replied to the question, in addition to removing the image from the images table, you may also need to set the parent as the active image and remove the snapshot referenced by this image from the database. Can you provide the output of: $ psql -U engine -d engine -c "select * from

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-19 Thread Benny Zlotnik
It can be done by deleting from the images table: $ psql -U engine -d engine -c "DELETE FROM images WHERE image_guid = '6197b30d-0732-4cc7-aef0-12f9f6e9565b'"; of course the database should be backed up before doing this On Fri, Jul 17, 2020 at 6:45 PM Nir Soffer wrote: > > On Thu, Jul 16,

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-17 Thread Nir Soffer
On Thu, Jul 16, 2020 at 11:33 AM Arsène Gschwind wrote: > It looks like the Pivot completed successfully, see attached vdsm.log. > Is there a way to recover that VM? > Or would it be better to recover the VM from Backup? This what we see in the log: 1. Merge request recevied 2020-07-13

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-17 Thread Nir Soffer
On Thu, Jul 16, 2020 at 11:33 AM Arsène Gschwind wrote: > > On Wed, 2020-07-15 at 22:54 +0300, Nir Soffer wrote: > > On Wed, Jul 15, 2020 at 7:54 PM Arsène Gschwind > > < > > arsene.gschw...@unibas.ch > > > wrote: > > > On Wed, 2020-07-15 at 17:46 +0300, Nir Soffer wrote: > > > What we see in the

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Nir Soffer
On Wed, Jul 15, 2020 at 7:54 PM Arsène Gschwind wrote: > > On Wed, 2020-07-15 at 17:46 +0300, Nir Soffer wrote: > > What we see in the data you sent: > > > Qemu chain: > > > $ qemu-img info --backing-chain > > /dev/33777993-a3a5-4aad-a24c-dfe5e473faca/6197b30d-0732-4cc7-aef0-12f9f6e9565b > >

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Arsène Gschwind
On Wed, 2020-07-15 at 17:46 +0300, Nir Soffer wrote: What we see in the data you sent: Qemu chain: $ qemu-img info --backing-chain /dev/33777993-a3a5-4aad-a24c-dfe5e473faca/6197b30d-0732-4cc7-aef0-12f9f6e9565b image:

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Nir Soffer
What we see in the data you sent: Qemu chain: $ qemu-img info --backing-chain /dev/33777993-a3a5-4aad-a24c-dfe5e473faca/6197b30d-0732-4cc7-aef0-12f9f6e9565b image: /dev/33777993-a3a5-4aad-a24c-dfe5e473faca/6197b30d-0732-4cc7-aef0-12f9f6e9565b file format: qcow2 virtual size: 150G (161061273600

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Arsène Gschwind
On Wed, 2020-07-15 at 16:28 +0300, Nir Soffer wrote: On Wed, Jul 15, 2020 at 4:00 PM Arsène Gschwind < arsene.gschw...@unibas.ch > wrote: On Wed, 2020-07-15 at 15:42 +0300, Nir Soffer wrote: On Wed, Jul 15, 2020 at 3:12 PM Arsène Gschwind <

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Nir Soffer
On Wed, Jul 15, 2020 at 4:00 PM Arsène Gschwind wrote: > > On Wed, 2020-07-15 at 15:42 +0300, Nir Soffer wrote: > > On Wed, Jul 15, 2020 at 3:12 PM Arsène Gschwind > > < > > arsene.gschw...@unibas.ch > > > wrote: > > > Hi Nir, > > > I've followed your guide, please find attached the informations.

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Arsène Gschwind
On Wed, 2020-07-15 at 15:42 +0300, Nir Soffer wrote: On Wed, Jul 15, 2020 at 3:12 PM Arsène Gschwind < arsene.gschw...@unibas.ch > wrote: Hi Nir, I've followed your guide, please find attached the informations. Thanks a lot for your help. Thanks,

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Nir Soffer
On Wed, Jul 15, 2020 at 3:12 PM Arsène Gschwind wrote: > > Hi Nir, > > I've followed your guide, please find attached the informations. > Thanks a lot for your help. Thanks, looking at the data. Quick look in the pdf show that one qemu-img info command failed: --- lvchange -ay

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-15 Thread Arsène Gschwind
Hi Nir, I've followed your guide, please find attached the informations. Thanks a lot for your help. Arsene On Tue, 2020-07-14 at 23:47 +0300, Nir Soffer wrote: On Tue, Jul 14, 2020 at 7:51 PM Arsène Gschwind < arsene.gschw...@unibas.ch > wrote: On Tue,

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-14 Thread Gianluca Cecchi
On Tue, Jul 14, 2020 at 10:50 PM Nir Soffer wrote: > > > Fixing the metadata is not easy. > > First you have to find the volumes related to this disk. You can find > the disk uuid and storage > domain uuid in engine ui, and then you can find the volumes like this: > > lvs -o vg_name,lv_name,tags

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-14 Thread Nir Soffer
On Tue, Jul 14, 2020 at 7:51 PM Arsène Gschwind wrote: > > On Tue, 2020-07-14 at 19:10 +0300, Nir Soffer wrote: > > On Tue, Jul 14, 2020 at 5:37 PM Arsène Gschwind > > < > > arsene.gschw...@unibas.ch > > > wrote: > > > Hi, > > > I running oVirt 4.3.9 with FC based storage. > > I'm running several

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-14 Thread Arsène Gschwind
On Tue, 2020-07-14 at 16:50 +, Arsène Gschwind wrote: On Tue, 2020-07-14 at 19:10 +0300, Nir Soffer wrote: On Tue, Jul 14, 2020 at 5:37 PM Arsène Gschwind < arsene.gschw...@unibas.ch > wrote: Hi, I running oVirt 4.3.9 with FC based storage. I'm

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-14 Thread Arsène Gschwind
On Tue, 2020-07-14 at 19:10 +0300, Nir Soffer wrote: On Tue, Jul 14, 2020 at 5:37 PM Arsène Gschwind < arsene.gschw...@unibas.ch > wrote: Hi, I running oVirt 4.3.9 with FC based storage. I'm running several VM with 3 disks on 3 different SD. Lately we

[ovirt-users] Re: VM Snapshot inconsistent

2020-07-14 Thread Nir Soffer
On Tue, Jul 14, 2020 at 5:37 PM Arsène Gschwind wrote: > > Hi, > > I running oVirt 4.3.9 with FC based storage. > I'm running several VM with 3 disks on 3 different SD. Lately we did delete a > VM Snapshot and that task failed after a while and since then the Snapshot is > inconsistent. > disk1