[ovirt-users] Re: Help remove snapshot

2020-08-20 Thread Magnus Isaksson
Thank you for all help, that did the trick.

Cheers
 Magnus

From: Eli Mesika 
Sent: 19 August 2020 19:37
To: Shani Leviim 
Cc: Magnus Isaksson ; users 
Subject: Re: [ovirt-users] Re: Help remove snapshot



On Mon, Aug 17, 2020 at 2:48 PM Shani Leviim 
mailto:slev...@redhat.com>> wrote:
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 = '.';

please avoid deleting stuff from DB directly ,  you should use teh right SP for 
doing the job since in many time database consistency is handled by the SP code 
and doing it directly will leave inconsistent data which may cause problems

on this case you should use :

SELECT DeleteSnapshot(<'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 
mailto:mag...@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:
[cid:173fc1ab77ba1f1f0b11]

And general info:
[cid:173fc1ab77ca20008322]
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@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/
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@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/QRNHSLEZXM27GABD43IJ7DHUYZ4EJJIY/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/ERZAEEPYKGLU3QRUDSKVXZ26GF22U4WM/


[ovirt-users] Re: Help remove snapshot

2020-08-19 Thread Eli Mesika
On Mon, Aug 17, 2020 at 2:48 PM Shani Leviim  wrote:

> 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 = '.';*
>
>
> *please avoid deleting stuff from DB directly ,  you should use teh right
> SP for doing the job since in many time database consistency is handled by
> the SP code and doing it directly will leave inconsistent data which may
> cause problems *
>
>
> *on this case you should use :*
>
> *SELECT DeleteSnapshot(<'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  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-le...@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/
>>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/QRNHSLEZXM27GABD43IJ7DHUYZ4EJJIY/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/DI5RLNOLXBP3574ORE7HBK3NWQYVY46Y/


[ovirt-users] Re: Help remove snapshot

2020-08-17 Thread Shani Leviim
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  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-le...@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/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/QRNHSLEZXM27GABD43IJ7DHUYZ4EJJIY/