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

Bug 1113018

Summary: Custom preview with unselected disks and commit, will cause that the unselected disks will be removed only from DB
Product: [Retired] oVirt Reporter: Raz Tamir <ratamir>
Component: ovirt-engine-coreAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: amureini, bugs, gklein, iheim, rbalakri, 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-17 12:21:11 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
vdsm and engine logs none

Description Raz Tamir 2014-06-25 09:36:08 UTC
Created attachment 912002 [details]
vdsm and engine logs

Description of problem:
After reproducing the flow from this bug https://bugzilla.redhat.com/show_bug.cgi?id=1111983, we face a situation that the disk is removed from the DB but the data is still exist.
Checking the volumes (in case of block device) will show that the data is still there.

Version-Release number of selected component (if applicable):
ovirt-engine-3.5.0-0.0.master.20140605145557.git3ddd2de.el6.noarch


How reproducible:
100%

Steps to Reproduce:
1. follow the step to reproduce in bug 1111983
2.
3.

Actual results:
After checking the relevant storage (lvs for example in block device),
the volumes that should have been deleted were not deleted


Expected results:
In case the disk is deleted from the DB, the relevant storage device should be delete too

Additional info:

Comment 1 Daniel Erez 2014-08-11 16:19:24 UTC
When removing orphaned disks on snapshot commit, the disks are being removed asynchronously (i.e. first removed from the DB, then in the background, removed from the storage). After discussing with Raz, moving to ON_QA for re-verification.

Comment 2 Raz Tamir 2014-08-12 07:04:36 UTC
Verified - ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch

Comment 3 Sandro Bonazzola 2014-10-17 12:21:11 UTC
oVirt 3.5 has been released and should include the fix for this issue.