← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1481689] Re: xenapi: cached images should be cleaned up by time

 

** Also affects: os-xenapi
   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/1481689

Title:
  xenapi: cached images should be cleaned up by time

Status in OpenStack Compute (nova):
  Confirmed
Status in os-xenapi:
  New

Bug description:
  For xenapi driver, there needs to be some way to delete cached images
  based on when they were created.

  Here is a use case:

  Operators often change images frequently for updates etc, if an image has cache_in_nova flag set, xapi will cache it in the SR.
  However, the cleanup method, can only handle cleanup of cache that are not used (which is fair enough) but a lot of the times we don't want to clean new images even when they are not used, so there needs to be a way to delete image based on when they were cached.

  One approach, for example, could be that we set created timestamp on
  the image, and be able to delete images depending on when they were
  cached etc.

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


References