commit 64878632a0602879a59e4166232ef389cd6d0a60
Author: Eric Harney <email address hidden>
Date: Tue Oct 29 16:39:45 2013 -0400
Clear correct device when deleting a ThinLVM snap
The LVM driver tries to wipe a device using dd when
a snapshot is deleted. For ThinLVM, it is attempting
to wipe the /dev/mapper/cinder--volumes-<vol>-cow device,
which does not exist for ThinLVM. This causes snapshot
deletion to fail for ThinLVM if volume clearing is on.
When using ThinLVM, only wipe the LV device rather than
attempting to wipe the -cow device.
This bug is only present in stable/grizzly (2013.1.4).
It does not exist in stable/havana or master due to these
changes:
f702fe7 Fix secure delete for thick LVM snapshots
de43923 Don't zero out thin provisioned LV's on delete
Reviewed: https:/ /review. openstack. org/54435 github. com/openstack/ cinder/ commit/ 64878632a060287 9a59e4166232ef3 89cd6d0a60
Committed: http://
Submitter: Jenkins
Branch: stable/grizzly
commit 64878632a060287 9a59e4166232ef3 89cd6d0a60
Author: Eric Harney <email address hidden>
Date: Tue Oct 29 16:39:45 2013 -0400
Clear correct device when deleting a ThinLVM snap
The LVM driver tries to wipe a device using dd when cinder- -volumes- <vol>-cow device,
a snapshot is deleted. For ThinLVM, it is attempting
to wipe the /dev/mapper/
which does not exist for ThinLVM. This causes snapshot
deletion to fail for ThinLVM if volume clearing is on.
When using ThinLVM, only wipe the LV device rather than
attempting to wipe the -cow device.
This bug is only present in stable/grizzly (2013.1.4).
It does not exist in stable/havana or master due to these
changes:
f702fe7 Fix secure delete for thick LVM snapshots
de43923 Don't zero out thin provisioned LV's on delete
Closes-Bug: #1245529 9b8947fbe0697a1 c765c8251ba
Change-Id: I1d8dd618e51cc9