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 resolve as:
DELETE FROM snapshots WHERE snapshot_id = v_snapshot_id;
It only acts on the "snapshots" table, and not on the "image" table,
where the parentship between snapshots is still wrong.
How safe is to manually modify "images" table and set correct parentship?
On 20/04/2021 15:56, Shani Leviim wrote:
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 <rchikatw(a)redhat.com
<mailto:rchikatw@redhat.com>> wrote:
adding @Shani Leviim <mailto:sleviim@redhat.com>
On Tue, Apr 20, 2021 at 5:35 PM Thomas Hoberg <thomas(a)hoberg.net
<mailto:thomas@hoberg.net>> 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
<
https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities.h...
_______________________________________________
Users mailing list -- users(a)ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave(a)ovirt.org
<mailto:users-leave@ovirt.org>
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
<
https://www.ovirt.org/privacy-policy.html>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<
https://www.ovirt.org/community/about/community-guidelines/>
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/37K5J2X2OUD...
<
https://lists.ovirt.org/archives/list/users@ovirt.org/message/37K5J2X2OUD...
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/LS3BUPQIVHQ...