Bug 1149770

Summary: How to delete/remove BROKEN snapshots
Product: Red Hat Enterprise Virtualization Manager Reporter: gody1 <matjaz.godec>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.1-1CC: amureini, ecohen, gklein, iheim, lpeer, lsurette, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-21 08:23:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log of failed BROKEN snapshot removal ... none

Description gody1 2014-10-06 15:15:50 UTC
Created attachment 944300 [details]
log of failed BROKEN snapshot removal ...

Description of problem:
After overload on SPM node during snapshot deletion few snapshots remained in status BROKEN.
Now we can't delete/remove them.
SPM node load skyrocket when we marked 3 snapshot for deletion.


Version-Release number of selected component (if applicable):
RHEV: 3.4.2

How reproducible:
Every time

Steps to Reproduce:
1. Mark some big snapshot for deletion.
2. Load on SPM node rising to 30+, node unresponsive
3. SPM niode marked as unresponsible in RHEVM
4. SPM node rebooted
5. Snapshot marked as BROKEN.
6. Marking snapshot for deletion returns error: 
Image does not exist in domain: 'image=206e6d62-7973-44d9-a245-59e3f88bde4a, domain=48f2b3b3-646d-4af5-91c0-ab50c8ff8e6d'

Actual results:
Snapshot remains in BROKEN status with above Error.

Expected results:
Snamshot deleted


Additional info:
attached log of snapshot deletion after snapshot is already in BROKEN state.

Comment 3 Allon Mureinik 2014-10-21 08:23:25 UTC
BROKEN snapshot is already removed in 3.5 as part of bug 1056935.
This change is more of a feature than a bug, and backporting it will neither be easy nor risk free. Unfortunately, there isn't a good way to provide this before 3.5 (which is already available as a beta version).

*** This bug has been marked as a duplicate of bug 1056935 ***