Bug 1073448

Summary: [RFE] configurable default for wipe after delete per storage domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Allon Mureinik <amureini>
Component: ovirt-engineAssignee: Idan Shaby <ishaby>
Status: CLOSED ERRATA QA Contact: lkuchlan <lkuchlan>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acanan, amureini, iheim, ishaby, jentrena, lpeer, pdwyer, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon, ylavi
Target Milestone: ovirt-3.6.0-rcKeywords: FutureFeature
Target Release: 3.6.0Flags: scohen: needinfo+
sherold: Triaged+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1161219 1185845 (view as bug list) Environment:
Last Closed: 2016-03-09 20:43:56 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: 1185845    
Bug Blocks: 1161219, 1250784    

Description Allon Mureinik 2014-03-06 13:08:43 UTC
Description of problem:
The default for wipe after delete is currently flase (although it's configurable for block domains via setting the SANWipeAfterDelete config value). It would be useful to allow the user to customize the default, probably per domain.

Comment 9 Yaniv Lavi 2015-04-02 12:51:59 UTC
How should this be tested?

Comment 10 Allon Mureinik 2015-04-02 15:02:10 UTC
(In reply to Yaniv Dary from comment #9)
> How should this be tested?
Create a block domain.
Set the default via the GUI, and observe that newly created disks get this default.

Comment 11 Idan Shaby 2015-04-06 08:52:28 UTC
(In reply to Yaniv Dary from comment #9)
> How should this be tested?
You can also do that using the REST API.

Comment 12 Idan Shaby 2015-04-06 14:02:49 UTC
To clarify:
Add a new storage domain using a POST request with the boolean property <wipe_after_delete>.

After the storage domain is created, run a POST request to add a new disk on this storage domain (without including the <wipe_after_delete> property) and observe that wipe after delete of the created disk is the same as its storage domain's default.

Comment 13 lkuchlan 2015-04-19 11:15:00 UTC
using tested ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764 vdsm-4.17.0-632.git19a83a2.el7.x86_64

Comment 15 Tal Nisan 2016-01-04 15:53:49 UTC
Idan, please add doc text

Comment 16 Idan Shaby 2016-01-05 09:08:18 UTC
Tal, this was already taken care of in Bug 1250784.

Comment 18 errata-xmlrpc 2016-03-09 20:43:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0376.html