tripleo-ansible/tripleo_ansible/playbooks
Oliver Walsh 1d21542f40 Stop relying on future mtime in tripleo_nova_image_cache
The tripleo_nova_image_cache role was relying on a future mtime to convince
nova image cleanup logic to skip a specific image that we want to pre-cache.
This works well on nodes that are not currently hosting an instance of the
image, however if there is an instance using it then nova will reset the mtime
every 40 minutes (by default).

As a result it's not possible to provide fine grained control of the caching.
We can just ensure the image exists on the host with an mtime of now.
It should remain cache for at least remove_unused_original_minimum_age_seconds
from nova.conf (default 86400).

Change-Id: If836759020bcaeb0d3af47f2af7f98ff2150b606
(cherry picked from commit 359ef43f94)
(cherry picked from commit 4757aa3500)
2020-09-02 19:14:06 +01:00
..
group_vars Update project structure 2019-06-05 14:27:22 +00:00
host_vars Update project structure 2019-06-05 14:27:22 +00:00
ceph.yaml Remove tripleo_ceph_fetch_dir role 2020-03-01 16:38:22 -05:00
cli-generate-containerfile.yaml Add role for Container file(s) generation 2020-07-15 17:33:11 -04:00
container-cleanup.yml Update project structure 2019-06-05 14:27:22 +00:00
create-nova-cell-v2.yaml Create tripleo-cellv2 role 2019-08-23 12:11:44 +02:00
docker-vfs-setup.yml Create tripleo container image prepare role 2019-08-13 19:02:07 -05:00
fetch-logs.yml Update project structure 2019-06-05 14:27:22 +00:00
octavia-files.yaml Scan existing controllers on update to pick up existing certs/private keys 2020-08-10 15:45:05 +02:00
overcloud-delete.yaml Add the Apache license to the overcloud-delete playbook 2019-10-10 14:50:31 +01:00
prepare-test-host.yml Enforce testing consistency 2019-07-01 19:48:38 -05:00
restart-service.yml Update project structure 2019-06-05 14:27:22 +00:00
rotate-keys.yaml Use jinja templating when setting facts 2020-04-04 12:23:32 -04:00
swift_ring_rebalance.yaml Import octavia roles and playbooks from tripleo-common 2019-06-13 17:29:13 -05:00
tripleo_nova_image_cache.yml Stop relying on future mtime in tripleo_nova_image_cache 2020-09-02 19:14:06 +01:00
undercloud_backup.yaml Hide passwords better 2020-04-14 12:12:55 +02:00