[ovirt-users] Re: Cannot delete snapshot

2021-04-27 Thread Giulio Casella
Thanks Shani, this did the trick. I managed to tweak the database and then correctly remove the snapshot. In the meanwhile, in bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1948599, this has been confirmed as a bug. Regards, Giulio Casella On 22/04/2021 14:31, Shani Leviim wrote: > Since

[ovirt-users] Re: Cannot delete snapshot

2021-04-22 Thread Shani Leviim
Since 6180c2e8-141a-4126-bcb1-5af5caa98175 doesn't exist on the VDSM, it should be removed from the DB, and since it's the parent id for image e77e2773-eecb-46a6-87c7-14df14f7d95b, it also should be changed. Something like this: UPDATE images set parentid = '19fa612d-2f93-46a5-93e7-c74afc2937fa'

[ovirt-users] Re: Cannot delete snapshot

2021-04-22 Thread Giulio Casella
On 22/04/2021 13:20, Shani Leviim wrote: > Hi, > You can use the DeleteImage tool [1], but it's first recommended to > backup your engine. > > To be on the safe side, here are some checks it's better to execute > before deleting: > - In order to locate the illegal image, you can run this

[ovirt-users] Re: Cannot delete snapshot

2021-04-22 Thread Shani Leviim
Hi, You can use the DeleteImage tool [1], but it's first recommended to backup your engine. To be on the safe side, here are some checks it's better to execute before deleting: - In order to locate the illegal image, you can run this command on the host: vdsm-tool dump-volume-chains - It's also

[ovirt-users] Re: Cannot delete snapshot

2021-04-21 Thread Giulio Casella
I tried, with no luck. Giving "disk snapshot id" as a parameter to that psql procedure nothing happened. Giving the "vm_snapshot_id" as found in the "images" table made the snapshot disappear from the gui, but not from the "images" table. SO I decided to look into DeleteSnapshot procedure, that

[ovirt-users] Re: Cannot delete snapshot

2021-04-20 Thread Shani Leviim
Thanks, Ritesh. In order to delete that snapshot, run this command on psql: SELECT DeleteSnapshot('snapshot-id'); *Regards,* *Shani Leviim* On Tue, Apr 20, 2021 at 3:25 PM Ritesh Chikatwar wrote: > adding @Shani Leviim > > On Tue, Apr 20, 2021 at 5:35 PM Thomas Hoberg wrote: > >> I have

[ovirt-users] Re: Cannot delete snapshot

2021-04-20 Thread Ritesh Chikatwar
adding @Shani Leviim On Tue, Apr 20, 2021 at 5:35 PM Thomas Hoberg wrote: > I have used these tools to get rid of snapshots that wouldn't go away any > other way: > > https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities.html > ___

[ovirt-users] Re: Cannot delete snapshot

2021-04-20 Thread Thomas Hoberg
I have used these tools to get rid of snapshots that wouldn't go away any other way: https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities.html ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to

[ovirt-users] Re: Cannot delete snapshot

2021-04-20 Thread Giulio Casella
Hi Nir, in bugzilla I see it could be a bug, so I'm waiting for software update to fix it. In the meanwhile is there some fix I can do on the database? The VM is working fine, but I cannot operate with snapshots, and my backup is stuck... TIA, Giulio Casella On 12/04/2021 16:54, Giulio Casella

[ovirt-users] Re: Cannot delete snapshot

2021-04-12 Thread Giulio Casella
Hi, a colleague has submitted a bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1948599 Regards, Giulio Casella On 12/04/2021 14:33, Nir Soffer wrote: > On Mon, Apr 12, 2021 at 11:19 AM Giulio Casella wrote: >> >> Hi, >> I'm having (another) issue working with snapshots. >> >> Since a

[ovirt-users] Re: Cannot delete snapshot

2021-04-12 Thread Nir Soffer
On Mon, Apr 12, 2021 at 11:19 AM Giulio Casella wrote: > > Hi, > I'm having (another) issue working with snapshots. > > Since a few days my backup system (storware vprotect) cannot delete a > snapshot. Message reported by SPM is: > > HSMGetAllTasksStatusesVDS failed: value=Volume does not exist: