image cache clean-up should also remove unused ephemeral backing files

Bug #1253991 reported by Phil Day
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
jichenjc

Bug Description

Currently ephermeral backing files are never removed from the system. However changes to flavor defintions and supported os_types may make them obsolete.

The image clean-up code should recognise at least obsolete unused files (i.e size doesn't match any flavor, os_type doesn't match a defined mkfs command, not used by any instance) and remove them.

It woudl be nice if it also had an option to remove files that are not obsolete but are unused after some period.

Tags: libvirt
Michael Still (mikal)
tags: added: libvirt
Changed in nova:
status: New → Triaged
importance: Undecided → Medium
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichencom (jichenjc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/68944

Changed in nova:
status: Triaged → In Progress
Revision history for this message
Sean Dague (sdague) wrote :

patch is still barely active (last updated 30 days ago with a bunch of -1s)

Revision history for this message
jichenjc (jichenjc) wrote :

https://review.openstack.org/68944 was merged but due to a typo on commit message
the bug system didn't detect it ,sorry about that

Partial-Bug: 1253991a

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

looks like the patch merged

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-3 → 12.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/641093

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.