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

Bug 1415491

Summary: Disk sparsify should be blocked when wipe after delete is on and the block storage domain does not support the property that discard zeroes the data
Product: [oVirt] ovirt-engine Reporter: Idan Shaby <ishaby>
Component: BLL.VirtAssignee: Idan Shaby <ishaby>
Status: CLOSED UPSTREAM QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: futureCC: amureini, bugs, ishaby, ratamir, smelamud, tnisan
Target Milestone: ovirt-4.1.0-betaFlags: rule-engine: ovirt-4.1+
Target Release: 4.1.0.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-22 09:24:59 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 Idan Shaby 2017-01-22 15:31:40 UTC
Description of problem:
Sparsifying a disk with enabled wipe after delete on block storage domain when the domain does not support the property that discard zeroes the data causes unwiped data to be discarded, and therefore should be blocked.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a block storage domain on an underlying storage that does not support the property that discard zeroes the data (see [1] for more info).
2. Create a vm.
3. Create a disk for the vm on that storage domain.
4. Try to sparsify this disk.

Actual results:
works

Expected results:
Should not work.

Additional info:
[1] http://www.ovirt.org/develop/release-management/features/storage/pass-discard-from-guest-to-underlying-storage/#wipe-after-delete-and-pass-discard