Hi Magnus,
You can find the VM's snapshot by sending a REST API request
http://localhost:8080/ovirt-engine/api/vms/<vm-id>/snapshots/

You can also find the VM's snapshots (and view their parameters) by using SQL:
select * from snapshots where vm_id = '<vm-id>';

You can also delete the relevant snapshot by specifying the snapshot's description:
delete from snapshots where description = '.....';

Regards,
Shani Leviim


On Tue, Aug 18, 2020 at 7:50 PM Magnus Isaksson <magnus@vmar.se> wrote:
Hi Shani

Thanks for the help.

What i can see it does not display any illegal statuses.

I am a bit unsure how to delete it from the DB, how do i find the snapshot_id?

Cheers
 Magnus


From: Shani Leviim <sleviim@redhat.com>
Sent: 17 August 2020 13:45
To: Magnus Isaksson <magnus@vmar.se>
Cc: users <users@ovirt.org>
Subject: Re: [ovirt-users] Help remove snapshot
 
Hi Magnus,
Sounds like you triggered this one https://bugzilla.redhat.com/show_bug.cgi?id=1555116.
The error message you've got was meant to avoid removing a snapshot from a broken chain.

On the Active VM snapshot -> Disks, is there any disk with Illegal status?

Deleting the whole snapshot can be done from the DB:
delete from snapshots where snapshot_id = '.....';

Although it's recommended to understand the root cause for that one.

Can you please share your engine.log?

Regards,
Shani Leviim


On Mon, Aug 17, 2020 at 1:37 PM Magnus Isaksson <magnus@vmar.se> wrote:
Hi!

I would need some help removing a snapshot that looks like this.
How do i remove it manually or fix snapshot definition?
-----------------
Error while executing action:

TUN_SALDC01:
  • The requested snapshot has an invalid parent, either fix the snapshot definition or remove it manually to complete the process.
-----------------
And when i look at the disk on tha tnapshot it show as this:


And general info:

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/5QEBPZPUHDGS52266D4OLVX54CUEWEOB/