← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1285257] [NEW] glance-cache-pruner does not account incomplete dir when checking for cache size to prune

 

Public bug reported:

Proxy on behalf of Sulochan Acharya ( sulochan.acharya@xxxxxxxxxxxxxxx
):-

Taking in to account incomplete dir when the pruner is run will create a case where if we delete old images taking the new incomplete image in account, and the new incomplete image fails, then we basically (wastefully ?) deleted cached image for something that failed. This is not really good. But if the image goes though then we will end up deleting those cache anyway, so i guess it a give and take scenario. And we gain by deleting taking incomplete into account, so that the disk does not get full. 
Any thoughts ?

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1285257

Title:
  glance-cache-pruner does not account incomplete dir when checking for
  cache size to prune

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Proxy on behalf of Sulochan Acharya ( sulochan.acharya@xxxxxxxxxxxxxxx
  ):-

  Taking in to account incomplete dir when the pruner is run will create a case where if we delete old images taking the new incomplete image in account, and the new incomplete image fails, then we basically (wastefully ?) deleted cached image for something that failed. This is not really good. But if the image goes though then we will end up deleting those cache anyway, so i guess it a give and take scenario. And we gain by deleting taking incomplete into account, so that the disk does not get full. 
  Any thoughts ?

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


Follow ups

References