Bug 1211630

Summary: Snapshot filling up storage domain after Live Storage Migration
Product: Red Hat Enterprise Virtualization Manager Reporter: Robert McSwain <rmcswain>
Component: ovirt-engineAssignee: Adam Litke <alitke>
Status: CLOSED DUPLICATE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.5.0CC: acanan, alitke, amureini, ecohen, gklein, lpeer, lsurette, rbalakri, Rhev-m-bugs, tnisan, yeylon
Target Milestone: ovirt-3.6.3   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-15 13:43:16 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:

Description Robert McSwain 2015-04-14 13:17:45 UTC
Description of problem:
I did a live storage migration, and then I deleted the snapshot that was created during the migration, but the current snapshot shows that the actual size of the disk for the vm is 4 to 5 times the virtual size and it filled up all the space in the storage domain.

I deleted the snapshot, while the vm was up (since I am using rhel 7.1 hosts as hypervisors), and the LSM snapshot was the only snapshot that had been taken, and I deleted it right after it was finished migrating, but within an hour or so I noticed that the SD was filled up and checked the size of the disk in the snapshot and noticed it had just kept growing.  I did this on another vm and I had the same issue, it only was 10GB bigger than the disk size but same scenario, only had the LSM snapshot and deleted right after the LSM was finished.


In looking up the disk in the Disks tab to get the disk_id, and looking at the lvm tags on the hypervisor to see which volumes belong to those disks, what I presume is that the snapshot was deleted from the disk and the snapshot that was created on LSM. 

In this case :

Virtual Size = 30GB >> Space allocated to the disk during disk_creation.
Actual Size = 165GB >> Space increased eventually in the VM_lifetime due to snapshots.



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

How reproducible:
Unknown outside of the above steps

Actual results:
The LSM snapshot continues to grow 

Expected results:
The LSM snapshot is removed and doesn't take up space in the storage domain

Additional info:
Log collector being provided in comments

Comment 3 Adam Litke 2015-04-15 13:43:16 UTC

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