[openstack-dev] [Nova] Should Nova delete the implicit volume and volume snapshot it creates?

Ganesan, Nithya nithya.ganesan at hp.com
Tue Mar 3 14:00:17 UTC 2015


I have a question regarding the implicit volume resources that created by Nova during persistent 
VM's snapshot creation. Here is a sample scenario that leaves a set of volume resources as residue,

1. Create a bootable volume, bv_1 
2. Create an instance vm_1, from the bootable volume bv_1
3. Create an image snapshot of vm_1, vm_1_img. This implicitly creates a volume snapshot of 
bv_1, bv_1_vsnap. 
4. Create an instance vm_2 from vm_1_img. This implicitly creates a bootable volume from volume 
snapshot, bv_1_vsnap, boot_vol2
5. Delete vm_1, vm_2, vm_1_img. Now try to delete bv_1. This would fail as there is a dependent
 volume snapshot.

Shouldn't Nova should do cleanup of these resources that are created implicitly? 


More information about the OpenStack-dev mailing list