Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1160795

Summary: [SnapshotOverview] RAM & conf snapshots are not deleted when deleting the last snapshot on the volume chain
Product: Red Hat Enterprise Virtualization Manager Reporter: Ori Gofen <ogofen>
Component: ovirt-engineAssignee: Allon Mureinik <amureini>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: acanan, amureini, derez, ecohen, gklein, iheim, lpeer, lsurette, rbalakri, Rhev-m-bugs, scohen, 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-11-09 09:02:45 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:
Bug Depends On:    
Bug Blocks: 1034885    

Description Ori Gofen 2014-11-05 16:16:00 UTC
Description of problem:
see bz#1145188 for more description.

When executing a live snapshot, vdsm creates a RAM snapshot of our VM along with a configuration image, those images should be wiped out when removing the last (data) snapshot volume that was associated with that snapshot (from snapshot overview).

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

How reproducible:
100%

Steps to Reproduce:
1.have a live snapshot
2.delete the snapshot one by one via snapshot-overview

Actual results:
deleting the last volume that belongs to a live snapshot doesn't prompt RAM & conf snapshots deletion

Expected results:
RAM & conf snapshots are unusable when not having storage, thus, need to be wiped out with the last volume

Additional info:

Comment 1 Daniel Erez 2014-11-09 09:02:45 UTC
VM configuration, memory and disks are all separate components of a snapshot. A snapshot with VM configuration or memory only could still be usable in some use-cases (e.g. taking a snapshot in live-cd mode). 
Hence, I don't think there's a special issue to address here.

@Allon - what do you think?

Comment 2 Allon Mureinik 2014-11-09 09:08:20 UTC
(In reply to Daniel Erez from comment #1)
> VM configuration, memory and disks are all separate components of a
> snapshot. A snapshot with VM configuration or memory only could still be
> usable in some use-cases (e.g. taking a snapshot in live-cd mode). 
> Hence, I don't think there's a special issue to address here.
> 
> @Allon - what do you think?

Indeed, this is not a bug - not only is there merit in keeping this snapshots, you can also /explicitly/ ask to create one.