Bug 1047421

Summary: [RFE][nova]: Option to prevent dd on compute by deleting lv
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Ami Jeain <ajeain>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, ndipanov, sgordon, yeylon
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged, Upstream
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/lvm-clear-option
Whiteboard: upstream_milestone_icehouse-3 upstream_status_implemented upstream_definition_approved
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-28 19:38:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2013-12-31 05:01:14 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/lvm-clear-option.

Description:

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


Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-28 19:38:30 UTC

*** This bug has been marked as a duplicate of bug 1057371 ***