openstack-ansible-lxc_hosts/releasenotes/notes/fix_lxc_cache_expiration-1656b5758c4ec24e.yaml
Dmitriy Rabotyagov a51291f87d Refactor LXC image expiration
Right now we write output of `date -d @{{ timestamp }} to
the expiry file, and then attempt to comapre with timestamp.
However, output of  `date -d` is datetime and not timestamp,
so these 2 things can not be properly compared. So image cache
was valid forever.

Change-Id: I42f5b43f09d3c530813dd7fd334eafce7a5eaf39
2023-07-20 07:25:46 +00:00

11 lines
368 B
YAML

---
features:
- |
Implemented variable ``lxc_image_cache_expiration`` that controlls for how
long cached LXC image will be valid. Default value is `1year`. Variable
format should be compatible with community.general.to_time_unit filter.
fixes:
- |
LXC image cache expiration mechanism has being fixed. Previously LXC images were
valid forever.