Option to prevent dd on compute by deleting lv

Registered by Heiko Krämer

To increase the performance of any instances I've tested in combination with libvirt and kvm some cases. KVM + Block devices seems to be the fastest but I've found a show stopper. Every time if i delete an instance nova will do a dd on the deleted volume and this takes a long time and consume a lot of power.

I've found in the code (https://github.com/openstack/nova/blob/master/nova/virt/libvirt/utils.py#L350) a comment to make this configurable as by cinder volumes (scure delete). This should be done otherwise is lvm on a compute in a production system in my cases not usable.

Cheers
Heiko

Blueprint information

Status:
Complete
Approver:
Russell Bryant
Priority:
Low
Drafter:
None
Direction:
Approved
Assignee:
Russell Bryant
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Russell Bryant
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/lvm-clear-option,n,z

Addressed by: https://review.openstack.org/68507
    Make clearing lvm volumes optional

Patch abandoned. See review for details.

The following patch was merged for this: https://review.openstack.org/#/c/72656/

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.