← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1602193] [NEW] nova does not clean-up the second ephemeral disk when deleting an instance

 

Public bug reported:

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 /var/lib/nova/instances/_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 

Excepted result

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1602193

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

Status in OpenStack Compute (nova):
  New

Bug description:
  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 /var/lib/nova/instances/_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 

  Excepted result

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1602193/+subscriptions