nova/releasenotes/notes/xentool-destory-cached-image-c9d39a733002ca7d.yaml
naichuans 693ace79fb xenapi: cached images should be cleaned up by time
For xenapi driver, there needs to be some way to delete cached
images based on when they were created. add an optional arg to
control delete operation.

Change-Id: I24fc45e989aa951aab55a261fce77f7e3667d988
Closes-bug: 1481689
2017-10-23 16:29:16 +00:00

9 lines
386 B
YAML

---
fixes:
- |
For the XenAPI driver, in order to delete cached images based on when they
were created, a new ``--keep-days DAYS`` option is added to the
``destroy_cached_images`` script to delete cached images which were created
at least ``DAYS`` days ago. By default, all unused cached images will be
deleted when the script is run if they have ``cached_time``.