nova does not clean-up the second ephemeral disk when deleting an instance

Bug #1602193 reported by Nolwenn Cauchois on 2016-07-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Nolwenn Cauchois

Bug Description


A second ephemeral disk to be considered as an image, then the backing file is not deleted when it is anymore not used.
After some instance create/delete period, the hypervisor local storage capacities are reduced ... and will decrease and decrease.

Actual result on mitaka :

- boot an instance with a flavor with an ephemeral disk
- on the hypervisor, two backing files were created in $instances_path/_base. One for the image and an other one for the ephemeral disk
- delete of the previous instance
- if remove_unused_base_images = True, then after a while the backing file for image is deleted (if it's not used by another instance), but not the backing file for ephemeral disk

Expected result :

If it's not used by another instance, the backing file for ephemeral disk must be also deleted.

description: updated
description: updated

Fix proposed to branch: master

Changed in nova:
assignee: nobody → Nolwenn Cauchois (nolwenn)
status: New → In Progress

Change abandoned by Michael Still (<email address hidden>) on branch: master
Reason: This patch has been sitting unchanged for more than 12 weeks. I am therefore going to abandon it to keep the nova review queue sane. Please feel free to restore the change if you're still working on it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers