]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow for eradicating Pure volumes on Cinder delete
authorPatrick East <patrick.east@purestorage.com>
Tue, 2 Feb 2016 19:08:39 +0000 (11:08 -0800)
committerPatrick East <patrick.east@purestorage.com>
Thu, 4 Feb 2016 23:35:52 +0000 (15:35 -0800)
commitb85caca74a90a9b9215c9c8a4a6b868f8f300952
treed58ea952c035a4abf5b7187dea6a2b352a049073
parent4cfed22bf8494fe54df49f6c11a0ee3f94625864
Allow for eradicating Pure volumes on Cinder delete

This change adds in a config option which, when enabled, will cause
the Pure Storage volume drivers to eradicate volumes, snapshots, and
protection groups on delete for their Cinder counterpart.

With this config enabled an admin will NOT be able to recover data once
objects are deleted. By default the new config option is disabled and
volumes, snapshots, and protection group snapshots will be retained
pending eradication where they can be recovered for a period of time.

DocImpact
Closes-Bug: #1537187

Change-Id: Ib3656bb64e5104f6bd05d28535cf91a46a038b55
cinder/tests/unit/test_pure.py
cinder/volume/drivers/pure.py
releasenotes/notes/pure-eradicate-on-delete-1e15e1440d5cd4d6.yaml [new file with mode: 0644]